Red Hat Bugzilla – Bug 231969
rpm program cannot update freshen packages correctly
Last modified: 2007-11-30 17:11:59 EST
Description of problem:
Version-Release number of selected component (if applicable):
RPM version 4.4.2
Steps to Reproduce:
1. rpm -q audit
2. mkdir /tmp/rpmbug
3. cp audit-1.4.1-1.fc6.i386.rpm audit-1.4-1.fc6.i386.rpm /tmp/rpmbug
4. cd /tmp/rpmbug
5. rpm -Fhv *
warning: audit-1.4.1-1.fc6.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
warning: package audit = 1.4.1-1.fc6 was already added, skipping audit < 1.4-1.fc6
error: error reading from file audit-1.4-1.fc6.i386.rpm
The newer file should be selected and installed
I used to download all the updates of every Fedora CORE and issue a "rpm -Fhv *"
to install the updates. This was possible in the past, but after a specific CORE
and later I'm getting this error. To bypass the error simply remove the old
versions of the files and issue the "rpm -Fhv *". This is however very
irritating when you have a list of 1,360 rpm package updates.
rpm permits only one copy of a package per-transaction to prevent random install behavior
with, say, glibc.i386 and glibc.i686 being installed, what is actiually installed depends on the
order args would be mentioned.
rpm chooses the newest version when given 2 identically named packages, and rpm-4.4.8 takes multilib
arch into account, and skips packages with incompatible arches.
User firstname.lastname@example.org's account has been closed
Reassigning to owner after bugzilla made a mess, sorry about the noise...
This has been fixed in recent F7 update (see bug 180996) but not planned for FC6.