duplicate RPMs on an AMD64 box (was: Multiple arch rpm install in EM64T)

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

 



On Friday 31 December 2004 01:45, John Lau wrote:
> I am using RedHat WS3 on a EM64T. And I found that it installs both
> x86_64 and i386 rpms of some softwares, in order to provide the
> compatibility of running i386 application on EM64T.

I'm a little confused by this whole duplicate RPM business as well.  I
recently installed FC3 on a new AMD64 machine.  I noticed that some
RPMs were installed in duplicate.  For example,

 | $ rpm -q --qf '%{name} %{arch}\n' GConf2
 | GConf2 i386
 | GConf2 x86_64

Now the funny thing -- as you mention -- is that some files are owned
by both of these two RPMs.  For example, the above GConf2 packages
have 166 files between the two of them:

 | $ rpm -ql GConf2 | wc -l
 | 166

But only 89 of them are unique, while 77 files are owned by both
"GConf2 i386" and "GConf2 x86_64":

 | $ rpm -ql GConf2 | sort | uniq | wc -l
 | 89
 | $ rpm -ql GConf2 | sort | uniq -d | wc -l
 | 77

For example:

 | $ rpm -ql GConf2 | sort | uniq -d | head -n 2
 | /etc/gconf/2
 | /etc/gconf/2/path
 | $ rpm -qf /etc/gconf/2/path
 | GConf2-2.8.1-1
 | GConf2-2.8.1-1


That's a little confusing.  This breaks my mental model of how RPM is
supposed to work.


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux