I seem to get the same error. I installed sun-java6-jre and sun-java6-bin the other day, and then decided to remove it, but I only got the error mentioned above. Today there was an update, which couldn't be installed, so I tried to remove it again, an then re-installed with the update.
When I run sudo dpkg --remove sun-java6-bin I get a dependency-error (-jre depends on ia32-sun-java6-bin | sun-java6-bin) so I tried sudo dpkg --remove sun-java6-bin sun-java6-jre and got the following:
(Reading database ... 126157 files and directories currently installed.)
Removing sun-java6-bin ...
update-binfmts: /var/lib/binfmts/jexec corrupt: out of binfmt data reading
package
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.
dpkg: dependency problems prevent removal of sun-java6-jre:
sun-java6-bin depends on sun-java6-jre (= 6-03-0ubuntu1).
dpkg: error processing sun-java6-jre (--remove):
dependency problems - not removing
Errors were encountered while processing:
sun-java6-bin
sun-java6-jre
Please tell me if there's anything more needed to complete the bugreport, or if you need/want some additional info!
I seem to get the same error. I installed sun-java6-jre and sun-java6-bin the other day, and then decided to remove it, but I only got the error mentioned above. Today there was an update, which couldn't be installed, so I tried to remove it again, an then re-installed with the update.
When I run sudo dpkg --remove sun-java6-bin I get a dependency-error (-jre depends on ia32-sun-java6-bin | sun-java6-bin) so I tried sudo dpkg --remove sun-java6-bin sun-java6-jre and got the following:
(Reading database ... 126157 files and directories currently installed.) binfmts/ jexec corrupt: out of binfmt data reading icons/sun- java6.png' . theme-index.
Removing sun-java6-bin ...
update-binfmts: /var/lib/
package
dpkg: error processing sun-java6-bin (--remove):
subprocess pre-removal script returned error exit status 2
No theme index file in '/usr/share/
If you really want to create an icon cache here, use --ignore-
dpkg: dependency problems prevent removal of sun-java6-jre:
sun-java6-bin depends on sun-java6-jre (= 6-03-0ubuntu1).
dpkg: error processing sun-java6-jre (--remove):
dependency problems - not removing
Errors were encountered while processing:
sun-java6-bin
sun-java6-jre
Please tell me if there's anything more needed to complete the bugreport, or if you need/want some additional info!