Bugzilla – Bug 669716
update-alternatives corrupt
Last modified: 2011-02-21 08:44:06 UTC
during installing the java-1_6_0-openjdk update I get: Installation von: java-1_6_0-openjdk-1.6.0.0_b20.1.9.5-1.2.1 [fertig] Zusätzliche rpm-Ausgabe: update-alternatives: internal error: /var/lib/rpm/alternatives/java corrupt: priority /usr/lib64/jvm/jre-1.6.0-sun /usr/share/man/man1/policytool-java-1_6_0-sun.1.gz
Created attachment 412389 [details] varlibrpmalternatives-java file
Seems like my fix for bnc#648260 left alternatives file broken in some scenarios. The problem is the number of slaves and slave links in file does not match, so some lines are wrongly recognized.
The problem is there are 4 empty lines behind /usr/lib/jvm/jre-1.6.0-sun/bin/java - the pack/unpack removal code should run after update-alternatives --install, not before. I prepared a fix in home:mvyskocil:branches:OBS_Maintained:update-alternatives - maintenance, can I get a SWAMPID for 11.2 and 11.3? Thanks.
critical enough. will it unbreak existing breakage too? +1
Yes, it will fix the broken /var/lib/rpm/alternatives/java - and on next openjdk maintenance update I'll add the workaround call to %post for sure.
*** Bug 650354 has been marked as a duplicate of this bug. ***
*** Bug 666463 has been marked as a duplicate of this bug. ***
Maintenance - ping! The openjdk update was released yesterday - bnc#671714, so this update should be released first!
The SWAMPID for this issue is 38717. This issue was rated as critical. Please submit fixed packages until 2011-02-18. Also create a patchinfo file using this link: https://swamp.suse.de/webswamp/wf/38717
please go ahead
The SWAMPID for this issue is 38718. This issue was rated as important. Please submit fixed packages until 2011-02-23. When done, please reassign the bug to security-team@suse.de. Patchinfo will be handled by security team.
Marcus, which one from those SWAMPIDs should be used?
https://swamp.suse.de/webswamp/wf/38717
11.2: 61613, 11.3: 61613 and factory 61618 patchinfo already submitted
Update released for: update-alternatives Products: openSUSE 11.2 (i586) openSUSE 11.3 (i586)