package sun-java5-demo 1.5.0-15-0ubuntu1 failed to install/upgrade:
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sun-java5 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
After upgrading to 8.04 from 7.10, both sun-java5-jdk and sun-java6-jdk broken. When I tried to apt-get uninstall any of them, I got prompted the other one is broken so the uninstallation was failed.
-------
Preconfiguring packages ...
(Reading database ... 198961 files and directories currently installed.)
Preparing to replace sun-java5-jdk 1.5.0-13-0ubuntu1 (using .../sun-
update-
dpkg: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
update-
dpkg: error processing /var/cache/
subprocess new pre-removal script returned error exit status 2
Preparing to replace sun-java6-jdk 6-03-0ubuntu2 (using .../sun-
update-
dpkg: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
update-
dpkg: error processing /var/cache/
subprocess new pre-removal script returned error exit status 2
Errors were encountered while processing:
/var/cache/
/var/cache/
dpkg: dependency problems prevent configuration of sun-java5-demo:
sun-java5-demo depends on sun-java5-jdk (= 1.5.0-15-0ubuntu1); however:
Version of sun-java5-jdk on system is 1.5.0-13-0ubuntu1.
dpkg: error processing sun-java5-demo (--configure):
dependency problems - leaving unconfigured
dpkg: error processing sun-java5-jdk (--configure):
package sun-java5-jdk is already installed and configured
dpkg: error processing sun-java6-jdk (--configure):
package sun-java6-jdk is already installed and configured
Setting up sun-java5-jre (1.5.0-15-0ubuntu1) ...
Setting up sun-java6-jre (6-06-0ubuntu1) ...
Setting up sun-java6-bin (6-06-0ubuntu1) ...
Setting up sun-java5-bin (1.5.0-15-0ubuntu1) ...
Errors were encountered while processing:
sun-java5-demo
sun-java5-jdk
sun-java6-jdk
Traceback (most recent call last):
File "/usr/lib/
self.flush()
File "/usr/lib/
self.
IOError: [Errno 9] Bad file descriptor
Traceback (most recent call last):
File "/usr/lib/
self.flush()
File "/usr/lib/
self.
IOError: [Errno 9] Bad file descriptor
Traceback (most recent call last):
File "/usr/lib/
self.flush()
File "/usr/lib/
self.
IOError: [Errno 9] Bad file descriptor
----------------
Package information:
ben@linuxserver:~$ apt-cache policy sun-java5-jdk
sun-java5-jdk:
Installed: 1.5.0-13-0ubuntu1
Candidate: 1.5.0-15-0ubuntu1
Version table:
1.
500 http://
*** 1.5.0-13-0ubuntu1 0
100 /var/lib/
ben@linuxserver:~$ apt-cache policy sun-java6-jdk
sun-java6-jdk:
Installed: 6-03-0ubuntu2
Candidate: 6-06-0ubuntu1
Version table:
6-06-0ubuntu1 0
500 http://
*** 6-03-0ubuntu2 0
100 /var/lib/
ProblemType: Package
Architecture: i386
Date: Fri Apr 25 22:03:32 2008
DistroRelease: Ubuntu 8.04
ErrorMessage:
ErrorMessage: dependency problems - leaving unconfigured
Package: sun-java5-demo 1.5.0-15-0ubuntu1
PackageArchitec
SourcePackage: sun-java5
Title: package sun-java5-demo 1.5.0-15-0ubuntu1 failed to install/upgrade:
Uname: Linux 2.6.24-16-generic i686
this looks like a broken system. please could you attach the file /var/lib/ dpkg/alternativ es/rmic ?