Howdy all, I'm using ‘sbuild’ to build my packages, and it is able to fetch packages for performing ‘debian/rules’ actions.
The trouble I'm having is a persistent failure during the post-build step: attempting to fetch the packages needed for the test bed, some packages fail to download, until SBuild gives up. ===== $ sbuild --dist unstable pyrlp_0.5.1-1.dsc […] Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 […] Need to get 6606 kB/6620 kB of archives. After this operation, 23.2 MB of additional disk space will be used. Get:1 file:/tmp/autopkgtest.if4ZUh/binaries python-rlp 0.5.1-1 [13.3 kB] Get:2 http://mirror.internode.on.net/pub/debian unstable/main amd64 libpython2.7-minimal amd64 2.7.13-2 [389 kB] Get:3 http://mirror.internode.on.net/pub/debian unstable/main amd64 python2.7-minimal amd64 2.7.13-2 [1383 kB] Get:4 http://mirror.internode.on.net/pub/debian unstable/main amd64 python-minimal amd64 2.7.13-2 [40.5 kB] Get:5 http://mirror.internode.on.net/pub/debian unstable/main amd64 mime-support all 3.60 [36.7 kB] Get:6 http://mirror.internode.on.net/pub/debian unstable/main amd64 libexpat1 amd64 2.2.0-2 [83.3 kB] Get:7 http://mirror.internode.on.net/pub/debian unstable/main amd64 libffi6 amd64 3.2.1-6 [20.4 kB] Err:8 http://mirror.internode.on.net/pub/debian unstable/main amd64 readline-common all 7.0-2 404 Not Found Err:9 http://mirror.internode.on.net/pub/debian unstable/main amd64 libreadline7 amd64 7.0-2 404 Not Found Err:10 http://mirror.internode.on.net/pub/debian unstable/main amd64 libsqlite3-0 amd64 3.16.2-2 404 Not Found Err:11 http://mirror.internode.on.net/pub/debian unstable/main amd64 libssl1.1 amd64 1.1.0e-1 404 Not Found Get:12 http://mirror.internode.on.net/pub/debian unstable/main amd64 libpython2.7-stdlib amd64 2.7.13-2 [1895 kB] Get:13 http://mirror.internode.on.net/pub/debian unstable/main amd64 python2.7 amd64 2.7.13-2 [285 kB] Get:14 http://mirror.internode.on.net/pub/debian unstable/main amd64 libpython-stdlib amd64 2.7.13-2 [20.0 kB] Get:15 http://mirror.internode.on.net/pub/debian unstable/main amd64 python amd64 2.7.13-2 [154 kB] Get:16 http://mirror.internode.on.net/pub/debian unstable/main amd64 python-pkg-resources all 33.1.1-1 [166 kB] Fetched 4473 kB in 8s (499 kB/s) E: Failed to fetch http://mirror.internode.on.net/pub/debian/pool/main/r/readline/readline-common_7.0-2_all.deb 404 Not Found E: Failed to fetch http://mirror.internode.on.net/pub/debian/pool/main/r/readline/libreadline7_7.0-2_amd64.deb 404 Not Found E: Failed to fetch http://mirror.internode.on.net/pub/debian/pool/main/s/sqlite3/libsqlite3-0_3.16.2-2_amd64.deb 404 Not Found E: Failed to fetch http://mirror.internode.on.net/pub/debian/pool/main/o/openssl/libssl1.1_1.1.0e-1_amd64.deb 404 Not Found E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? adt-run: WARNING: apt failed to download packages, retrying in 10s... [… retries several times, until …] adt-run [09:06:07]: ERROR: testbed failure: apt repeatedly failed to download packages E: Command 'adt-run --changes /home/bignose/Projects/debian/ethereum/pyrlp/build-area/pyrlp/pyrlp_0.5.1-1_amd64.changes --- schroot unstable-amd64-sbuild' failed to run. ===== I have attached an uninterrupted log of that section of the output.
+------------------------------------------------------------------------------+ | Post Build Commands | +------------------------------------------------------------------------------+ adt-run --changes /home/bignose/Projects/debian/ethereum/pyrlp/build-area/pyrlp/pyrlp_0.5.1-1_amd64.changes --- schroot unstable-amd64-sbuild --------------------------------------------------------------------------------------------------------------------------------------------- adt-run: WARNING: "adt-run" is deprecated, please use "autopkgtest" (see manpage) adt-run [09:05:28]: version 4.4 adt-run [09:05:28]: host lantana; command line: /usr/bin/adt-run --changes /home/bignose/Projects/debian/ethereum/pyrlp/build-area/pyrlp/pyrlp_0.5.1-1_amd64.changes --- schroot unstable-amd64-sbuild adt-run [09:05:31]: testbed dpkg architecture: amd64 adt-run [09:05:31]: testbed running kernel: Linux 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2 (2017-06-12) adt-run [09:05:32]: @@@@@@@@@@@@@@@@@@@@ source /home/bignose/Projects/debian/ethereum/pyrlp/build-area/pyrlp/pyrlp_0.5.1-1.dsc dpkg-source: warning: extracting unsigned source package (/tmp/autopkgtest.if4ZUh/pyrlp_0.5.1-1.dsc) dpkg-source: info: extracting pyrlp in pyrlp-0.5.1 dpkg-source: info: unpacking pyrlp_0.5.1.orig.tar.gz dpkg-source: info: unpacking pyrlp_0.5.1-1.debian.tar.xz adt-run [09:05:32]: testing package pyrlp version 0.5.1-1 adt-run [09:05:32]: build not needed adt-run [09:05:32]: test smoke-python2: preparing testbed Get:1 file:/tmp/autopkgtest.if4ZUh/binaries InRelease Ign:1 file:/tmp/autopkgtest.if4ZUh/binaries InRelease Get:2 file:/tmp/autopkgtest.if4ZUh/binaries Release [816 B] Get:2 file:/tmp/autopkgtest.if4ZUh/binaries Release [816 B] Get:3 file:/tmp/autopkgtest.if4ZUh/binaries Release.gpg Ign:3 file:/tmp/autopkgtest.if4ZUh/binaries Release.gpg Get:4 file:/tmp/autopkgtest.if4ZUh/binaries Packages [2689 B] Reading package lists... Reading package lists... Building dependency tree... Correcting dependencies...Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done Done Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done The following additional packages will be installed: libexpat1 libffi6 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libreadline7 libsqlite3-0 libssl1.1 mime-support python python-minimal python-pkg-resources python-rlp python2.7 python2.7-minimal readline-common Suggested packages: python-doc python-tk python-setuptools python-rlp-doc python2.7-doc binfmt-support readline-doc Recommended packages: file The following NEW packages will be installed: libexpat1 libffi6 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libreadline7 libsqlite3-0 libssl1.1 mime-support python python-minimal python-pkg-resources python-rlp python2.7 python2.7-minimal readline-common 0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 6606 kB/6620 kB of archives. After this operation, 23.2 MB of additional disk space will be used. Get:1 file:/tmp/autopkgtest.if4ZUh/binaries python-rlp 0.5.1-1 [13.3 kB] Get:2 http://mirror.internode.on.net/pub/debian unstable/main amd64 libpython2.7-minimal amd64 2.7.13-2 [389 kB] Get:3 http://mirror.internode.on.net/pub/debian unstable/main amd64 python2.7-minimal amd64 2.7.13-2 [1383 kB] Get:4 http://mirror.internode.on.net/pub/debian unstable/main amd64 python-minimal amd64 2.7.13-2 [40.5 kB] Get:5 http://mirror.internode.on.net/pub/debian unstable/main amd64 mime-support all 3.60 [36.7 kB] Get:6 http://mirror.internode.on.net/pub/debian unstable/main amd64 libexpat1 amd64 2.2.0-2 [83.3 kB] Get:7 http://mirror.internode.on.net/pub/debian unstable/main amd64 libffi6 amd64 3.2.1-6 [20.4 kB] Err:8 http://mirror.internode.on.net/pub/debian unstable/main amd64 readline-common all 7.0-2 404 Not Found Err:9 http://mirror.internode.on.net/pub/debian unstable/main amd64 libreadline7 amd64 7.0-2 404 Not Found Err:10 http://mirror.internode.on.net/pub/debian unstable/main amd64 libsqlite3-0 amd64 3.16.2-2 404 Not Found Err:11 http://mirror.internode.on.net/pub/debian unstable/main amd64 libssl1.1 amd64 1.1.0e-1 404 Not Found Get:12 http://mirror.internode.on.net/pub/debian unstable/main amd64 libpython2.7-stdlib amd64 2.7.13-2 [1895 kB] Get:13 http://mirror.internode.on.net/pub/debian unstable/main amd64 python2.7 amd64 2.7.13-2 [285 kB] Get:14 http://mirror.internode.on.net/pub/debian unstable/main amd64 libpython-stdlib amd64 2.7.13-2 [20.0 kB] Get:15 http://mirror.internode.on.net/pub/debian unstable/main amd64 python amd64 2.7.13-2 [154 kB] Get:16 http://mirror.internode.on.net/pub/debian unstable/main amd64 python-pkg-resources all 33.1.1-1 [166 kB] Fetched 4473 kB in 8s (499 kB/s) E: Failed to fetch http://mirror.internode.on.net/pub/debian/pool/main/r/readline/readline-common_7.0-2_all.deb 404 Not Found E: Failed to fetch http://mirror.internode.on.net/pub/debian/pool/main/r/readline/libreadline7_7.0-2_amd64.deb 404 Not Found E: Failed to fetch http://mirror.internode.on.net/pub/debian/pool/main/s/sqlite3/libsqlite3-0_3.16.2-2_amd64.deb 404 Not Found E: Failed to fetch http://mirror.internode.on.net/pub/debian/pool/main/o/openssl/libssl1.1_1.1.0e-1_amd64.deb 404 Not Found E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? a
What could be causing APT downloads to fail, only during the post-build step? What can I do to fix this? -- \ “Our urge to trust our senses overpowers what our measuring | `\ devices tell us about the actual nature of reality.” —Ann | _o__) Druyan, _Cosmos_, 2014 | Ben Finney

