Bug 134171 - freshen ignores architecture
Summary: freshen ignores architecture
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm   
(Show other bugs)
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: Mike McLean
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-09-29 22:13 UTC by Thomas Zehetbauer
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-09-29 23:12:42 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Thomas Zehetbauer 2004-09-29 22:13:58 UTC
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 23:12:42 UTC
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.