[Yum] Specifying alternative DB paths with Yum

Matthew Miller mattdm at mattdm.org
Fri Jul 15 15:12:53 UTC 2005


On Fri, Jul 15, 2005 at 10:39:05AM -0400, Jeremy Redburn wrote:
> It's part of a larger project in which we'd like to store the RPM
> databases for our entire cluster on a central machine or two. The
> eventual idea is to do the dependency checking on the central node(s)
> in order to determine which of our machines we want to install a newly
> required application onto.
> 
> I might be able to shoehorn --installroot into doing what I'm looking
> for, but might have better luck patching the code to accept a new conf
> option.

If you're feeling really ambitious... I haven't looked at it at all, but I
understand that recent versions of RPM (maybe only the very most recent) can
use a sqlite backend. It may be interesting to extend that into a
networked-database backend.



> Also, is there a dry-run option available? ie. I want to install vim,
> please tell me what would be installed but don't actually download or
> install anything?

Yes -- run it, and say "no" when it asks you to confirm. :)

-- 
Matthew Miller           mattdm at mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 78 degrees Fahrenheit.



More information about the Yum mailing list