Bug#731859: debootstrap: variant=fakechroot fails
control: tags -1 +unreproducible On Tue, 10 Dec 2013 15:48:33 +0100 Johannes Schauer wrote: > Package: debootstrap > Version: 1.0.55 > Severity: normal > > Running debootstrap under Debian Sid yields: > > $ fakeroot fakechroot debootstrap --verbose --variant=fakechroot sid > debian-sid > [...] > I: Installing core packages... > W: Failure trying to run: chroot /home/josch/debian-sid dpkg --force-depends > --install /var/cache/apt/archives/base-files_7.2_amd64.deb > /var/cache/apt/archives/base-passwd_3.5.28_amd64.deb > W: See /home/josch/debian-sid/debootstrap/debootstrap.log for details > (possibly the package archive is at fault) It was succeeded on my box. $ dpkg --status debootstrap Package: debootstrap Status: install ok installed Priority: extra Section: admin Installed-Size: 227 Maintainer: Debian Install System Team Architecture: all Version: 1.0.55 Depends: wget Recommends: gnupg, debian-archive-keyring Description: Bootstrap a basic Debian system debootstrap is used to create a Debian base system from scratch, without requiring the availability of dpkg or apt. It does this by downloading .deb files from a mirror site, and carefully unpacking them into a directory which can eventually be chrooted into. $ fakeroot fakechroot debootstrap --verbose --variant=fakechroot sid debian-sid (snip) I: Configuring systemd... I: Base system installed successfully. $ echo $? 0
Bug#731859: debootstrap: variant=fakechroot fails
Hi josch, I am currently encountering the same problem with version: debootstrap 1.0.40~ubuntu0.7 using wheezy instead of sid and without using fakeroot fakechroot, but directly using sudo. the strange thing is that this exact same error comes when debootstrap is called from a script. But calling the same debootstrap command in a terminal finishes without any error. did you realize further investigation on this bug? Best Regards -- Eric Keller On Tue, 10 Dec 2013 15:48:33 +0100 Johannes Schauer wrote: > Package: debootstrap > Version: 1.0.55 > Severity: normal > > Running debootstrap under Debian Sid yields: > > $ fakeroot fakechroot debootstrap --verbose --variant=fakechroot sid debian-sid > [...] > I: Installing core packages... > W: Failure trying to run: chroot /home/josch/debian-sid dpkg --force-depends --install /var/cache/apt/archives/base-files_7.2_amd64.deb /var/cache/apt/archives/base-passwd_3.5.28_amd64.deb > W: See /home/josch/debian-sid/debootstrap/debootstrap.log for details (possibly the package archive is at fault) > > And the last lines of the log say: > > dpkg: warning: parsing file '/var/lib/dpkg/status' near line 5 package 'dpkg': > missing description > dpkg: warning: parsing file '/var/lib/dpkg/status' near line 5 package 'dpkg': > missing architecture > dpkg: regarding .../base-files_7.2_amd64.deb containing base-files, pre-dependency problem: > base-files pre-depends on awk > awk is not installed. > > dpkg: warning: ignoring pre-dependency problem! > Selecting previously unselected package base-files. > (Reading database ... 0 files and directories currently installed.) > Preparing to unpack .../base-files_7.2_amd64.deb ... > Unpacking base-files (7.2) ... > rm: cannot remove '/var/lib/dpkg/tmp.ci': Directory not empty > dpkg: error while cleaning up: > subprocess rm cleanup returned error exit status 1 > rm: cannot remove '/var/lib/dpkg/tmp.ci': Directory not empty > dpkg: error processing archive /var/cache/apt/archives/base-passwd_3.5.28_amd64.deb (--install): > subprocess rm cleanup returned error exit status 1 > dpkg: base-files: dependency problems, but configuring anyway as you requested: > base-files depends on awk; however: > Package awk is not installed. > > chown: invalid user: 'root:root' > dpkg: error processing package base-files (--install): > subprocess installed post-installation script returned error exit status 1 > Errors were encountered while processing: > /var/cache/apt/archives/base-passwd_3.5.28_amd64.deb > base-files > Setting up base-files (7.2) ...
Bug#731859: debootstrap: variant=fakechroot fails
Package: debootstrap Version: 1.0.55 Severity: normal Running debootstrap under Debian Sid yields: $ fakeroot fakechroot debootstrap --verbose --variant=fakechroot sid debian-sid [...] I: Installing core packages... W: Failure trying to run: chroot /home/josch/debian-sid dpkg --force-depends --install /var/cache/apt/archives/base-files_7.2_amd64.deb /var/cache/apt/archives/base-passwd_3.5.28_amd64.deb W: See /home/josch/debian-sid/debootstrap/debootstrap.log for details (possibly the package archive is at fault) And the last lines of the log say: dpkg: warning: parsing file '/var/lib/dpkg/status' near line 5 package 'dpkg': missing description dpkg: warning: parsing file '/var/lib/dpkg/status' near line 5 package 'dpkg': missing architecture dpkg: regarding .../base-files_7.2_amd64.deb containing base-files, pre-dependency problem: base-files pre-depends on awk awk is not installed. dpkg: warning: ignoring pre-dependency problem! Selecting previously unselected package base-files. (Reading database ... 0 files and directories currently installed.) Preparing to unpack .../base-files_7.2_amd64.deb ... Unpacking base-files (7.2) ... rm: cannot remove '/var/lib/dpkg/tmp.ci': Directory not empty dpkg: error while cleaning up: subprocess rm cleanup returned error exit status 1 rm: cannot remove '/var/lib/dpkg/tmp.ci': Directory not empty dpkg: error processing archive /var/cache/apt/archives/base-passwd_3.5.28_amd64.deb (--install): subprocess rm cleanup returned error exit status 1 dpkg: base-files: dependency problems, but configuring anyway as you requested: base-files depends on awk; however: Package awk is not installed. chown: invalid user: 'root:root' dpkg: error processing package base-files (--install): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/base-passwd_3.5.28_amd64.deb base-files Setting up base-files (7.2) ... cheers, josch -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org