Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is there a list of RPM exit codes if so can I have the link? Also does anyone know what exit code 24 means from an RPM installation:

Installer terminated incorrectly: 24


share|improve this question

1 Answer 1

up vote 5 down vote accepted

Contrary to most programs/utils, the RPM exit (return) codes indicate how many of the packages failed; you have to actually parse out the error text to find out what went wrong.

share|improve this answer
Its also good to note that (a) the number is capped at 255, and (b) there's no guarantee that anything over 128 will make it back tot he shell. – Andrew M. Sep 6 '10 at 0:31
Even running 'rpm -Uvh' on a package already installed causes a return code of 1. FML! – pfctdayelise Jan 10 '11 at 5:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.