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

Debootstrap



Hello

I have some trouble getting debootstrap, fakeroot and fakechroot
working together. Any suggestions on what i am doing wrong?

$ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin
$ fakeroot -s fakechroot.save fakechroot debootstrap
--variant=fakechroot squeeze /tmp/debian-squeeze
http://ftp.debian.org/debian

Packages are now downloaded, extracted etc. as expected until the
following occurs:

-----
I: Unpacking libattr1...
I: Unpacking base-files...
I: Unpacking base-passwd...
I: Unpacking bash...
I: Unpacking binutils...
I: Unpacking libz2-1.0...
I: Unpacking coreutils...
W: Failure while unpacking required packages. This will be attempted
up to five times.
-----

Last four lines of debootstrap.log:

-----
Preparing to replace coreutils 8.5-1 (using .../coreutils_8.5-1_i386.deb) ...
Unpacking replacement coreutils ...
dpkg: ../../src/archives.c:823: tarobject: Assertion `r == stab.st_size' failed.
Aborted
-----

System details:

-----
Debian 6.0 (Squeeze)

fakeroot version 1.14.4
fakechroot version 2.9
debootstrap version 1.0.26
-----


Reply to: