On Mon, Dec 21, 2009 at 10:15:34PM +0100, Guido Günther wrote:
> Hi,
> running:
> 
> $ fakeroot fakechroot /usr/sbin/debootstrap --variant=fakechroot sid bla
> 
> (something like this is used by debirf to create the initramfs)
> currently fails with:
> 
> preparing to replace coreutils 8.1-1 (using .../coreutils_8.1-1_i386.deb) ...
> Unpacking replacement coreutils ...
> dpkg: ../../src/archives.c:754: tarobject: Assertion `r == stab.st_size' 
> failed.
> Aborted (core dumped)
> 
> The code in dpkg that fails is:
> > if (r < 0)
> > r = readlink(fnamevb.buf, symlinkfn.buf, symlinkfn.size);
> > if (r < 0)
> >    ohshite(_("unable to read link `%.255s'"), ti->Name);
> > assert(r == stab.st_size);

Where does stab come from and what kind of stat call populates it?

> Running the same without fakeroot (as root) works as expected. Any
> ideas?

You mean running debootstrap as root or running fakechroot
debootstrap as root?



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to