Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#14884 - [ca-certificates-java] install scriptlet should check for keytool

Attached to Project: Arch Linux
Opened by Gerardo Exequiel Pozzi (djgera) - Saturday, 30 May 2009, 17:52 GMT
Last edited by Jan de Groot (JGC) - Saturday, 13 June 2009, 12:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: If no keytool is installed from some java-runtime package the scriptlet will fail (executes /usr/sbin/init-jks-keystore)

No supported JRE installed
error: scriptlet failed to execute correctly

Additional info:
ca-certificates-java-20081028-1
This task depends upon

Closed by  Jan de Groot (JGC)
Saturday, 13 June 2009, 12:38 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 20081028-2.
Comment by Andreas Radke (AndyRTR) - Saturday, 30 May 2009, 18:24 GMT
I don't think so. It would start a circular dependency. Usually you will install openjdk6 and it will pull in the cert pkg.
Comment by Jan de Groot (JGC) - Saturday, 30 May 2009, 18:46 GMT
The init-jks-keystore script is executed from openjdk6 also. Making ca-certificates-java depend on a runtime will create a circular dependency and is not what we want.
Comment by Gerardo Exequiel Pozzi (djgera) - Saturday, 30 May 2009, 19:13 GMT
OK. Then also verify in the .install if keytool exists like?

post_install() {
if [ ! -f /etc/ssl/certs/java/cacerts ] && [ -x /usr/bin/keytool ]; then
/usr/sbin/init-jks-keystore
fi
}

Loading...