openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #00015
[Bug 206721] Re: package openjdk-6-jre-headless 6b07-0ubuntu1 failed to install/upgrade: subprocess pre-removal script returned error exit status 2
I attempted to install the ubuntu-restricted-extras package and this is
one of 3 packages that failed to install. I am running Hardy release
candidate 04-19-2008.
--
package openjdk-6-jre-headless 6b07-0ubuntu1 failed to install/upgrade: subprocess pre-removal script returned error exit status 2
https://bugs.launchpad.net/bugs/206721
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.
Status in Source Package "openjdk-6" in Ubuntu: Fix Released
Bug description:
Removal of openjdk-6-jre-headless failed due 'update-binfmts: warning: /var/lib/binfmts/openjdk-6 does not exist'.
$ sudo aptitude purge openjdk-6-jre-headless openjdk-6-jre-lib
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages will be automatically REMOVED:
openjdk-6-jre-headless{p}
The following packages will be REMOVED:
openjdk-6-jre-headless{p}
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 71,1MB will be freed.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
(Reading database ... 116840 files and directories currently installed.)
Removing openjdk-6-jre-headless ...
update-binfmts: warning: /var/lib/binfmts/openjdk-6 does not exist; nothing to do!
update-binfmts: exiting due to previous errors
dpkg: error processing openjdk-6-jre-headless (--purge):
subprocess pre-removal script returned error exit status 2
dpkg: openjdk-6-jre-lib: dependency problems, but removing anyway as you request:
openjdk-6-jre-headless depends on openjdk-6-jre-lib (>= 6b07-0ubuntu1).
Removing openjdk-6-jre-lib ...
Errors were encountered while processing:
openjdk-6-jre-headless
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
ProblemType: Package
Architecture: i386
Date: Tue Mar 25 21:05:12 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: subprocess pre-removal script returned error exit status 2
NonfreeKernelModules: nvidia
Package: openjdk-6-jre-headless 6b07-0ubuntu1
PackageArchitecture: i386
SourcePackage: openjdk-6
Title: package openjdk-6-jre-headless 6b07-0ubuntu1 failed to install/upgrade: subprocess pre-removal script returned error exit status 2
Uname: Linux 2.6.24-12-generic i686