ca-certificates-java fails to install java cacerts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ca-certificates-java (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
What I expected:
ca-certificates
What happened:
ca-certificates
/usr/lib/
This leaves Java applications that depend on CA certs broken, usually with a "the trustAnchors parameter must be non-empty".
Apt-get install log:
root:~# apt-get --reinstall install ca-certificates
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/8,434 B of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 171214 files and directories currently installed.)
Preparing to replace ca-certificates
Unpacking replacement ca-certificates
Setting up ca-certificates
summary: |
- Fails to install java cacerts + ca-certificates-java fails to install java cacerts on oneiric |
Changed in ca-certificates-java (Ubuntu): | |
status: | Incomplete → New |
summary: |
- ca-certificates-java fails to install java cacerts on oneiric + ca-certificates-java fails to install java cacerts |
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 .11.04. 1 (failed on install, but cacerts still there) - upgrade to 20110912ubuntu3.2: ok certs/java/ cacerts' - 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
* Install 20110912ubuntu3 - perform 'rm /etc/ssl/
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: -java ; sudo apt-get install ca-certificates -java
$ sudo dpkg --purge --force-depends ca-certificates