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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

Thanks

share|improve this question
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
1  
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
1  
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

 
discard

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