RE: %pre script failures in alternate root

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

 



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@xxxxxxxxxx 
> [mailto:rpm-list-bounces@xxxxxxxxxx] 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
> 
> 
>

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux