* Adam Conrad <[EMAIL PROTECTED]> [2006-05-24 09:40]: > Actually, on second thought, I don't see how this can happen. Those > files should be generated earlier in the postinst before we try to > chmod/chgrp them. Does /etc/ssl/private not exist on that machine when > openssl is installed?
Hm, that's interesting. I cannot reproduce this in a chroot on i386 but I see it on sparc. /etc/ssl/private is there, yes, but /etc/ssl/private/ssl-cert-snakeoil.key isn't. sh-3.1# apt-get install ssl-cert Reading package lists... Done Building dependency tree... Done The following extra packages will be installed: openssl Suggested packages: ca-certificates The following NEW packages will be installed: openssl ssl-cert 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 1010kB of archives. After unpacking 2437kB of additional disk space will be used. Do you want to continue [Y/n]? y WARNING: The following packages cannot be authenticated! openssl ssl-cert Install these packages without verification [y/N]? y Get:1 http://ftp.de.debian.org sid/main openssl 0.9.8b-2 [1000kB] Get:2 http://ftp.de.debian.org sid/main ssl-cert 1.0.13 [9522B] Fetched 1010kB in 4s (210kB/s) Preconfiguring packages ... Selecting previously deselected package openssl. (Reading database ... 6998 files and directories currently installed.) Unpacking openssl (from .../openssl_0.9.8b-2_sparc.deb) ... Creating directory /etc/ssl Selecting previously deselected package ssl-cert. Unpacking ssl-cert (from .../ssl-cert_1.0.13_all.deb) ... Setting up openssl (0.9.8b-2) ... Setting up ssl-cert (1.0.13) ... chgrp: cannot access `/etc/ssl/private/ssl-cert-snakeoil.key': No such file or directory chmod: cannot access `/etc/ssl/private/ssl-cert-snakeoil.key': No such file or directory dpkg: error processing ssl-cert (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: ssl-cert E: Sub-process /usr/bin/dpkg returned an error code (1) sh-3.1# ls -l /etc/ssl/private/ total 0 sh-3.1# -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]