Comment 1 for bug 983302

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: ca-certificates-java fails to install java cacerts on oneiric

Thank you for using Ubuntu and reporting a bug.

I am unable to reproduce this. I tried various ways to reproduce this, all resulting in /etc/ssl/certs/java/cacerts in the end. Specifically:

* Install 20110912ubuntu3 - upgrade to 20110912ubuntu3.2: ok
* Install 20110912ubuntu3 - upgrade to 20110912ubuntu3.1 - upgrade to 20110912ubuntu3.2: ok
* Install 20100412 (what is in 11.04; failed on install, but cacerts still there) - upgrade to 20110912ubuntu3 - upgrade to 20110912ubuntu3.2: ok
* Install 20100412 (what is in 11.04; failed on install, but cacerts still there) - upgrade to 20100412ubuntu0.11.04.1 (failed on install, but cacerts still there) - upgrade to 20110912ubuntu3.2: ok
* Install 20110912ubuntu3 - perform 'rm /etc/ssl/certs/java/cacerts' - upgrade to 20110912ubuntu3.2: ok

Before installing an earlier release I would do 'sudo dpkg --purge --force-depends ca-certificates-java' and verify that /etc/ssl/certs/java/cacerts no longer exists.

Can you detail the exact steps to reproduce? Could your disk be full, have filesystem errors or somehow was remounted ro?

FYI, this should probably get your system back in working order:
$ sudo dpkg --purge --force-depends ca-certificates-java ; sudo apt-get install ca-certificates-java