LANNUZEL Anthony IT&L@bs
2009-Jul-30 09:46 UTC
[Libguestfs] Re: error when compiling libguestfs on Ubuntu 9.04
> Install debian-archive-keyring: > > http://packages.debian.org/sid/debian-archive-keyring > > Debirf wants to pass it to debootstrap for verification. The other > possibility is to try to build an Ubuntu based appliance instead of a > Debian based one with: > > /configure --with-repo=karmic --with-mirror=<your_ubuntu_mirror>Hi, I just got the same issue, and tried your advices. After installing debian-archive-keyring, I ran the following command: ./configure --with-repo=jaunty --with-mirror=http://fr.archive.ubuntu.com/ubuntu but when I run "make" I get the following error: Loading profile 'debian'... debirf: clearing old debirf root... debirf: creating debirf root... failed to open configuration file `/root/.dpkg.cfg' for reading: Permission denied So I run "make" as root, even if it is not recommended. Now I get the following error: debirf: creating debirf root... I: Retrieving Release I: Retrieving Release.gpg I: Checking Release signature E: Release signed by unknown key (key id 40976EAF437D05B5) I ran the following commands but I still get the same error: gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 40976EAF437D05B5 gpg --export 437D05B5 >> ~/.gnupg/trustedkeys.gpg sudo apt-key add ~/.gnupg/pubring.gpg sudo apt-get update -o Acquire::http::No-Cache=True Any hints ? Regards Anthony
Richard W.M. Jones
2009-Jul-30 10:56 UTC
[Libguestfs] Re: error when compiling libguestfs on Ubuntu 9.04
On Thu, Jul 30, 2009 at 11:46:00AM +0200, LANNUZEL Anthony IT&L at bs wrote:> ./configure --with-repo=jaunty > --with-mirror=http://fr.archive.ubuntu.com/ubuntuI'm just trying to build this on Ubuntu here. I'll let you know how that goes. I think we should document the required packages for each platform and have suggested configure scripts too, eg: --- README.Fedora Install packages: febootstrap, X, Y and Z Configure with: ./configure --enable-supermin --with-mirror=... etc --------- Thoughts? Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones New in Fedora 11: Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 70 libraries supprt'd http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
Richard W.M. Jones
2009-Jul-30 11:29 UTC
[Libguestfs] Re: error when compiling libguestfs on Ubuntu 9.04
On Thu, Jul 30, 2009 at 11:46:00AM +0200, LANNUZEL Anthony IT&L at bs wrote:> but when I run "make" I get the following error: > > Loading profile 'debian'... > debirf: clearing old debirf root... > debirf: creating debirf root... > failed to open configuration file `/root/.dpkg.cfg' for reading: > Permission deniedI got further than this. Make sure you haven't run 'make' as root (rm -rf and reclone git to make sure). However you *will* need this: DEBIRF_KEYRING=/etc/apt/trusted.gpg make> So I run "make" as root, even if it is not recommended. Now I get the > following error:Never run make as root. Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top