Well - we've figured it out: /var/tmp directory was missing (it was there previously, but was mistakenly deleted). It seems that RPM creates the temporary scripts for sh to run under /var/tmp. Can it be changed to use /tmp ? /Danny -----Original Message----- From: rpm-list-bounces@xxxxxxxxxx [mailto:rpm-list-bounces@xxxxxxxxxx]On Behalf Of Paul Nasrat Sent: Monday, May 16, 2005 5:14 PM To: RPM Package Manager Subject: Re: RPM chokes when "running preinstall script" On Mon, 2005-05-16 at 16:16 +0300, Aizer Danny-BDA023 wrote: > I'm trying to install an rpm package on a new embedded system. > The RPM db is empty, and the rpm version is 4.0 (for Monta Vista Linux 2.4.18_mvl30). > > The installation fails without any message/error: > > # rpm -qa > # rpm -i --nodeps /sm/bin/installer-1.00-20.rpm Why are you installing with nodeps? > Still not installed, so trying with --noscripts: > > # rpm -i --nodeps --noscripts /sm/bin/installer-1.00-20.rpm > # rpm -qa > installer-1.00-20 > # > Installed... but without running my scripts (pre and post install scripts exist, they only do an echo of some string)... Withouth knowledge of the package, install system and the particular scripts we can't really comment rpm --scripts -qp /sm/bin/installer-1.00-20.rpm rpm -qpR /sm/bin/installer-1.00-20.rpm > Any idea why this could happen? Can't RPM find the shell? Or something else? Does /bin/sh exist? Paul _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list