[Yum] Specifying rpm database and install root.

seth vidal skvidal at phy.duke.edu
Mon Feb 23 03:14:03 UTC 2004


On Sun, 2004-02-22 at 21:45 -0500, Sergei Mikhailov wrote:

> I sent this message to the list a couple of days ago, but I don't think 
> it ever got posted.
> 
> I wanted to know is there is there a way to tell yum to use a different 
> rpm database and a different install root. Effectively, specify --dbpath 
> and --root rpm options.
> 

you can't change both - but yum --installroot=/some/path

that will assume that / == /some/path and the rpmdb == /some/path/var/
lib/rpm

-sv




More information about the Yum mailing list