[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#631390: debootstrap: Installing core packages failes in fakechroot variant



Package: debootstrap
Version: 1.0.32
Severity: important

Hi

I am having problems with debootstrap (1.0.32) in conjunction with the
fakechroot variant. I am using the same commands as the example in the
fakechroot(1) manual:

$ export
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
$ export FAKECHROOT_CMD_SUBST=/usr/bin/mkfifo=/bin/true:/sbin/insserv=/bin/true
$ fakeroot fakechroot /usr/sbin/debootstrap --variant=fakechroot sid sidchroot/

This prints:
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
I: Valid Release signature (key id 9FED2BCBDCD29CDF762678CBAED4B06F473041FA)
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional required dependencies: insserv libbz2-1.0 libdb5.1
libslang2 multiarch-support
I: Found additional base dependencies: libnfnetlink0 libsqlite3-0
I: Checking component main on http://ftp.de.debian.org/debian...
I: Validating libacl1
I: Validating adduser
I: Validating apt
.......
I: Extracting liblzma2...
I: Extracting xz-utils...
I: Extracting zlib1g...
I: Installing core packages...
W: Failure trying to run: chroot /home/ebaum/dhexperiment/sidchroot dpkg
--force-depends --install /var/cache/apt/archives/base-files_6.4_amd64.deb
/var/cache/apt/archives/base-passwd_3.5.22_amd64.deb

The file sidchroot/debootstrap/debootstrap.log afterwards contains:
gpgv: Signature made Thu Jun 23 10:21:04 2011 CEST using RSA key ID 473041FA
gpgv: Good signature from "Debian Archive Automatic Signing Key (6.0/squeeze)
<ftpmaster@debian.org>"
dpkg: error: unable to access dpkg status area: No such file or directory

The error looks similar to the one reported in #493065 and #588773. The
difference is the error in the log-file.

Besides this, the directory sidchroot is not an NFS share or similar as
reported in some other bug-reports. In addition, sidchroot/var/lib/dpkg/status
is existing and contains:
Package: dpkg
Version: 1.16.0.3
Maintainer: unknown
Status: install ok installed

Using debootstrap with another variant works fine.

Maybe you can help here.
Thanks in advance.
Sebastian



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

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

Versions of packages debootstrap depends on:
ii  wget                          1.12-3.1   retrieves files from the web

Versions of packages debootstrap recommends:
ii  debian-archive-keyring        2010.08.28 GnuPG archive keys of the Debian a
ii  gnupg                         1.4.11-3   GNU privacy guard - a free PGP rep

debootstrap suggests no packages.

-- no debconf information




Reply to: