Bug 134171 - freshen ignores architecture
freshen ignores architecture
Status: CLOSED WONTFIX
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-09-29 18:13 EDT by Thomas Zehetbauer
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-09-29 19:12:42 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 Thomas Zehetbauer 2004-09-29 18:13:58 EDT
According to the man page rpm --freshen should upgrade only packages
for which an earlier version currently exists.

> rpm -q hal
hal-0.2.98.cvs20040923-1.x86_64
> rpm --freshen hal-0.2.98.cvs20040927-1.x86_64.rpm
hal-0.2.98.cvs20040927-1.i386.rpm
error: Failed dependencies:
        libcap.so.1 is needed by hal-0.2.98.cvs20040927-1
        libdbus-1.so.0 is needed by hal-0.2.98.cvs20040927-1
        libdbus-glib-1.so.0 is needed by hal-0.2.98.cvs20040927-1
> rpm --freshen hal-0.2.98.cvs20040927-1.x86_64.rpm

> rpm -q firefox
firefox-0.10.0-1.0PR1.1.i386
> rpm --freshen firefox-0.10.0-1.0PR1.3.i386.rpm
firefox-0.10.0-1.0PR1.3.x86_64.rpm
> rpm -q firefox
firefox-0.10.0-1.0PR1.3.i386
firefox-0.10.0-1.0PR1.3.x86_64
Comment 1 Jeff Johnson 2004-09-29 19:12:42 EDT
Yup. Freshen looks only at newer packages, that's the way
it is defined, that's the way it is gomg to stay in the
interest of "satbility".

Write a wrapper script, choose the packages you want
by whatever means you want, then invoke rpm with
the given package list.

The rationale for a wrapper is that rpm supplies
mechanism, not policy. Use yum/up2date or equivalent
if you want to define an install/upgrade/erase policy.

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