Mock chroot question

John Morris jmorris at beau.org
Fri Apr 7 15:48:43 UTC 2006


On Fri, 2006-04-07 at 03:29, Ivan Gyurdiev wrote:

> Caveat: the chroot rpm database doesn't seem to play nice with the 
> chroot rpm command [ different db version? ]
> What can I do to fix this issue - I want to update my chroot rpms, and 
> install new ones [ like yum, and vi ].

After the initial load, from the top of the chroot do:

rm -f ./var/lib/rpm/__db.*
setarch i386 /usr/sbin/chroot . rpm --rebuilddb

>From that point on use the yum/rpm command inside the chroot to
manipulate packages.

-- 
John M.      http://www.beau.org/~jmorris     This post is 100% M$Free!
Geekcode 3.1:GCS C+++ UL++++$ P++ L+++ W++ w--- Y++ b++ 5+++ R tv- e* r





More information about the fedora-test-list mailing list