Bug#680618: ca-certificates-java: jks-keystore not working on multi-arch system
Jakub Moc
jakub.moc at gmail.com
Sat Jul 7 12:15:50 UTC 2012
Package: ca-certificates-java
Version: 20120608
Severity: normal
After running dpkg-reconfigure ca-certificates, you get the following when you
have libnss3-1d installed for multiple arches:
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....
dpkg-query: error: --listfiles needs a valid package name but 'libnss3-1d' is
not: ambiguous package name 'libnss3-1d' with more than one installed instance
....
dpkg-query: error: --listfiles needs a valid package name but 'libnss3-1d' is
not: ambiguous package name 'libnss3-1d' with more than one installed instance
$ dpkg --get-selections libnss3-1d
libnss3-1d:amd64 install
libnss3-1d:i386 install
These are the offending lines in the hook:
$ grep libnss3-1d /etc/ca-certificates/update.d/jks-keystore
nsspkg=$(dpkg-query -L libnss3-1d | sed -n 's,\(.*\)/libnss3\.so$,\1,p')
softokn3pkg=$(dpkg-query -L libnss3-1d | sed -n
's,\(.*\)/libsoftokn3\.so$,\1,p')
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (700, 'unstable'), (700, 'testing'), (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.4.0-4.dmz.2-liquorix-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages ca-certificates-java depends on:
ii ca-certificates 20120623
ii default-jre-headless [java6-runtime-headless] 1:1.6-47
ii libnss3-1d 2:3.13.5-1
ii openjdk-6-jre-headless [java6-runtime-headless] 6b24-1.11.3-2
ii update-sun-jre [java6-runtime-headless] 1.2.4
ca-certificates-java recommends no packages.
ca-certificates-java suggests no packages.
-- Configuration Files:
/etc/default/cacerts [Errno 13] Operace zamítnuta: u'/etc/default/cacerts'
-- no debconf information
More information about the pkg-java-maintainers
mailing list