> >It looks like this might be a bug, but nobody noticed because nothing >uses PackageSack directly (things either inherit from it, or use >ListPackageSack). I missed ListPackageSack; I'll go look at it, thanks. >> - is there a straight forward way to create a host-independent yumbase >> instance? Since I want to use existing yum repos as part of the >> dependency check, I'm creating a yum.conf file on the fly that lists the >> given repos, and disables plugins, etc. This feels relatively heavy >> weight. > > Not really sure what you mean here ... you can create a yumbase with >an empty rpmdb (or, even, a "fake" one), and you can tweak the >arch/releasever/etc. ... but you have to have something. Right; I do create the instance pointing to some existing repo's, so I have something to put into the yumbase initially. I was just checking if there is a better way to do this than to create a yum.conf configuration file, on the fly, for each run. Mock does this, by including a yum.conf template in its configuration, so I'm assuming not. _______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxx http://lists.baseurl.org/mailman/listinfo/yum