LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   yum, rpm and system updates (CentOS) (https://www.linuxquestions.org/questions/linux-newbie-8/yum-rpm-and-system-updates-centos-938341/)

drigby 04-05-2012 10:24 AM

yum, rpm and system updates (CentOS)
 
Hi,

Sorry, I've got 3 questions. I think there pretty much along the lines of what ravi_nandula was asking:

1. I've been getting a lot of varying information about yum vs rpm. I've been under the impression that sticking with yum update means I'm using the more "official" (tested), and that rpm's are newer releases and less tested. Is this true, or is the difference just manual vs automatic?

2. Someone posted on another topic "your not up-to-date unless your running CentOS 5.8". I'm running CentOS 5.6 and yum says there are no available updates. I assume to get to 5.8 I'd have to go find an rpm? What is the general recommendation? (if any)

3. I used yum to update my main and test servers both as high as they could go. The versions for everything on my test server were slightly higher. I have some guesses as to why, but I was hoping someone could give me a definitive answer?

This is my first post, Thanks in advance for the help!

unSpawn 04-05-2012 11:25 AM

Quote:

Originally Posted by drigby (Post 4645534)
Sorry, I've got 3 questions.

...which IMHO would be best posted in your own thread so your questions get the attention they deserve. (No worries: I've asked a moderator to move this post.)


Quote:

Originally Posted by drigby (Post 4645534)
1. I've been getting a lot of varying information about yum vs rpm. I've been under the impression that sticking with yum update means I'm using the more "official" (tested), and that rpm's are newer releases and less tested. Is this true, or is the difference just manual vs automatic?

False. It indeed is automatic versus manual.


Quote:

Originally Posted by drigby (Post 4645534)
Someone posted on another topic "your not up-to-date unless your running CentOS 5.8". I'm running CentOS 5.6 and yum says there are no available updates. I assume to get to 5.8 I'd have to go find an rpm? What is the general recommendation? (if any)

Make a backup, read the update notes, install the centos-release-5-7.el5.centos RPM, run 'yum update', edit configuration files if necessary, check for anomalies in the system and daemon logs, rinse and repeat for the centos-release-5-7.el5.centos RPM.


Quote:

Originally Posted by drigby (Post 4645534)
I used yum to update my main and test servers both as high as they could go. The versions for everything on my test server were slightly higher. I have some guesses as to why, but I was hoping someone could give me a definitive answer?

We don't know which repos you use and we don't know what Yum plugins you use (package version protection and such). Compare any installed 'rpm -qi [packagename]' on a production and a test server and diff the output.

drigby 04-05-2012 11:46 AM

Thank you, UnSpawn!


All times are GMT -5. The time now is 01:44 AM.