"debootstrap --variant=fakechroot" does not currently work on squeeze.
It fails with error messages like:
> W: Failure while unpacking required packages. This will be attempted up to five times.
These errors appear to be due to two distinct bugs: #561991 and #588508
Maybe a targeted patch of these two bugs in fakechroot is a good
candidate for the next point release of squeeze?
I'm attaching a debdiff against what is currently in stable (2.9-1.1).
i tested this as a non-privileged user on an i386 squeeze environment with:
mkdir root
PATH=/sbin:/usr/sbin:$PATH fakeroot \
-i $(pwd)/fakeroot.state \
-s $(pwd)/fakeroot.state \
fakechroot \
debootstrap --variant=fakechroot squeeze root
Without these patches applied, the base fakechroot does not succeed.
With these patches applied, it completes successfully.
I also tried fixing only one bug or the other, but debootstrap failed to
complete without both fixes together, so i think they are both necessary.
I ran into these bugs while building debirf images. It would be nice
for users of debian stable to not have to use a backported fakechroot
for debirf.
I do not believe these fixes have any adverse affect on other uses of
fakechroot.
Is there anything else you need from me in order to consider this
request for a future point release?
Regards,
--dkg
PS i am not subscribed to debian-release -- please CC me on replies.
thanks!