Unable to uninstall

Bug #139297 reported by Antti Laiti
38
Affects Status Importance Assigned to Milestone
sun-java6 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: sun-java6-bin

$ aptitude remove sun-java6-bin

...

The following packages will be REMOVED:
  sun-java6-bin
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:
 sun-java6-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:

Revision history for this message
Antti Laiti (pulk) wrote :

Some more info:

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

Revision history for this message
izee (izee) wrote :

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

Revision history for this message
Antti Laiti (pulk) wrote :

That did the trick. Thanks!

Revision history for this message
phlegm (daveshome) wrote :

same problem here. That fixed it as well.

trollord (trollenlord)
Changed in sun-java6:
status: New → Confirmed
Revision history for this message
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
Revision history for this message
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  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.