[Yum] RPM dependency scriptlet error did not stop yum install
James Antill
james-yum at and.org
Tue Apr 19 19:01:57 UTC 2011
Stephen Ellis <sellis at acquiremedia.com> writes:
> Hi,
>
> I'm using:
> rpm-4.4.2.3-18.el5.x86_64
> yum-3.2.22-20.el5.centos.noarch
These aren't upstream versions, so you probably want to speak to your
distro.
> I'm building RPMs and found this behavior when my dependency failed to install yet the installation continued.
>
> # yum install xxx-yyy.x86_64
[...]
> Running Transaction
> <My scriptlet error message>
> error: %pre(xxx-base-server-1.0-3.x86_64) scriptlet failed, exit status 1
> error: install: %pre scriptlet failed (2), skipping xxx-base-server-1.0-3
> Installing : xxx-yyy 2/2
I believe this "works" with the latest upstream rpm/yum.
--
James Antill -- james at and.org
More information about the Yum
mailing list