Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

Thanks

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

2 Answers 2

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

 
discard

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