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

Odd issue. The RPM installer is installing everything fine but is returning an error code 21. Meaning all of the packages are failing to install. Does anyone have any ideas why?


share|improve this question
do you get anything pertinent when using the -v or -vv options? – Zypher Sep 9 '10 at 21:29
Had to re-format in the end :(. – James Moore Sep 12 '10 at 15:43

Try each package individually until you find the one that fails. If they all fail then the problem is with your rpm database (which is why --rebuilddb was suggested above), otherwise you will find which package has a problem (and you can try downloading another version/another one) Obviously you will need to install the leaves first.

Are you using rpm from the command line? Why not use yum or yast or whatever your distro provides? (which you did not specify)

share|improve this answer

You might want to try to rebuild the database using rpm --rebuilddb

share|improve this answer
no, same error but thanks. – James Moore Sep 9 '10 at 20:58

Your Answer


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