Comment 12 for bug 153625

Revision history for this message
Andreas Hasenack (ahasenack) wrote : Re: update-ca-certificates error. ca-certificates.crt empty

Are you sure? The below was just run on an up-to-date gutsy desktop:

root@duo:~# apt-get purge ca-certificates
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  ca-certificates*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 573kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 113253 files and directories currently installed.)
Removing ca-certificates ...
Removing hash symlinks in /etc/ssl/certs ...done.
Purging configuration files for ca-certificates ...

root@duo:~# LANG=pt_BR.UTF-8 LC_ALL=pt_BR.UTF-8 LANGUAGE=pt_BR.UTF-8 apt-get install ca-certificates
Lendo lista de pacotes... Pronto
Construindo árvore de dependências
Reading state information... Pronto
Os NOVOS pacotes a seguir serão instalados:
  ca-certificates
0 pacotes atualizados, 1 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
É preciso fazer o download de 97,3kB de arquivos.
Depois de desempacotar, 573kB adicionais de espaço em disco serão usados.
Obtendo:1 http://br.archive.ubuntu.com gutsy/main ca-certificates 20070303 [97,3kB]
Baixados 97,3kB em 0s (98,3kB/s)
Pré-configurando pacotes ...
Selecionando pacote previamente não selecionado ca-certificates.
(Lendo banco de dados ... 113136 arquivos e diretórios atualmente instalados.)
Descompactando ca-certificates (de .../ca-certificates_20070303_all.deb) ...
Instalando ca-certificates (20070303) ...
Updating certificates in /etc/ssl/certs....done.

root@duo:~# ls -la /etc/ssl/certs/ca-certificates.crt
-rw-r--r-- 1 root root 0 2008-03-21 20:19 /etc/ssl/certs/ca-certificates.crt

Now let's repeat but with en_US locale:
(same purging as before not shown this time)
root@duo:~# LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LANGUAGE=en_US.UTF-8 apt-get install ca-certificates
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  ca-certificates
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/97.3kB of archives.
After unpacking 573kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package ca-certificates.
(Reading database ... 113136 files and directories currently installed.)
Unpacking ca-certificates (from .../ca-certificates_20070303_all.deb) ...
Setting up ca-certificates (20070303) ...
Updating certificates in /etc/ssl/certs....done.

root@duo:~# ls -la /etc/ssl/certs/ca-certificates.crt
-rw-r--r-- 1 root root 153268 2008-03-21 20:21 /etc/ssl/certs/ca-certificates.crt