Please, Yum Yum!
Posted Jul 9, 2006 18:08 UTC (Sun) by
warmcat1 (guest, #31975)
In reply to:
Please, Yum Yum! by fergal
Parent article:
Interview: Jim Gettys (Part II)
> apt does this just fine.
Oh well, more props to apt then.
> Adding a new package does not cause apt to
> refetch the entire database for tha repo.
> I'm not so sure about yum.
I believe the database part of the repo is lighter in the Yum way of doing things, since it goes to the actual packages to get the full metadata.
> There might be some support in rpm or dpkg for a
> difference but it seems more likely that this is
> a debian vs fedora filesystem layout difference.
Yes, the RPM libs know about multiarch and deal with it, but yum has to be aware of what is going on. For example:
# rpm -qa --queryformat "%{NAME}-%{VERSION}-%{ARCH}\n" | grep glibc
glibc-2.3.4-i686
glibc-common-2.3.4-x86_64
glibc-2.3.4-x86_64
glibc-kernheaders-2.4-x86_64
glibc-devel-2.3.4-x86_64
glibc-headers-2.3.4-x86_64
There are two packages called "glibc" of the same version installed in the one box, for example... yum or whatever has to be aware that only the one matching the arch of a new package is a resolution for it, that the -devel package only matches the package with the same arch, etc. Put another way you can have the x86_64 set of libs needed by a package, but if that package is coming in as i686 it is NOT a resolution. Thinking about it the complaints I heard were probably specific to the RPM port of apt and may not say anything about apt's native multiarch powers.
(
Log in to post comments)