Skip to content

node init installs packages even when archive signatures are not good

Due to an archive mirror sync inconsistency, the Release file on the archive used had an old signature, resulting in a BADSIG error to apt. This is the type of thing that will go away after a minute or so, and then another apt-get update will fix it.

However, we should not go forward with installing packages if that archive signature fails! In interactive mode, apt-get will force you to type 'yes' when the archive integrity cannot be verified, but we are likely passing the --force-yes flag to apt to make sure that package installations happen properly.

 = updating package list
   - [chameleon] Get:1 http://security.debian.org wheezy/updates Release.gpg [836 B]
   - [chameleon] Get:2 http://security.debian.org wheezy/updates Release [102 kB]
   - [chameleon] Get:3 http://ftp.debian.org wheezy-backports Release.gpg [1,571 B]
   - [chameleon] Get:4 http://security.debian.org wheezy/updates/main Sources [61.7 kB]
   - [chameleon] Get:5 http://ftp.debian.org wheezy-backports Release [139 kB]
   - [chameleon] Get:6 http://security.debian.org wheezy/updates/contrib Sources [14 B]
   - [chameleon] Hit http://http.debian.net wheezy Release.gpg
   - [chameleon] Get:7 http://security.debian.org wheezy/updates/non-free Sources [14 B]
   - [chameleon] Get:8 http://security.debian.org wheezy/updates/main amd64 Packages [103 kB]
   - [chameleon] Get:9 http://security.debian.org wheezy/updates/contrib amd64 Packages [14 B]
   - [chameleon] Get:10 http://security.debian.org wheezy/updates/non-free amd64 Packages [14 B]
   - [chameleon] Get:11 http://http.debian.net wheezy-updates Release.gpg [1,571 B]
   - [chameleon] Get:12 http://security.debian.org wheezy/updates/contrib Translation-en [14 B]
   - [chameleon] Get:13 http://security.debian.org wheezy/updates/main Translation-en [60.2 kB]
   - [chameleon] Get:14 http://security.debian.org wheezy/updates/non-free Translation-en [14 B]
   - [chameleon] Hit http://http.debian.net wheezy Release
   - [chameleon] Get:15 http://ftp.debian.org wheezy-backports/main amd64 Packages/DiffIndex [5,887 B]
   - [chameleon] Get:16 http://http.debian.net wheezy-updates Release [124 kB]
   - [chameleon] Get:17 http://ftp.debian.org wheezy-backports/main Translation-en/DiffIndex [1,609 B]
   - [chameleon] Err http://http.debian.net wheezy-updates Release
   - [chameleon] Get:18 http://ftp.debian.org wheezy-backports/main amd64 2013-09-05-0233.24.pdiff [247 B]
   - [chameleon] Get:19 http://ftp.debian.org wheezy-backports/main amd64 2013-09-05-0233.24.pdiff [247 B]
   - [chameleon] Get:20 http://ftp.debian.org wheezy-backports/main 2013-09-10-0237.32.pdiff [422 B]
   - [chameleon] Get:21 http://ftp.debian.org wheezy-backports/main 2013-09-10-0237.32.pdiff [422 B]
   - [chameleon] Get:22 http://ftp.debian.org wheezy-backports/main amd64 2013-09-06-2032.37.pdiff [22.1 kB]
   - [chameleon] Get:23 http://ftp.debian.org wheezy-backports/main amd64 2013-09-06-2032.37.pdiff [22.1 kB]
   - [chameleon] Hit http://http.debian.net wheezy/contrib Sources
   - [chameleon] Hit http://http.debian.net wheezy/main Sources
   - [chameleon] Get:24 http://ftp.debian.org wheezy-backports/main 2013-09-11-1434.15.pdiff [31 B]
   - [chameleon] Get:25 http://ftp.debian.org wheezy-backports/main 2013-09-11-1434.15.pdiff [31 B]
   - [chameleon] Get:26 http://ftp.debian.org wheezy-backports/main amd64 2013-09-08-0233.37.pdiff [21.9 kB]
   - [chameleon] Get:27 http://ftp.debian.org wheezy-backports/main amd64 2013-09-08-0233.37.pdiff [21.9 kB]
   - [chameleon] Hit http://http.debian.net wheezy/non-free Sources
   - [chameleon] Get:28 http://ftp.debian.org wheezy-backports/main amd64 2013-09-10-0833.59.pdiff [3,897 B]
   - [chameleon] Get:29 http://ftp.debian.org wheezy-backports/main amd64 2013-09-10-0833.59.pdiff [3,897 B]
   - [chameleon] Get:30 http://ftp.debian.org wheezy-backports/main amd64 2013-09-11-1434.15.pdiff [386 B]
   - [chameleon] Get:31 http://ftp.debian.org wheezy-backports/main amd64 2013-09-11-1434.15.pdiff [386 B]
   - [chameleon] Get:32 http://ftp.debian.org wheezy-backports/main amd64 2013-09-12-2036.09.pdiff [362 B]
   - [chameleon] Get:33 http://ftp.debian.org wheezy-backports/main amd64 2013-09-12-2036.09.pdiff [362 B]
   - [chameleon] Hit http://http.debian.net wheezy/main amd64 Packages
   - [chameleon] Get:34 http://ftp.debian.org wheezy-backports/main amd64 2013-09-13-0235.58.pdiff [235 B]
   - [chameleon] Get:35 http://ftp.debian.org wheezy-backports/main amd64 2013-09-13-0235.58.pdiff [235 B]
   - [chameleon] Hit http://http.debian.net wheezy/non-free amd64 Packages
   - [chameleon] Get:36 http://ftp.debian.org wheezy-backports/main amd64 2013-09-13-1434.57.pdiff [535 B]
   - [chameleon] Get:37 http://ftp.debian.org wheezy-backports/main amd64 2013-09-13-1434.57.pdiff [535 B]
   - [chameleon] Hit http://http.debian.net wheezy/contrib amd64 Packages
   - [chameleon] Get:38 http://ftp.debian.org wheezy-backports/main amd64 2013-09-13-2034.27.pdiff [2,113 B]
   - [chameleon] Get:39 http://ftp.debian.org wheezy-backports/main amd64 2013-09-13-2034.27.pdiff [2,113 B]
   - [chameleon] Hit http://http.debian.net wheezy/contrib Translation-en
   - [chameleon] Get:40 http://ftp.debian.org wheezy-backports/main amd64 2013-09-14-1434.04.pdiff [253 B]
   - [chameleon] Get:41 http://ftp.debian.org wheezy-backports/main amd64 2013-09-14-1434.04.pdiff [253 B]
   - [chameleon] Hit http://http.debian.net wheezy/main Translation-en
   - [chameleon] Hit http://http.debian.net wheezy/non-free Translation-en
   - [chameleon] Fetched 653 kB in 2s (258 kB/s)
   - [chameleon] Reading package lists...
   - [chameleon] W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://http.debian.net wheezy-updates Release: The following signatures were invalid: BADSIG AED4B06F473041FA Debian Archive Automatic Signing Key (6.0/squeeze) 
   - [chameleon] W: Failed to fetch http://http.debian.net/debian/dists/wheezy-updates/Release
   - [chameleon] W: Some index files failed to download. They have been ignored, or old ones used instead.
 = installing required packages
   - [chameleon] Reading package lists...
   - [chameleon] Building dependency tree...
   - [chameleon] Reading state information...
   - [chameleon] lsb-release is already the newest version.
   - [chameleon] lsb-release set to manually installed.
   - [chameleon] The following extra packages will be installed:
   - [chameleon]   augeas-lenses bind9-host binutils build-essential bzip2 cpp cpp-4.6 cpp-4.7
   - [chameleon]   debconf-utils dpkg-dev facter fakeroot g++ g++-4.7 gcc gcc-4.6 gcc-4.6-base
   - [chameleon]   gcc-4.7 geoip-database libalgorithm-diff-perl libalgorithm-diff-xs-perl
   - [chameleon]   libalgorithm-merge-perl libaugeas-ruby1.8 libaugeas0 libbind9-80
   - [chameleon]   libc-dev-bin libc6-dev libcap2 libdns88 libdpkg-perl libffi5
   - [chameleon]   libfile-fcntllock-perl libgeoip1 libgomp1 libisc84 libisccc80 libisccfg82
   - [chameleon]   libitm1 liblwres80 libmpc2 libmpfr4 libquadmath0 libreadline5 libruby1.8
   - [chameleon]   libruby1.9.1 libstdc++6-4.7-dev libtimedate-perl libxml2 linux-libc-dev make
   - [chameleon]   manpages-dev mcollective-common patch puppet-common ruby ruby-hiera
   - [chameleon]   ruby-json ruby-shadow ruby-stomp ruby-systemu ruby1.8 ruby1.8-dev ruby1.9.1
   - [chameleon]   rubygems sgml-base xml-core
   - [chameleon] Suggested packages:
   - [chameleon]   augeas-doc binutils-doc bzip2-doc cpp-doc gcc-4.6-locales gcc-4.7-locales
   - [chameleon]   debian-keyring g++-multilib g++-4.7-multilib gcc-4.7-doc libstdc++6-4.7-dbg
   - [chameleon]   gcc-multilib autoconf automake1.9 libtool flex bison gdb gcc-doc
   - [chameleon]   gcc-4.6-multilib libmudflap0-4.6-dev gcc-4.6-doc libgcc1-dbg libgomp1-dbg
   - [chameleon]   libquadmath0-dbg libmudflap0-dbg binutils-gold gcc-4.7-multilib
   - [chameleon]   libmudflap0-4.7-dev libitm1-dbg libcloog-ppl0 libppl-c2 libppl7 augeas-tools
   - [chameleon]   glibc-doc geoip-bin libstdc++6-4.7-doc make-doc mcollective-doc ed
   - [chameleon]   diffutils-doc puppet-el vim-puppet etckeeper ruby-selinux librrd-ruby1.8 ri
   - [chameleon]   ruby-dev ruby1.8-examples ri1.8 ruby-switch ruby1.9.1-examples ri1.9.1
   - [chameleon]   graphviz ruby1.9.1-dev sgml-base-doc debhelper
   - [chameleon] Recommended packages:
   - [chameleon]   rdoc
   - [chameleon] The following NEW packages will be installed:
   - [chameleon]   augeas-lenses bind9-host binutils build-essential bzip2 cpp cpp-4.6 cpp-4.7
   - [chameleon]   debconf-utils dpkg-dev facter fakeroot g++ g++-4.7 gcc gcc-4.6 gcc-4.6-base
   - [chameleon]   gcc-4.7 geoip-database libalgorithm-diff-perl libalgorithm-diff-xs-perl
   - [chameleon]   libalgorithm-merge-perl libaugeas-ruby1.8 libaugeas0 libbind9-80
   - [chameleon]   libc-dev-bin libc6-dev libcap2 libdns88 libdpkg-perl libffi5
   - [chameleon]   libfile-fcntllock-perl libgeoip1 libgomp1 libisc84 libisccc80 libisccfg82
   - [chameleon]   libitm1 liblwres80 libmpc2 libmpfr4 libquadmath0 libreadline5 libruby1.8
   - [chameleon]   libruby1.9.1 libstdc++6-4.7-dev libtimedate-perl libxml2 linux-libc-dev make
   - [chameleon]   manpages-dev mcollective-common patch puppet puppet-common rsync ruby
   - [chameleon]   ruby-hiera ruby-hiera-puppet ruby-json ruby-shadow ruby-stomp ruby-systemu
   - [chameleon]   ruby1.8 ruby1.8-dev ruby1.9.1 rubygems sgml-base xml-core
   - [chameleon] 0 upgraded, 69 newly installed, 0 to remove and 0 not upgraded.
   - [chameleon] Need to get 56.7 MB/64.7 MB of archives.
   - [chameleon] After this operation, 168 MB of additional disk space will be used.
   - [chameleon] Get:1 http://security.debian.org/ wheezy/updates/main puppet-common all 2.7.18-5 [1,042 kB]
   - [chameleon] Get:2 http://http.debian.net/debian/ wheezy/main libxml2 amd64 2.8.0+dfsg1-7+nmu1 [904 kB]
   - [chameleon] Get:3 http://http.debian.net/debian/ wheezy/main geoip-database all 20130213-1 [1,466 kB]
   - [chameleon] Get:4 http://security.debian.org/ wheezy/updates/main puppet all 2.7.18-5 [269 kB]
   - [chameleon] Get:5 http://http.debian.net/debian/ wheezy/main libgomp1 amd64 4.7.2-5 [27.5 kB]
   - [chameleon] Get:6 http://http.debian.net/debian/ wheezy/main libitm1 amd64 4.7.2-5 [36.6 kB]
   - [chameleon] Get:7 http://http.debian.net/debian/ wheezy/main libmpfr4 amd64 3.1.0-5 [538 kB]
   - [chameleon] Get:8 http://security.debian.org/ wheezy/updates/main linux-libc-dev amd64 3.2.46-1+deb7u1 [807 kB]
   - [chameleon] Get:9 http://http.debian.net/debian/ wheezy/main libquadmath0 amd64 4.7.2-5 [125 kB]
   - [chameleon] Get:10 http://http.debian.net/debian/ wheezy/main libreadline5 amd64 5.2+dfsg-2~deb7u1 [150 kB]
   - [chameleon] Get:11 http://http.debian.net/debian/ wheezy/main ruby1.8 amd64 1.8.7.358-7 [320 kB]
   - [chameleon] Get:12 http://http.debian.net/debian/ wheezy/main ruby-json amd64 1.7.3-3 [78.5 kB]
   - [chameleon] Get:13 http://http.debian.net/debian/ wheezy/main libgeoip1 amd64 1.4.8+dfsg-3 [124 kB]
   - [chameleon] Get:14 http://http.debian.net/debian/ wheezy/main augeas-lenses all 0.10.0-1 [195 kB]
   - [chameleon] Get:15 http://http.debian.net/debian/ wheezy/main facter all 1.6.10-1 [68.4 kB]
   - [chameleon] Get:16 http://http.debian.net/debian/ wheezy/main libaugeas0 amd64 0.10.0-1 [190 kB]
   - [chameleon] Get:17 http://http.debian.net/debian/ wheezy/main libaugeas-ruby1.8 amd64 0.4.1-1.1 [10.6 kB]
   - [chameleon] Get:18 http://http.debian.net/debian/ wheezy/main ruby-shadow amd64 2.1.4-2 [13.3 kB]
   - [chameleon] Get:19 http://http.debian.net/debian/ wheezy/main libmpc2 amd64 0.9-4 [40.1 kB]
   - [chameleon] Get:20 http://http.debian.net/debian/ wheezy/main bzip2 amd64 1.0.6-4 [50.1 kB]
   - [chameleon] Get:21 http://http.debian.net/debian/ wheezy/main patch amd64 2.6.1-3 [121 kB]
   - [chameleon] Get:22 http://http.debian.net/debian/ wheezy/main binutils amd64 2.22-8 [4,800 kB]

(from redmine: created on 2013-09-14, closed on 2014-05-13)