Bug 56535 - Flag '--force' does not work as advertised
Summary: Flag '--force' does not work as advertised
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm   
(Show other bugs)
Version: 7.2
Hardware: i386 Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2001-11-20 18:21 UTC by Michal Jaegermann
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-11-20 18:21:41 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Michal Jaegermann 2001-11-20 18:21:35 UTC
Description of Problem:

Typing 'rpm --help' one can see this:

--force[|=0x74]            short hand for --replacepkgs --replacefiles

This indeed used to be true.  Currently if one tries to "force"
a re-installation of an existing package (for whatever reasons - say
that some files got corrupted) this will be rejected.  Luckily
'--replacepkgs --replacefiles' still works (and which means that
the help text is misleading).

'--force' is actually a short hand for the two above plus '--oldpackage'
and the later check apparently become a bit too aggresive.

Comment 1 Jeff Johnson 2001-12-02 11:23:07 UTC
The fix for this -- if I'm permitted -- is gonna be to remove the --force
option entirely, there's more to package management than Applying The
Big Hammer.

Since I will never be permitted to remove --force, I choose to leave
bad enough alone.

Comment 2 Michal Jaegermann 2001-12-02 16:32:17 UTC
I can understand that you are fed up with whines from folks which used
The Big Hammer to hit their thumbs but there are situations when uninstalling
and reinstalling packages, instead of using '--force', is not a feasible
option.  As the old principle goes "if you will ban stupid things you will
prevent smart things as well" and attempts to make things "idiot-proof"
either dismally fail or cripple them beyond usability.

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