On Thu, Jul 30, 2009 at 12:29:53PM +0100, Richard W.M. Jones wrote:
DEBIRF_KEYRING=/etc/apt/trusted.gpg make
Also you need to add 'gpgv' to appliance/packagelist.in. Even if it's installed outside the fakeroot, debootstrap wants it inside the fakeroot too so it can check signatures. You need to export DEBIRF_KEYRING=/etc/apt/trusted.gpg
From now on I see multiple different failures, but they all seem to be failures/bugs in debootstrap.
Stepping back from libguestfs, debootstrap fails for me: fakeroot fakechroot debootstrap --variant=fakechroot X /tmp/root FAILS for X in lenny, jaunty, sid works for X in intrepid This command: ./autogen.sh \ --enable-debug-command \ --with-drive-if=virtio \ --with-repo=intrepid \ --with-mirror=http://archive.ubuntu.com/ubuntu DEBIRF_KEYRING=/etc/apt/trusted.gpg make fails at: W: Failure trying to run: chroot /home/rjones/d/libguestfs/appliance/debian/root dpkg --force-depends --install /var/cache/apt/archives/base-files_4.0.4ubuntu2_i386.deb /var/cache/apt/archives/base-passwd_3.5.18_i386.deb This seems to be some known bug in debootstrap. I suggest getting debootstrap working first on Ubuntu ... Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/