[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to handle erasing an RPM that contains a mandatory file



On Fri, Oct 27, 2006 at 01:44:18PM -0400, Fulko Hew sita aero wrote:

> > rpm -U --oldpackage rpm
> >
> > or, if you must, --force.
> 
> According to the man page, --force is the same as --oldpackage
> (I hope it really is).  [...]

AFAIK it is *not*.

> [...] Then my next concern would be that --force
> (which I could then hopefully use generically in both the new and old
> directions) would hopefully not also turn off any of the error checking
> such as dependencies and results of the pre, post, preun, and postun
> blocks.

That's the reason why you should not use it if anyhow possible, but
use "only" --oldpackage instead.

-- 
--    Jos Vos <jos xos nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]