[Bug 519986] Re: package sun-java6-bin 6-16-0ubuntu1.9.04 failed to install/upgrade/uninstall
The same problem appears with sun-java5. There's a probleme with this file that's empty : /var/lib/dpkg/alternatives/java So commands for update-alternatives doesn't give a good result : $ update-alternatives --list java update-alternatives: erreur ou fin de fichier lors de la lecture de /var/lib/dpkg/alternatives/java pour update_mode () The command : $ whereis java java: /usr/bin/java /etc/java /usr/share/java /usr/share/man/man1/java.1.gz $ ls -l /usr/bin/java lrwxrwxrwx 1 root root 22 2010-01-22 18:50 /usr/bin/java - /etc/alternatives/java $ ls -l /etc/alternatives/java lrwxrwxrwx 1 root root 40 2010-01-22 18:50 /etc/alternatives/java - /usr/lib/jvm/java-6-openjdk/jre/bin/java I've looked to Hardy's file /var/lib/dpkg/alternatives/java which is not empty at all... Gone make a try to fill the Jaunty's file... ** Attachment added: the content of hardy's /var/lib/dpkg/alternative/java file http://launchpadlibrarian.net/39849122/java -- package sun-java6-bin 6-16-0ubuntu1.9.04 failed to install/upgrade/uninstall https://bugs.launchpad.net/bugs/519986 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 519986] Re: package sun-java6-bin 6-16-0ubuntu1.9.04 failed to install/upgrade/uninstall
All this files were created but empty : /var/lib/dpkg/alternatives/java /var/lib/dpkg/alternatives/keytool /var/lib/dpkg/alternatives/pack200 /var/lib/dpkg/alternatives/rmid /var/lib/dpkg/alternatives/rmiregistry /var/lib/dpkg/alternatives/unpack200 /var/lib/dpkg/alternatives/orbd /var/lib/dpkg/alternatives/servertool /var/lib/dpkg/alternatives/tnameserv /var/lib/dpkg/alternatives/jexec So I've copy and adjust content from a Hardy installation... Now I've been able to remove completely sun-java5-bin and sun-java6-bin I don't know why this have been this way... Now config tools work : $ update-alternatives --list java /usr/lib/jvm/java-6-openjdk/jre/bin/java -- package sun-java6-bin 6-16-0ubuntu1.9.04 failed to install/upgrade/uninstall https://bugs.launchpad.net/bugs/519986 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 519986] Re: package sun-java6-bin 6-16-0ubuntu1.9.04 failed to install/upgrade/uninstall
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/39020656/Dependencies.txt ** Attachment added: DpkgTerminalLog.txt http://launchpadlibrarian.net/39020657/DpkgTerminalLog.txt -- package sun-java6-bin 6-16-0ubuntu1.9.04 failed to install/upgrade/uninstall https://bugs.launchpad.net/bugs/519986 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs