Re: Up2date return codes [Summary]

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

 



On Thu, 2003-10-02 at 11:10, Jason Dixon wrote:
> I'm looking for an exhaustive list of return codes for up2date.  The
> manpage claims only two: 0 (success) and 1 (failure).  However, I've
> managed to trap a 256 as well, so I was wondering if anyone's seen
> anything authoritative.

I've found the answer to my query (sorta).  The following list of return
codes was found in the /actions/errstatus.txt file of the up2date
(version 3.1.23) source.  It doesn't answer what 256 might be referring
to, but it's interesting nonetheless:

0: "rollback completed"
12: "Error refreshing system hardware"
13: "Invalid arguments passed to function"
14: up2date.DependencyError
15: up2date.RpmRemoveError
16: "%s could not be removed because it was on the skip list" % e
17: "Failed: packages requested are no longer available"
18: "Failed: packages requested raised  dependency problem"
19: "Unknown exit status from batchrun"
20: "Error refreshing package list"
21: There was a communication error talking to the server"
22: "There was a package gpg verification error. The error was"
23: "There was a package gpg verification error."
24: "gpg is not properly installed on this machine"
25: "The package signing key for Red Hat, Inc. is not on the gpg
keyring"
26: "Failed: There was a package conflict error with the package set"
27: "Failed: There was a file conflict error with the package set"
28: "There was a dependency sense error"
29: "There was a dependency raised that could not be found"
30: "Failed: Some of the packages specified were on the package skip
list"
31: "A package or header was not found"
32: "A package failed to install"
33: "A package failed to install because the system was out of space"
34: could not executre shutdown
35: invalid tid to rollback
36: from tid is older than latest tid
37: "Could not modify /etc/sysconfig/rhn/rhnsd"
38: noReboot config option turned on
39: 'No packages from that errata are available'


-- 
Jason Dixon, RHCE
DixonGroup Consulting
http://www.dixongroup.net


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux