[Bug 650354] New: Sun Java does not work, update-alternatives gives eof
https://bugzilla.novell.com/show_bug.cgi?id=650354 https://bugzilla.novell.com/show_bug.cgi?id=650354#c0 Summary: Sun Java does not work, update-alternatives gives eof Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: i586 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Java AssignedTo: bnc-team-java@forge.provo.novell.com ReportedBy: hamaryns@googlemail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; nl; rv:1.9.2.12) Gecko/20101026 SUSE/3.6.12-1.1 Firefox/3.6.12 I recently noticed some problems with java-1_6_0-sun: With only sun java is installed: # update-alternatives --config java update-alternatives: internal error: /var/lib/rpm/alternatives/java corrupt: priority /usr/lib/jvm/jre-1.6.0-sun /usr/share/man/man1/policytool-java-1_6_0-sun.1.gz and # java If 'java' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf java Installing openjdk along, I get # java -version java version "1.6.0_20" OpenJDK Runtime Environment (IcedTea6 1.9.1) (suse-67.1-i386) OpenJDK Server VM (build 17.0-b16, mixed mode) With only java-1_6_0-openjdk installed, no sun, I get the following: # update-alternatives --config java update-alternatives: error or eof reading /var/lib/rpm/alternatives/java for spath () (This message also appeared during removal of java-1_6_0-openjdk.) update-alternatives --version SUSE update-alternatives version 1.14. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=650354
https://bugzilla.novell.com/show_bug.cgi?id=650354#c1
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=650354
https://bugzilla.novell.com/show_bug.cgi?id=650354#c2
--- Comment #2 from Hendrik Maryns
https://bugzilla.novell.com/show_bug.cgi?id=650354
https://bugzilla.novell.com/show_bug.cgi?id=650354#c3
--- Comment #3 from Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=650354
https://bugzilla.novell.com/show_bug.cgi?id=650354#c4
Hendrik Maryns
https://bugzilla.novell.com/show_bug.cgi?id=650354
https://bugzilla.novell.com/show_bug.cgi?id=650354#c5
Karsten Vieth
https://bugzilla.novell.com/show_bug.cgi?id=650354
https://bugzilla.novell.com/show_bug.cgi?id=650354#c
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=650354
https://bugzilla.novell.com/show_bug.cgi?id=650354#c6
Michal Vyskocil
participants (1)
-
bugzilla_noreply@novell.com