Re: How does yum consider a package "unique"?
Satoshi Yagi <[email protected]> Mon, 27 Jul 2015 20:03:55 -0700
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
--===============1092709290584360075== Content-Type: multipart/alternative; boundary="_408e74ee-6b48-4684-a0f2-be034e926ec2_" --_408e74ee-6b48-4684-a0f2-be034e926ec2_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable It's kinda hard to describe=2C but my Fedora22 system at home has: bzip2-libs-1.0.6-14.fc22.i686 bzip2-libs-1.0.6-14.fc22.x86_64 I didn't force the installation of these packages=2C but these co-exist jus= t fine because (I presume) <name>.<arch> pair is different. I understand that pkgid (checksum) of the package is unique=2C but that's u= nique for pretty much anything=2C yet yum understands to "upgrade" certain = packages instead of installing side-by-side. That was the gist of my question. If it isn't <name>.<arch>=2C I'd like to= know what it is. Satoshi > To: [email protected] > From: [email protected] > Date: Mon=2C 27 Jul 2015 10:57:33 -0400 > Subject: Re: [Yum] How does yum consider a package "unique"? >=20 > Satoshi Yagi <[email protected]> writes: >=20 > > Hi=2C > > > > Looking at the explanation on filelists.xml.gz on this site http://www.= slashroot.in/yum-repository-and-package-management-complete-tutorial=2C > > > > <package pkgid=3D"deee52b24486906ee52576ee471b57061ccd5544" name=3D"php= -mbstring" arch=3D"i386"> > > > > My gut feeling is that yum uses name.arch combination to uniquely ident= ify a package. Could anyone confirm if this is correct? >=20 > It depends what you mean by "unique"=2C but it's never just n.a. > In the above xml fragment=2C 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.). >=20 > --=20 > James Antill -- [email protected] > _______________________________________________ > Yum mailing list > [email protected] > http://lists.baseurl.org/mailman/listinfo/yum = --_408e74ee-6b48-4684-a0f2-be034e926ec2_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <style><!-- .hmmessage P { margin:0px=3B padding:0px } body.hmmessage { font-size: 12pt=3B font-family:Calibri } --></style></head> <body class=3D'hmmessage'><div dir=3D'ltr'>It's kinda hard to describe=2C b= ut my Fedora22 system at home has:<br><br>bzip2-libs-1.0.6-14.fc22.i686<br>= bzip2-libs-1.0.6-14.fc22.x86_64<br><br>I didn't force the installation of t= hese packages=2C but these co-exist just fine because (I presume) <=3Bnam= e>=3B.<=3Barch>=3B pair is different.<br><br>I understand that pkgid = (checksum) of the package is unique=2C but that's unique for pretty much an= ything=2C yet yum understands to "upgrade" certain packages instead of inst= alling side-by-side.<br><br>That was the gist of my question. =3B If it= isn't <=3Bname>=3B.<=3Barch>=3B=2C I'd like to know what it is.<br= ><br>Satoshi<br><br><div>>=3B To: [email protected]<br>>=3B From: j= [email protected]<br>>=3B Date: Mon=2C 27 Jul 2015 10:57:33 -0400<br>>= =3B Subject: Re: [Yum] How does yum consider a package "unique"?<br>>=3B = <br>>=3B Satoshi Yagi &[email protected]>=3B writes:<br>>= =3B <br>>=3B >=3B Hi=2C<br>>=3B >=3B<br>>=3B >=3B Looking at th= e explanation on filelists.xml.gz on this site http://www.slashroot.in/yum-= repository-and-package-management-complete-tutorial=2C<br>>=3B >=3B<br>= >=3B >=3B <=3Bpackage pkgid=3D"deee52b24486906ee52576ee471b57061ccd55= 44" name=3D"php-mbstring" arch=3D"i386">=3B<br>>=3B >=3B<br>>=3B &g= t=3B My gut feeling is that yum uses name.arch combination to uniquely iden= tify a package. Could anyone confirm if this is correct?<br>>=3B <br>>= =3B It depends what you mean by "unique"=2C but it's never just n.a.<br>&g= t=3B In the above xml fragment=2C pkgid would be the most unique thing as<= br>>=3B that's the checksum of the package file (that's not completely un= ique<br>>=3B though because you can have the same package file in two dif= ferent<br>>=3B repos.).<br>>=3B <br>>=3B -- <br>>=3B James Antill -= - [email protected]<br>>=3B _______________________________________________<b= r>>=3B Yum mailing list<br>>=3B [email protected]<br>>=3B http://= lists.baseurl.org/mailman/listinfo/yum<br></div> </div></body> </html>= --_408e74ee-6b48-4684-a0f2-be034e926ec2_-- --===============1092709290584360075== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Yum mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum --===============1092709290584360075==--