Guido Günther wrote:
On Thu, Jul 30, 2009 at 11:03:18PM +0000, Piavlo wrote:
> Guido Günther wrote:
>
> Looks like the real problem is due to debootstrap's
> --variant=fakechroot not detecting any base dependencies - Full
> details below.
>
I'm getting confused. So debootstrap on it's own (run as root) works as
expected?
I run all commands below manually as root.
These two work ok:
/usr/sbin/debootstrap --variant=minbase
--keyring=/usr/share/keyrings/debian-archive-keyring.gpg --include=less
--exclude=apt-utils,bsdmainutils,cron,ed,info,logrotate,man-db,manpages,tasksel,tasksel-data,tcpd,traceroute
lenny debian/root
http://ftp.debian.org/debian/
/usr/sbin/debootstrap --variant=buildd
--keyring=/usr/share/keyrings/debian-archive-keyring.gpg --include=less
--exclude=apt-utils,bsdmainutils,cron,ed,info,logrotate,man-db,manpages,tasksel,tasksel-data,tcpd,traceroute
lenny debian/root
http://ftp.debian.org/debian/
While this one not work as expected and fails:
fakechroot /usr/sbin/debootstrap --variant=fakechroot --print-debs
--keyring=/usr/share/keyrings/debian-archive-keyring.gpg --include=less
--exclude=apt-utils,bsdmainutils,cron,ed,info,logrotate,man-db,manpages,tasksel,tasksel-data,tcpd,traceroute
lenny debian/root
http://ftp.debian.org/debian/
It fails since with fakechroot it does not find any additional base
dependencies - so it fails with:
I: Installing core packages...
W: Failure trying to run: chroot
/var/tmp/portage/app-emulation/libguestfs-1.0.64/work/libguestfs-1.0.64/appliance/debian/root
dpkg --force-depends --install
/var/cache/apt/archives/base-files_5lenny3_amd64.deb
/var/cache/apt/archives/base-passwd_3.5.20_amd64.deb
Thanks
Alex