Bug#608636: pbuilder: Bad interaction with apt's valid-until checks

Josef Spillner 2005 at kuarepoti-dju.net
Sun Jan 2 10:50:00 UTC 2011


Package: pbuilder
Version: 0.199
Severity: normal

According to bug report #595801, snapshot.debian.org retains valid-until headers which cause apt-get update to always produce a failure with exit code 100.
When building a distribution with pbuilder/cowbuilder from a snapshot.d.o archive, the pbuilder --update call also fails as a consequence:

 E: Release file expired, ignoring http://localhost:3142/snapshot.debian.org/archive/debian/20101218T083823Z/dists/squeeze/Release (invalid since 8d 2h 35min 41s)

Now it is arguable if snapshot.d.o should adapt the valid-until header or if apt-get should provide better override support. However, in the meantime, it seems
that using the option -o 'Acquire::Check-Valid-Until=false' to apt-get update is the only way to work around the problem. Unfortunately, there seems to be
no easy way to inject this option from an invocation to pbuilder --update. Could there be another command line option to add apt-get configuration options?

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pbuilder depends on:
ii  coreutils                     8.5-1      GNU core utilities
ii  debconf [debconf-2.0]         1.5.36     Debian configuration management sy
ii  debianutils                   3.4        Miscellaneous utilities specific t
ii  debootstrap                   1.0.26     Bootstrap a basic Debian system
ii  wget                          1.12-2.1   retrieves files from the web

Versions of packages pbuilder recommends:
ii  devscripts                    2.10.69    scripts to make the life of a Debi
ii  fakeroot                      1.14.4-1   Gives a fake root environment
ii  sudo                          1.7.4p4-2  Provide limited super user privile

Versions of packages pbuilder suggests:
ii  cowdancer                     0.62+nmu2  Copy-on-write directory tree utili
pn  gdebi-core                    <none>     (no description available)
ii  pbuilder-uml                  0.199      user-mode-linux version of pbuilde

-- debconf information excluded





More information about the Pbuilder-maint mailing list