Bug#432088: pbuilder: please use APTCACHE on --create

Ritesh Raj Sarraf rrs at debian.org
Mon Oct 3 18:07:03 UTC 2016


Package: pbuilder
Version: 0.226.1
Followup-For: Bug #432088

Hello Mattia,

Is there any way to solve this bug ?

On --create, it really is annoying. Because even a single deb failure
will result in the whole thing to be downloaded again.

Ideally, APTCACHE should be used. But looking at the code, it seems the
download is done by debootstrap, which does not seem to have that
intelligence.

Please reassign if you think/agree that this is beyond pbuilder's scope
and should be assigned to debootstrap.


rrs at chutzpah:~$ sudo ARCH=mips pbuilder --create
[sudo] password for rrs: 
I: Distribution is sid.
I: Current time: Mon Oct  3 23:15:25 IST 2016
I: pbuilder-time-stamp: 1475516725
I: Building the build environment
I: running qemu-debootstrap
/usr/sbin/qemu-debootstrap
I: Running command: debootstrap --arch mips --foreign --include=apt --variant=buildd --force-check-gpg --keyring=/usr/share/keyrings/debian-archive-keyring.gpg sid /var/tmp/Debian-Build/Build//3281 http://ftp.debian.org/debian/
I: Retrieving Release 
I: Retrieving Release.gpg 
I: Checking Release signature
I: Valid Release signature (key id 126C0D24BD8A2942CC7DF8AC7638D0442B90D010)
I: Retrieving Packages 
I: Validating Packages 
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional required dependencies: libaudit-common libaudit1 libbz2-1.0 libcap-ng0 libdb5.3 libdebconfclient0 libgcrypt20 libgpg-error0 libncursesw5 libsemanage-common libsemanage1 libsystemd0 libudev1 libustr-1.0-1 
I: Found additional base dependencies: adduser binutils bzip2 cpp cpp-6 debian-archive-keyring dpkg-dev g++ g++-6 gcc gcc-6 gpgv libapt-pkg5.0 libatomic1 libc-dev-bin libc6-dev libcc1-0 libdpkg-perl libgcc-6-dev libgdbm3 libgmp10 libgomp1 libisl15 liblz4-1 libmpc3 libmpfr4 libperl5.24 libstdc++-6-dev libstdc++6 linux-libc-dev make patch perl perl-modules-5.24 xz-utils 
I: Checking component main on http://ftp.debian.org/debian...
I: Retrieving libacl1 2.2.52-3
I: Validating libacl1 2.2.52-3
......snipped........
I: Retrieving coreutils 8.25-2


W: Couldn't download package coreutils (ver 8.25-2 arch mips)
I: Retrieving dash 0.5.8-2.3
I: Validating dash 0.5.8-2.3

......snipped........

I: Validating liblzma5 5.1.1alpha+20120614-2.1+b1
I: Retrieving xz-utils 5.1.1alpha+20120614-2.1+b1
I: Validating xz-utils 5.1.1alpha+20120614-2.1+b1
I: Retrieving zlib1g 1:1.2.8.dfsg-2+b2
I: Validating zlib1g 1:1.2.8.dfsg-2+b2
E: Couldn't download packages: coreutils cpp-6 gcc libpam-runtime libpam0g libpcre3 libsystemd0 libudev1
E: qemu-debootstrap failed
W: Aborting with an error
I: cleaning the build env 
I: removing directory /var/tmp/Debian-Build/Build//3281 and its subdirectories





-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.4axb+ (SMP w/4 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pbuilder depends on:
ii  debconf [debconf-2.0]  1.5.59
ii  debootstrap            1.0.83
ii  dpkg-dev               1.18.10
ii  wget                   1.18-4

Versions of packages pbuilder recommends:
ii  devscripts  2.16.8
ii  eatmydata   105-3
ii  fakeroot    1.21-2
ii  iproute2    4.6.0-4
ii  net-tools   1.60+git20150829.73cef8a-2
ii  sudo        1.8.17p1-2

Versions of packages pbuilder suggests:
ii  cowdancer   0.81
ii  gdebi-core  0.9.5.7

-- debconf information:
  pbuilder/rewrite: false
  pbuilder/nomirror:
  pbuilder/mirrorsite: http://ftp.debian.org/debian/



More information about the Pbuilder-maint mailing list