Hello everyone,
I am playing around with Roberto Sanchez's Debian Package
Customization HOWTO on
http://familiasanchez.net/~roberto/?page=debcustomize. This is
failing for me at the first step already: pbuilder create.
To capture the output I used the following line:
sudo pbuilder create > output.std 2> output.err
This results in almost as much error output as normal output, which
isn't too comforting:
$ wc -l output.*
626 output.err
760 output.std
output.err:
-------------------
dpkg: base-passwd: dependency problems, but configuring anyway as you request:
base-passwd depends on libc6 (>= 2.3.2.ds1-4); however:
Package libc6 is not installed.
dpkg: base-files: dependency problems, but configuring anyway as you request:
base-files depends on awk; however:
Package awk is not installed.
/var/lib/dpkg/info/base-files.postinst: line 8: /dev/null: Permission denied
/var/lib/dpkg/info/base-files.postinst: line 9: /dev/null: Permission denied
(...)
dpkg: libc6: dependency problems, but configuring anyway as you request:
libc6 depends on libdb1-compat; however:
Package libdb1-compat is not installed.
/var/lib/dpkg/info/libc6.postinst: line 97: /dev/null: Permission denied
/var/lib/dpkg/info/libc6.postinst: line 99: /dev/null: Permission denied
/var/lib/dpkg/info/libc6.postinst: line 1: /dev/null: Permission denied
/var/lib/dpkg/info/libc6.postinst: line 1: /dev/null: Permission denied
(...)
dpkg: warning - ignoring pre-dependency problem !
Errors were encountered while processing:
/var/cache/apt/archives/bash_2.05b-26_i386.deb
/var/cache/apt/archives/e2fsprogs_1.37-2sarge1_i386.deb
W: Failure while unpacking required packages. This will be attempted up to five times.
umount: /var/cache/pbuilder/build/14648/./dev/pts: not found
umount: /var/cache/pbuilder/build/14648/./dev/shm: not found
umount: /var/cache/pbuilder/build/14648/./proc/bus/usb: not mounted
pbuilder: debootstrap failed
output.std looks better of course and starts like this:
W: /home/maurits/.pbuilderrc does not exist
Distribution is sarge.
Building the build environment
-> running debootstrap
I: Retrieving debootstrap.invalid_dists_sarge_Release
I: Validating debootstrap.invalid_dists_sarge_Release
I: Retrieving debootstrap.invalid_dists_sarge_main_binary-i386_Packages
I: Validating debootstrap.invalid_dists_sarge_main_binary-i386_Packages
I: Checking apt...
I: Checking base-files...
and ends with:
Preparing to replace zlib1g 1:1.2.2-4 (using .../zlib1g_1%3a1.2.2-4_i386.deb) ...
Unpacking replacement zlib1g ...
-> Aborting with an error
-> cleaning the build env
-> removing directory /var/cache/pbuilder/build//14648 and its subdirectories
After all is done I am left with just the two files mentioned and
nothing else, so it doesn't quite work for me. My system is sarge and
the system I try to let pbuilder create is also sarge.
The uncommented lines from /etc/pbuilderrc are:
BASETGZ=/var/cache/pbuilder/base.tgz
BUILDPLACE=/var/cache/pbuilder/build/
MIRRORSITE=ftp://download.xs4all.nl/pub/mirror/debian/
USEPROC=yes
USEDEVPTS=yes
USEDEVFS=no
BUILDRESULT=/var/cache/pbuilder/result/
DISTRIBUTION=sarge
APTCACHE="/var/cache/pbuilder/aptcache/"
APTCACHEHARDLINK="yes"
REMOVEPACKAGES="lilo"
HOOKDIR=""
export DEBIAN_FRONTEND="noninteractive"
DEBEMAIL="Maurits van Rees <maurits@vanrees.org>"
BUILDSOURCEROOTCMD="fakeroot"
PBUILDERROOTCMD="sudo"
DEBBUILDOPTS="-mMaurits van Rees <maurits@vanrees.org>"
APTCONFDIR="/etc/apt/"
BUILDUSERID=1234
DEBOOTSTRAPOPTS[0]='--variant=buildd'
I tried this a while ago as well, tried some different settings, tried
as root, tried adding ~/.pbuilderrc, tried adding "--extrapackages
libc6 awk dselect libdb1-compat" to the command line, as pbuilder
complained about these packages, but the output indicated that they
were being installed even without that addition.
Is there something wrong with the /dev that is being build? I tried
adding BINDMOUNTS="/dev" but that didn't work out.
What could be wrong? I would appreciate any help.
--
Maurits van Rees | http://maurits.vanrees.org/ [Dutch/Nederlands]
Public GnuPG key: http://maurits.vanrees.org/var/gpgkey.asc
"It can seem like you're doing just fine,
but the creep's creeping into your mind." - Neal Morse
Attachment:
signature.asc
Description: Digital signature