Re: RPM dependency scriptlet error did not stop yum install

James Antill <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Stephen Ellis <[email protected]> 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 -- [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.