Package: ca-certificates
Version: 20160104
Severity: important
User: debian...@lists.debian.org
Usertags: piuparts
Control: found -1 20141019+deb8u1
Control: affects -1 + google-android-build-tools-installer

Hi,

ca-certificates.postinst activates the update-ca-certificates trigger
with --noawait. This breaks downloader packages that are configured in
the same run as (an initial install of) ca-certificates because
/etc/ssl/certs is not set up at the time the downloader-pkg.postinst
runs even though it Depends: ca-certificates.

In a minimal (piuparts) sid:i386 chroot with main+contrib:
# apt-get install google-android-build-tools-installer
Reading package lists... Done
Building dependency tree... Done
The following additional packages will be installed:
  ca-certificates libffi6 libgmp10 libgnutls30 libhogweed4 libicu55 libidn11 
libnettle6 libp11-kit0 libpsl0 libssl1.0.2 libtasn1-6 make openssl unzip wget
Suggested packages:
  gnutls-bin make-doc zip
Recommended packages:
  publicsuffix
The following NEW packages will be installed:
  ca-certificates google-android-build-tools-installer libffi6 libgmp10 
libgnutls30 libhogweed4 libicu55 libidn11 libnettle6 libp11-kit0 libpsl0 
libssl1.0.2 libtasn1-6 make openssl unzip wget
0 upgraded, 17 newly installed, 0 to remove and 1 not upgraded.
Need to get 114 kB/13.4 MB of archives.
After this operation, 47.6 MB of additional disk space will be used.
Get:1 http://ftp.de.debian.org/debian sid/main i386 libidn11 i386 1.32-3 [114 
kB]
Fetched 114 kB in 0s (0 B/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libssl1.0.2:i386.
(Reading database ... 7239 files and directories currently installed.)
Preparing to unpack .../libssl1.0.2_1.0.2h-1_i386.deb ...
Unpacking libssl1.0.2:i386 (1.0.2h-1) ...
Selecting previously unselected package libgmp10:i386.
Preparing to unpack .../libgmp10_2%3a6.1.0+dfsg-2_i386.deb ...
Unpacking libgmp10:i386 (2:6.1.0+dfsg-2) ...
Selecting previously unselected package libnettle6:i386.
Preparing to unpack .../libnettle6_3.2-1_i386.deb ...
Unpacking libnettle6:i386 (3.2-1) ...
Selecting previously unselected package libhogweed4:i386.
Preparing to unpack .../libhogweed4_3.2-1_i386.deb ...
Unpacking libhogweed4:i386 (3.2-1) ...
Selecting previously unselected package libidn11:i386.
Preparing to unpack .../libidn11_1.32-3_i386.deb ...
Unpacking libidn11:i386 (1.32-3) ...
Selecting previously unselected package libffi6:i386.
Preparing to unpack .../libffi6_3.2.1-4_i386.deb ...
Unpacking libffi6:i386 (3.2.1-4) ...
Selecting previously unselected package libp11-kit0:i386.
Preparing to unpack .../libp11-kit0_0.23.2-3_i386.deb ...
Unpacking libp11-kit0:i386 (0.23.2-3) ...
Selecting previously unselected package libtasn1-6:i386.
Preparing to unpack .../libtasn1-6_4.8-1_i386.deb ...
Unpacking libtasn1-6:i386 (4.8-1) ...
Selecting previously unselected package libgnutls30:i386.
Preparing to unpack .../libgnutls30_3.4.12-2_i386.deb ...
Unpacking libgnutls30:i386 (3.4.12-2) ...
Selecting previously unselected package libicu55:i386.
Preparing to unpack .../libicu55_55.1-7_i386.deb ...
Unpacking libicu55:i386 (55.1-7) ...
Selecting previously unselected package libpsl0:i386.
Preparing to unpack .../libpsl0_0.11.0-2_i386.deb ...
Unpacking libpsl0:i386 (0.11.0-2) ...
Selecting previously unselected package wget.
Preparing to unpack .../wget_1.17.1-2_i386.deb ...
Unpacking wget (1.17.1-2) ...
Selecting previously unselected package openssl.
Preparing to unpack .../openssl_1.0.2h-1_i386.deb ...
Unpacking openssl (1.0.2h-1) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../ca-certificates_20160104_all.deb ...
Unpacking ca-certificates (20160104) ...
Selecting previously unselected package make.
Preparing to unpack .../archives/make_4.1-9_i386.deb ...
Unpacking make (4.1-9) ...
Selecting previously unselected package unzip.
Preparing to unpack .../archives/unzip_6.0-20_i386.deb ...
Unpacking unzip (6.0-20) ...
Selecting previously unselected package google-android-build-tools-installer.
Preparing to unpack .../google-android-build-tools-installer_23.0.2.1_i386.deb 
...
Unpacking google-android-build-tools-installer (23.0.2.1) ...
Processing triggers for libc-bin (2.22-9) ...
Setting up libssl1.0.2:i386 (1.0.2h-1) ...
Setting up libgmp10:i386 (2:6.1.0+dfsg-2) ...
Setting up libnettle6:i386 (3.2-1) ...
Setting up libhogweed4:i386 (3.2-1) ...
Setting up libidn11:i386 (1.32-3) ...
Setting up libffi6:i386 (3.2.1-4) ...
Setting up libp11-kit0:i386 (0.23.2-3) ...
Setting up libtasn1-6:i386 (4.8-1) ...
Setting up libgnutls30:i386 (3.4.12-2) ...
Setting up libicu55:i386 (55.1-7) ...
Setting up libpsl0:i386 (0.11.0-2) ...
Setting up wget (1.17.1-2) ...
Setting up openssl (1.0.2h-1) ...
Setting up ca-certificates (20160104) ...
Setting up make (4.1-9) ...
Setting up unzip (6.0-20) ...
Setting up google-android-build-tools-installer (23.0.2.1) ...
make: Entering directory '/var/cache/google-android-build-tools-installer'
cd /var/cache/google-android-build-tools-installer && \
        wget --continue 
https://dl.google.com/android/repository/build-tools_r23.0.2-linux.zip
--2016-05-29 10:07:34--  
https://dl.google.com/android/repository/build-tools_r23.0.2-linux.zip
Resolving dl.google.com (dl.google.com)... 172.217.21.110, 
2a00:1450:4001:805::200e
Connecting to dl.google.com (dl.google.com)|172.217.21.110|:443... connected.
ERROR: The certificate of 'dl.google.com' is not trusted.
ERROR: The certificate of 'dl.google.com' hasn't got a known issuer.
Makefile:67: recipe for target 
'/var/cache/google-android-build-tools-installer/build-tools_r23.0.2-linux.zip' 
failed
make: *** 
[/var/cache/google-android-build-tools-installer/build-tools_r23.0.2-linux.zip] 
Error 5
make: Leaving directory '/var/cache/google-android-build-tools-installer'
dpkg: error processing package google-android-build-tools-installer 
(--configure):
 subprocess installed post-installation script returned error exit status 2
Processing triggers for libc-bin (2.22-9) ...
Processing triggers for ca-certificates (20160104) ...
Updating certificates in /etc/ssl/certs...
173 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Errors were encountered while processing:
 google-android-build-tools-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)


Andreas

Reply via email to