Unable to uninstall

Bug #139297 reported by Antti Laiti on 2007-09-13
Affects Status Importance Assigned to Milestone
sun-java6 (Ubuntu)

Bug Description

Binary package hint: sun-java6-bin

$ aptitude remove sun-java6-bin


The following packages will be REMOVED:
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 70,2MB will be freed.
Writing extended state information... Done
(Reading database ... 187896 files and directories currently installed.)
Removing sun-java6-bin ...
update-binfmts: warning: /var/lib/binfmts/jexec does not exist; nothing to do! update-binfmts: exiting due to previous errors
dpkg: error processing sun-java6-bin (--remove):
 subprocess pre-removal script returned error exit status 2
No theme index file in '/usr/share/icons/sun-java6.png'.
If you really want to create an icon cache here, use --ignore-theme-index.
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:

Antti Laiti (pulk) wrote :

Some more info:

Using ubuntu gutsy x86_64
sun-java6-bin package version: 6-02-1ubuntu3

izee (izee) wrote :

i uninstalled after
I copy /var/lib/binfmts/sun-java6 to /var/lib/binfmts/jexec

Antti Laiti (pulk) wrote :

That did the trick. Thanks!

phlegm (daveshome) wrote :

same problem here. That fixed it as well.

trollord (trollenlord) on 2007-09-28
Changed in sun-java6:
status: New → Confirmed
Matthias Klose (doko) wrote :

sun-java6 (6-03-0ubuntu2) gutsy; urgency=low

  * Fix package removal (unregister binary format). LP: #139297.

 -- Matthias Klose <email address hidden> Wed, 03 Oct 2007 11:45:23 +0200

Changed in sun-java6:
status: Confirmed → Fix Released
Brian Wootton (brian-meg) wrote :

running jaunty on amd 64. This also stops me using apt-get or KPackageKit from proceeding, only cure
I have found so far is to re-install the system!!!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers