package sun-java6-bin 6-16-0ubuntu1.9.04 failed to install/upgrade/uninstall
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sun-java6 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I've try to install sun-java6 from the command line : "sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-plugins" then it asked me to accept the term of licence but at the end of the instalation it failed. For this time, I can't install sun-java6-bin correctly and I can't uninstall nether...
If there's a solution to at least uninstall it properly...
ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: le sous-processus post-installation script a retourné une erreur de sortie d'état 2
Package: sun-java6-bin 6-16-0ubuntu1.9.04
SourcePackage: sun-java6
Title: package sun-java6-bin 6-16-0ubuntu1.9.04 failed to install/upgrade: le sous-processus post-installation script a retourné une erreur de sortie d'état 2
Uname: Linux 2.6.28-18-generic i686
The same problem appears with sun-java5. There's a probleme with this file that's empty : /var/lib/ dpkg/alternativ es/java
So commands for update-alternatives doesn't give a good result :
$ update-alternatives --list java alternatives: erreur ou fin de fichier lors de la lecture de /var/lib/ dpkg/alternativ es/java pour update_mode ()
> update-
The command : man/man1/ java.1. gz
$ whereis java
java: /usr/bin/java /etc/java /usr/share/java /usr/share/
$ ls -l /usr/bin/java es/java
lrwxrwxrwx 1 root root 22 2010-01-22 18:50 /usr/bin/java -> /etc/alternativ
$ ls -l /etc/alternativ es/java es/java -> /usr/lib/ jvm/java- 6-openjdk/ jre/bin/ java
lrwxrwxrwx 1 root root 40 2010-01-22 18:50 /etc/alternativ
I've looked to Hardy's file /var/lib/ dpkg/alternativ es/java which is not empty at all...
Gone make a try to fill the Jaunty's file...