Re: Can yum show a listing of just the locally installed packages?
Gerry Reno <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
Seth Vidal wrote: > > > On Thu, 19 Mar 2009, Gerry Reno wrote: > >> Seth Vidal wrote: >>> >>> >>> On Thu, 19 Mar 2009, Gerry Reno wrote: >>> >>>> Seth Vidal wrote: >>>>> >>>>> >>>>> On Thu, 19 Mar 2009, Gerry Reno wrote: >>>>> >>>>>> Hi, >>>>>> Can yum show me just the list of locally installed packages? I >>>>>> create my own versions of packages with specific options setup >>>>>> and I install these locally on some of my machines. So I was >>>>>> hoping that there was a way for yum to show me a listing of just >>>>>> my locally installed packages. >>>>> >>>>> yum list installed >>>>> >>>>> is that what you mean? >>>>> >>>>> -sv >>>> Seth, >>>> Not exactly. That shows me everything that is installed no matter >>>> where it came from. I'm just wanting the list of packages that I >>>> installed using 'localinstall' or 'localupdate'. >>>> >>> >>> yum list extras >>> >>> -sv >> Ok, I just got done trying 'yum list extras' and it shows me a whole >> big long list of packages which I guess are still installed but no >> longer available from the repositories. So no, extras doesn't help here. > > Then there's no way to show the localinstalls, unless you have a > specialized release tag for them - or other unique characterstic. > > -sv Yeah, I was afraid that was the case. I'd tried about everything in the man page. Suggestion: What would be great from the standpoint of yum metadata is if we could query yum and have it tell us what repository delivered each package. Something like: # yum list installed Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile * fedora: ftp-stud.hs-esslingen.de * updates: ftp-stud.hs-esslingen.de fedora 100% |=========================| 2.1 kB 00:00 updates 100% |=========================| 2.3 kB 00:00 Installed Packages yum.noarch 3.2.8-2.fc7 installed fedora yum-fastestmirror.noarch 1.1.11-1.fc7 installed fedora-updates yum-metadata-parser.i386 1.1.0-2.fc7 installed fedora-updates yum-updatesd.noarch 3.2.8-2.fc7 installed fedora-updates yum-versionlock.noarch 1.1.11-1.fc7 installed local Regards, Gerry