https://bugzilla.novell.com/show_bug.cgi?id=680481 https://bugzilla.novell.com/show_bug.cgi?id=680481#c0 Summary: Bad update of Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Java AssignedTo: bnc-team-java@forge.provo.novell.com ReportedBy: rkrell@gmx.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b12) Gecko/20110222 Firefox/4.0b12 I made a distribution upgrade from openSUSE 11.3 to 11.4 with java-1_6_0-openjdk installed. After that, update-alternative fails each time configuring java: rkrell:/usr/lib64/firebird # update-alternatives --all .. update-alternatives: internal error: /var/lib/rpm/alternatives/java corrupt: priority /usr/lib64/jvm/jre-1.5.0-gcj This seemed to be a problem after the distribution upgrade from 11.3 to 11.4, because the java-1_6_0-openjdk package from 11.4 OSS creates the file /var/lib/rpm/alternatives/java dynamically by merging something new and something old, which didn't led to the right result. After deleting /var/lib/rpm/alternatives/java and reinstalling java-1_6_0-openjdk the file had the right contents and update-alternative run fine. This cause also several other packages not to be customized correctly, which rely on update-alternatives, like firebird, because update-alternatives did not continue after the failed configuring step. The package should rather cleanup old contents in /var/lib/rpm/alternatives/java than merging them with the new contents. Reproducible: Always -- 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.