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??
Thanks, David
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.
Rich.