https://bugzilla.novell.com/show_bug.cgi?id=666463 https://bugzilla.novell.com/show_bug.cgi?id=666463#c0 Summary: update-alternatives: internal error: /var/lib/rpm/alternatives/java corrupt Classification: openSUSE Product: openSUSE 11.3 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: jw@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- I had both java-1_6_0-openjdk-1.6.0.0_b20.1.9.2-0.2.1.i586 and java-1_6_0-sun-1.6.0.u23-0.2.1.i586 installed in my system. /usr/bin/java -> /etc/alternatives/java -> /usr/lib/jvm/jre-1.6.0-openjdk/bin/java rpm -e java-1_6_0-openjdk prints the following warning-error: warning: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/fontconfig.SuSE.properties saved as /usr/lib/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/fontconfig.SuSE.properties.rpmsave 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 /etc/alternatives/java is unchanged, although the link target no longer exists. This leaves me with a ruined java installation. I have the following list of packages that depend on sun-1_6_0-java, so I cannot attempt by remove and re-install: error: Failed dependencies: jre >= 1.5.0 is needed by (installed) jarnal-9.23-25.1.noarch jre >= 1.6 is needed by (installed) OpenOffice_org-LanguageTool-1.0.0-5.1.noarch java >= 1.6 is needed by (installed) jxgrabkey-0.3.2-1.1.i586 java >= 1.4 is needed by (installed) batik-1.7-201.2.noarch jre-32 > 1.5 is needed by (installed) OpenOffice_org-writer-extensions-3.2.1.4-1.5.i586 jre-32 > 1.5 is needed by (installed) OpenOffice_org-calc-extensions-3.2.1.4-1.5.i586 jre-32 > 1.5 is needed by (installed) OpenOffice_org-base-3.2.1.4-1.6.i586 java-1_6_0-sun is needed by (installed) sikuli-0.10.2-8.1.i586 -- 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.