Bug#922720: ca-certificates-java: update-ca-certificates fails with bashism in jks-keystore
Steven Ihde
steve at x2.hamachi.us
Tue Feb 19 20:53:58 GMT 2019
Package: ca-certificates-java
Version: 20170929~deb9u1
Severity: important
Dear Maintainer,
After upgrading to Debian 9.8 today, the following error results
whenever I run update-ca-certificates:
------
$ sudo update-ca-certificates
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
/etc/ca-certificates/update.d/jks-keystore: 56: [: amd64: unexpected operator
done.
done.
------
This appears to be due to a bashism introduced by the fix for 874276:
-------
$ checkbashisms /etc/ca-certificates/update.d/jks-keystore
possible bashism in /etc/ca-certificates/update.d/jks-keystore line 56 (should be 'b = a'):
if [ "$arch" == "armhf" ]; then
-------
Thanks,
Steve
-- System Information:
Debian Release: 9.8
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-8-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages ca-certificates-java depends on:
ii ca-certificates 20161130+nmu1+deb9u1
ii libnss3 2:3.26.2-1.1+deb9u1
ii oracle-java8-installer [openjdk-7-jre-headless] 8u201-1~webupd8~1
ca-certificates-java recommends no packages.
ca-certificates-java suggests no packages.
-- Configuration Files:
/etc/default/cacerts [Errno 13] Permission denied: '/etc/default/cacerts'
-- no debconf information
More information about the pkg-java-maintainers
mailing list