Re: How does yum consider a package "unique"?

James Antill <[email protected]> Mon, 27 Jul 2015 10:57:33 -0400
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Satoshi Yagi <[email protected]> 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 -- [email protected]