Bug#665749: [ca-certificates-java] How did this occur?

Chris Knadle Chris.Knadle at coredump.us
Sun Apr 1 19:10:32 UTC 2012


Package: ca-certificates-java
Version: 20120225

--- Please enter the report below this line. ---

I'm confused as to how you ran into this error.

/etc/java-6-openjdk/security.nss.cfg is part of openjdk-6-jre-headless:

   $ dpkg -S /etc/java-6-openjdk/security/nss.cfg
   openjdk-6-jre-headless:amd64: /etc/java-6-openjdk/security/nss.cfg

ca-certificates-java depends on openjdk-6-jre-headless:

   $ apt-cache show ca-certificates-java
   Package: ca-certificates-java
   ...
   Depends: ca-certificates (>= 20090814), openjdk-6-jre-headless (>=
     6b16-1.6.1-2) | java6-runtime-headless, libnss3-1d (>= 3.12.10-2~)

When a package depends on another pacakge, that other package has to be 
installed and configured before the first package is configured.  This 
specified in section 7.2 of the Debian Policy manual:

   http://www.debian.org/doc/debian-policy/ch-relationships.html


So the only way for this bug to happen is to somehow install the 
ca-certificates-java package without its required dependencies.  :-/

How did that occur?

  -- Chris

--
Chris Knadle
Chris.Knadle at coredump.us

--- System information. ---
Architecture: amd64
Kernel:       Linux 3.2.13-c2d-crk

Debian Release: wheezy/sid
  500 unstable        www.debian-multimedia.org 
  500 unstable        ftp.us.debian.org 
    1 experimental    ftp.us.debian.org 

--- Package information. ---
Depends                             (Version) | Installed
=============================================-+-===================
ca-certificates                 (>= 20090814) | 20120212
openjdk-6-jre-headless     (>= 6b16-1.6.1-2)  | 6b24-1.11.1-3
 OR java6-runtime-headless                    | 
libnss3-1d                    (>= 3.12.10-2~) | 3.13.3-1


Package's Recommends field is empty.

Package's Suggests field is empty.





More information about the pkg-java-maintainers mailing list