Bug 231969 - rpm program cannot update freshen packages correctly
rpm program cannot update freshen packages correctly
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
6
All Linux
medium Severity medium
: ---
: ---
Assigned To: Panu Matilainen
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-13 07:44 EDT by Panos Kavalagios
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-10-24 07:57:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Panos Kavalagios 2007-03-13 07:44:15 EDT
Description of problem:


Version-Release number of selected component (if applicable):

RPM version 4.4.2

How reproducible:


Steps to Reproduce:
1. rpm -q audit
audit-1.2.8-1.fc6
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 *
  
Actual results:
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

Expected results:
The newer file should be selected and installed

Additional info:
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.
Comment 1 Jeff Johnson 2007-03-13 12:54:10 EDT
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.

Fixed UPSTREAM
Comment 2 Red Hat Bugzilla 2007-08-21 01:32:29 EDT
User pnasrat@redhat.com's account has been closed
Comment 3 Panu Matilainen 2007-08-22 02:33:39 EDT
Reassigning to owner after bugzilla made a mess, sorry about the noise...
Comment 4 Panu Matilainen 2007-10-24 07:57:04 EDT
This has been fixed in recent F7 update (see bug 180996) but not planned for FC6.

Note You need to log in before you can comment on or make changes to this bug.