[fedora-virt] libguestfs and yum
Richard W.M. Jones
rjones at redhat.com
Wed Jul 1 17:00:20 UTC 2009
On Wed, Jul 01, 2009 at 12:50:32PM -0400, David Huff wrote:
> Anyone see any issues with libguestfs and yum working weirdly??
> If I mount an disk image with guestfish and try to install new packages
> with yum, it gives rpmdb errors. However if I "launch" the disk images
> as a guest in a fill virt container like qemu, there are no rpmdb error
> and I can install new packages with yum....
> Also, if I remove the rpmdb and rebuild via guestfish, then yum seems to
> be working fine....
> command "rm -f /var/lib/rpm/__db.004"
> command "rpm --rebuilddb"
> Then yum seems to work:
> command "yum install vim-enhanced"
> It looks like yum is still using something outside of guestfish, anyone
> have any comments/ideas on this??
Strange one. I can tell you that yum cannot be using anything
'outside' the appliance.
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
More information about the Fedora-virt