Re: Successfull reinstall, but exit code 1

Axel Thimm <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
On Fri, Jul 17, 2009 at 10:34:05AM -0400, Seth Vidal wrote:
> On Fri, 17 Jul 2009, Axel Thimm wrote:
>> I'm running a yum reinstall pam.x86_64 which properly does what the
>> command says, but the exit code is 1. I turned up -d and -e but there
>> were no warnings/errors. Is this perhaps a phony error code? If so,
>> how can I remove it in the sources?
>>
>> This is with yum 3.2.23 (from Fedora 11)
>
> Can you attach any/all output? It sounds like there may have been some  
> sort of non-fatal scriptlet error.

I'll try to recreate the previous state, but there was no warning from
yum even with -d 50 -e 50, so I'm not sure it will be of any value.

So, yum reinstall reflects the (last?) scriplet's exit code?  Is that
what yum install and yum remove do as well? E.g. if yum install
completes successfully on the screen it may have an exit code != 0 due
to a soft-failed pre/post scriplet?
-- 
Axel.Thimm at ATrpms.net

_______________________________________________
Yum mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkpgkRoACgkQQBVS1GOamfH0jQCfScdg2QX0jmZ+IePEJzCKWWSA
9g8An1UC6KmA6j5/LUvw/q+35fMb1EJO
=s/Z8
-----END PGP SIGNATURE-----
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.