[Yum] How does yum consider a package "unique"?

James Antill james-yum at and.org
Mon Jul 27 14:57:33 UTC 2015


Satoshi Yagi <marseille07 at hotmail.com> writes:

> Hi,
>
> Looking at the explanation on filelists.xml.gz on this site http://www.slashroot.in/yum-repository-and-package-management-complete-tutorial,
>
> <package pkgid="deee52b24486906ee52576ee471b57061ccd5544" name="php-mbstring" arch="i386">
>
> My gut feeling is that yum uses name.arch combination to uniquely identify a package.  Could anyone confirm if this is correct?

 It depends what you mean by "unique", but it's never just n.a.
 In the above xml fragment, pkgid would be the most unique thing as
that's the checksum of the package file (that's not completely unique
though because you can have the same package file in two different
repos.).

-- 
James Antill -- james at and.org


More information about the Yum mailing list