Bug#537947: pbuilder create fails
Brian Potkin
claremont102 at gmail.com
Tue Jul 21 22:00:58 UTC 2009
Package: pbuilder
Version: 0.181
Severity: normal
This is a new pbuilder setup with a ~/.pbuilderrc containing
OTHERMIRROR="deb file:/var/cache/pbuilder/result ./"
BINDMOUNTS="/var/cache/pbuilder/result
-------------------------------------------------------------------------
josie at laptop:~$ sudo pbuilder create
Distribution is lenny.
Building the build environment
-> running cdebootstrap
/usr/bin/cdebootstrap
P: Retrieving Release
P: Retrieving Release.gpg
P: Validating Release
I: Good signature from "Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster at debian.org>"
I: Good signature from "Lenny Stable Release Key <debian-release at lists.debian.org>"
P: Parsing Release
P: Retrieving Packages.gz
P: Validating Packages.gz
P: Parsing Packages
P: Retrieving gcc-4.3-base
P: Validating gcc-4.3-base
P: Retrieving libgcc1
P: Validating libgcc1
P: Retrieving libc6
And more of this until we get:
P: Writing hosts
P: Writing resolv.conf
-> debootstrap finished
-> copying local configuration
-> Installing apt-lines
Refreshing the base.tgz
-> upgrading packages
-> mounting /proc filesystem
-> mounting /dev/pts filesystem
-> Mounting /var/cache/pbuilder/result
-> policy-rc.d already exists
Ign file: ./ Release.gpg
Ign file: ./ Release
Ign file: ./ Packages
Ign file: ./ Packages
Err file: ./ Packages
File not found
Get:1 http://ftp.ticklers.org lenny Release.gpg [1032B]
Get:2 http://ftp.ticklers.org lenny Release [73.6kB]
Get:3 http://ftp.ticklers.org lenny/main Packages [5294kB]
Fetched 5368kB in 20s (264kB/s)
W: Failed to fetch file:/var/cache/pbuilder/result/./Packages File not found
E: Some index files failed to download, they have been ignored, or old ones used instead.
-> Aborting with an error
-> unmounting /var/cache/pbuilder/result filesystem
-> unmounting dev/pts filesystem
-> unmounting proc filesystem
-> cleaning the build env
-> removing directory /var/cache/pbuilder/build//17184 and its subdirectories
---------------------------------------------------------------------------
No base.tgz is created. But if I do
josie at laptop:/var/cache/pbuilder/result$ sudo sh -c "dpkg-scanpackages . /dev/null > Packages"
Wrote 0 entries to output Packages file.
the pbuilder create command is successful.
Maybe it is obvious to a developer but it would be helpful to document the need for a Packages file.
Cheers,
Brian.
-- System Information:
Debian Release: 5.0.2
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages pbuilder depends on:
ii cdebootstrap 0.5.4 Bootstrap a Debian system
ii coreutils 6.10-6 The GNU core utilities
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii debianutils 2.30 Miscellaneous utilities specific t
ii gcc 4:4.3.2-2 The GNU C compiler
ii wget 1.11.4-2 retrieves files from the web
Versions of packages pbuilder recommends:
pn cowdancer <none> (no description available)
pn devscripts <none> (no description available)
ii fakeroot 1.11 Gives a fake root environment
ii sudo 1.6.9p17-2 Provide limited super user privile
Versions of packages pbuilder suggests:
pn pbuilder-uml <none> (no description available)
-- debconf information excluded
More information about the Pbuilder-maint
mailing list