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

RE: %pre script failures in alternate root



Hi All-

	I just resolved this; I had no /var/tmp in my chroot area. I
guess the rc (2) is a standard shell rc (NOENT). Works fine once I added
/var/tmp.

	Strange that %post scripts worked but %pre did not...

-Aaron

> -----Original Message-----
> From: rpm-list-bounces redhat com 
> [mailto:rpm-list-bounces redhat com] On Behalf Of Aaron Hanson
> Sent: Friday, October 27, 2006 2:31 PM
> To: RPM Package Manager
> Subject: %pre script failures in alternate root
> 
> 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
> 
> 
>


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