Hi All - I'm installing a bunch of packages to an alternate root (rpm --root option). _All_ my packages with %pre scripts fail like this: error: install: %pre scriptlet failed (2), skipping tcpdump-3.7.2-0.0.0.5.0 All the %post scripts run fine. 'rpm -vv' doesn't show any additional info; it seems that the %pre scripts do not even get started. Anybody know of any strange interaction between '--root' and %pre scripts? -Aaron > -----Original Message----- > From: rpm-list-bounces@xxxxxxxxxx > [mailto:rpm-list-bounces@xxxxxxxxxx] On Behalf Of Fulko.Hew@xxxxxxxxx > Sent: Friday, October 27, 2006 1:49 PM > To: RPM Package Manager > Subject: Re: How to handle erasing an RPM that contains a > mandatory file > > > > rpm-list-bounces@xxxxxxxxxx wrote on 10/27/2006 02:24:10 PM: > > > On Fri, Oct 27, 2006 at 02:15:19PM -0400, Michael Jennings wrote: > > > On Friday, 27 October 2006, at 20:12:42 (+0200), Jos Vos wrote: > > > > > > > > According to the man page, --force is the same as > --oldpackage > > > > > (I hope it really is). [...] > > > > > > > > AFAIK it is *not*. > > > > > > mej@talon ~/info >> rpm --help | grep force > > > --force short hand for --replacepkgs -- > > replacefiles > > > > Which proves his point. It isn't the same as --oldpackage, it also > > includes --replacepkgs and --replacefiles. > > > > If the ggp wants that or not, I can't say. > > > But like I originally said, the man page says: > > --force > same as using --replacepkgs, --replacefiles, and --oldpackage > > Then again the corrollary of --oldpackage is the same as ... > is not neccessarily true either. > > so I would equally not trust anything grep'ed from within the > help info in the binary. Only the real code knows for sure. > > Let me put on my face shield and bomb disposal suit, and try > a few tests. > :-) > > > > > > This document is strictly confidential and intended only for > use by the addressee unless otherwise stated. If you are not > the intended recipient, please notify the sender immediately > and delete it from your system. > > > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/rpm-list > _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list