[Yum] Alternative RPM DB paths with Yum

seth vidal skvidal at linux.duke.edu
Mon Jul 10 12:36:03 UTC 2006


On Mon, 2006-07-10 at 11:36 +0200, Henning Markussen wrote:
> Hi
> 
> Is there any way to specify an alternate RPM database in Yum (2.0.8)?
> In RPM there is --dbpath option, where you can specify a other than the
> one in /var/lib/rpm.
> 
> My goal is to save the RPM's from a lot of servers on one central server.
> And on this server see if there is any RPM's that need to be updated.
> 
> Unfortunately not all server's that have Internet access so I can't use
> Yum on the other servers.
> By collecting the RPM on this server I can script through the rpm dirs,
> and find out what servers needs updating.
> 

If your servers have access to a local network then you can setup a
local mirror of the repositories on the net and then they all can act
the same way w/o having to hack around by copying out the rpmdb.

-sv





More information about the Yum mailing list