In article <1073424901.10348.54.camel@opus>, seth vidal <yum@xxxxxxxxxxxxxxxxxxxx> wrote: > > > My original questions is whether it's possible -- in one shot -- to get a > > list of all packages in configured repositories, whether or not they are > > installed on the system. I.e., a sort of "list repository" option. > > > > As it is, in order to get that full list, I currently run yum three times, > > and then use perl to munge the lists. The set of "available" plus the set > > of "installed" minus the set of "extra" comprises the list of all packages > > on the configured repositories. Since, presumably, yum has that list in > > order to compute available and updated packages in the first place, I > > wanted to know if there is a list option (perhaps undocumented) to just > > dump that list as a whole. > > Well, I'd hope anyone writing a frontend wouldn't be screen scraping. What's the proper way? > you could just parse the /var/cache/yum/*/header.info > > and get the lists that way. Much easier if yum can do it instead. > but then again all this header.info, etc stuff will be moot before long > anyway. Which brings us back to a "list repository" feature in yum itself. Seth, what is your opinion on implementing such a feature? Cheers, Tony -- Tony Mountifield Work: tony@xxxxxxxxxxxxx - http://www.softins.co.uk Play: tony@xxxxxxxxxxxxxxx - http://tony.mountifield.org