[Yum-devel] Exit non-0 when scriptlets fail?
James Antill
james.antill at redhat.com
Sun Dec 21 07:22:05 UTC 2008
On Sat, 2008-12-20 at 20:45 -0800, Jesse Keating wrote:
> I don't know if this is a recent change, but I'm seeing yum exit non-0
> when installation of packages went fine, but some scriptlets failed.
> This is most notable when doing an anaconda compose and anaconda
> installs 400+ packages in a chroot and uses the nodocs flag. Tons of
> things fail their install-info %post commands. Unfortunately the
> anaconda script sees that yum exited non-0 and assumes that nothing got
> installed, and bails on the rest of the compose. Anybody know what's
> going on here? Did yum change recently? It doesn't look like it by
> running the most recent previous f11 build of yum, so maybe it's done
> this for a while, and some new breakage in our packages is leading to
> this.
>
> In what scenarios will yum "successfully" install packages, but exit
> with non-0?
The two bugs I know about are:
427866: Yum exits with success even when RPMs cannot be installed
Closed: 2008-04-18
465409: RFE: add option to ignore rpm scriptlet errors
Closed: 2008-10-16
...the first one has comments from Jeremy saying it broke anaconda (but
those should have been resolved).
--
James Antill <james.antill at redhat.com>
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20081221/fb119d7e/attachment.pgp
More information about the Yum-devel
mailing list