Re: rpm exit codes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 18, 2005 at 10:24:06AM -0600, Ken Millett wrote:
> Is there a defined list of the exit codes that rpm will return based on
> the type of error it had?

Yes. Unfortunately, it's a very short list: the exit code equals the number
of failed packages, capped at 255.

> For instance, I would like to be able to determine in an install script
> if rpm -U failed because the package was already installed, or because
> the user did not have sufficient rights, etc.

Yeah; too bad.


-- 
Matthew Miller           mattdm@xxxxxxxxxx        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 78 degrees Fahrenheit.


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux