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.

Just wondering if someone could give some guidance as to what I can do to find out which RPM i need for a given system.

update: When trying to use YUM, was getting this error message

Gathering header information file(s) from server(s)
Server: Atomic Rocket Turtle - 9 - Atomic PSA-Compatible RPMS
retrygrab() failed for:
  http://www.atomicrocketturtle.com/atomic/art/9/headers/header.info
  Executing failover method
failover: out of servers to try
Error getting file www.atomicrocketturtle.com/atomic/art/9/headers/header.info
[Errno 4] IOError: HTTP Error 404: Not Found

which is what led me to want to try via RPM.

At the end of the day, i think the box needs an upgrade, and will just get it bumped up to centos5 though I am still insterested to know what you can run to find out the info you would need to install via an rpm.

thanks

note: I had to remove one http from the error message, since spam protection came up: we're sorry, but as a spam prevention mechanism, new users can only post a maximum of one hyperlink. Earn 10 reputation to post more hyperlinks.

share|improve this question

1 Answer 1

If at all possible, you should always use your distro's package management system to install packages. If I were to guess, you're running Fedora or CentOS. If that's the case, you'll be using the yum package manager. Installing a package using yum looks something like this:

$ sudo yum install <package_name>

To get a list of available packages, you can run this command:

$ sudo yum list

And likewise to search:

$ sudo yum search <keyword>

If you really do need to install a standalone RPM, which version you install will depend on several factors, including but not limited to:

  • kernel version
  • operating system version
  • CPU architecture
  • shared library versions
  • etc. etc.

If you give us more info, you'll get a clearer answer. The above is the best I can do with the given information.

share|improve this answer
    
meech, please edit your question and paste in that error message, using the "code" tags. It'll get formatted correctly that way. –  EEAA Aug 5 '10 at 2:08
    
Hi ErikA Thanks. adding to the frustration, i can't find the info on how to format my comment. i tried [code] and <code> and am having no luck. any link to formatting you can provide? now i feel even dumber. –  meeech Aug 5 '10 at 2:19
    
Paste in the code, select it, then either hit Ctrl-K or click the button with the binary code on it at the top of the edit window. –  EEAA Aug 5 '10 at 2:24
    
yeah, realized my mistake. I was trying to use code tag in comment. I think i've made a mess of this. maybe a more experienced user can tell me if I should just remove the question entirely. end of day, moral of the story will be upgrade the server :/ –  meeech Aug 5 '10 at 2:31
    
Well, it looks like yum can't contact the server it's trying to get the repo headers from. Is this box able to successfully access internet resources using other methods? Ping/wget/etc.? –  EEAA Aug 5 '10 at 2:42

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.