Re: ca-certificates
On Fri, Nov 10, 2006 at 20:50:58 -0800, David E. Fox wrote:
> On Thu, 9 Nov 2006 23:12:16 +0100 Florian Kulzer wrote:
>
> > can nevertheless run "apt-get install -f" or "aptitude install -f" in a
> > terminal and copy/paste the entire output into an email.)
>
> Having the same issue here for sometime...
>
> rw-r--r-- 1 root root 93040 2006-10-27 10:47
> ca-certificates_20061027_all.deb dfox@m206-157:/var/cache/apt/archives$
> sudo aptitude install -f ca-certificates_20061027_all.deb Password:
[...]
> Couldn't find any package whose name or description matched
> "ca-certificates_20061027_all.deb" The following packages have been
That one is easy: It should either be "aptitude install ca-certificates"
or "dpkg --install ca-certificates_20061027_all.deb".
> kept back: gdm libxalan2-java libxerces2-java
> 0 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
> Need to get 0B of archives. After unpacking 0B will be used.
> Setting up ca-certificates (20061027) ...
> Updating certificates in /etc/ssl/certs....dpkg: error processing
> ca-certificates (--configure): subprocess post-installation script
> returned error exit status 126 Errors were encountered while processing:
> ca-certificates
> E: Sub-process /usr/bin/dpkg returned an error code (1)
[ snip: the same error when aptitude tries it again ]
The post-installation script is here:
/var/lib/dpkg/info/ca-certificates.postinst
You can try to add
set -x
at the beginning of this script, right after the comment header. Then
run "dpkg --configure ca-certificates" and the post-installation script
will echo every command as it is executed. That might tell you where
things go wrong. It could be that the script uses a bashism which will
cause problems if you have your /bin/sh symlink pointing to another
shell.
--
Regards,
Florian
Reply to: