[Yum] Re: wishlist for yum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



seth vidal wrote:
> On Fri, 2004-06-11 at 17:27 -0500, Jordan Russell wrote:
> 
>>Farkas Levente wrote:
>>
>>>- list all packages which do not comes from the given repository or the 
>>>repositories in the yum.conf. this is something similar to 'yum list 
>>>extras' but with a much stronger check. ie. if I install mozila from 
>>>dag's repo then list as an extra, so do not check just the name.
>>
>>I could really use this functionality as well.
>>
> 
> 
> so how does yum know what repository an installed package came from?

it can check/compare the pkgid of the packages in the repos and the 
installed ones.
eg: (but can be more faster and clever then this)
# rpm -qp --queryformat "%-20{NAME} %{PKGID}\n" 
/mnt/download/mirror/fedora/2/i386/os/Fedora/RPMS/mozilla-1.6-8.i386.rpm
mozilla              d2978807d0b42d5219a503b6da6e9782

# rpm -q --queryformat "%-20{NAME} %{PKGID}\n" mozilla
mozilla              d2978807d0b42d5219a503b6da6e9782



-- 
   Levente                               "Si vis pacem para bellum!"


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux