LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-29-2010, 09:14 AM   #1
Earwig
LQ Newbie
 
Registered: Feb 2010
Location: London
Distribution: CentOS Redhat
Posts: 15

Rep: Reputation: 0
Would like to update net-tools using yum


Hi!

This system is CentOS 4.4. I would like to run the following command but I have never run yum before and am lacking confidence, and am new enough to linux that I would not know how to undo it if it all went wrong.

I want to run (because of a small problem with netstat)
yum update net-tools

Running "yum list net-tools" shows there's a slightly higher version available
Installed Packages
net-tools.x86_64 1.60-37.EL4.8 installed
Available Packages
net-tools.x86_64 1.60-39.el4 base

Running "yum deplist net-tools-1.60-39.el4.x86_64" shows I need to update the following packages to these versions
glibc.x86_64 2.3.4-2.43
chkconfig.x86_64 1.3.13.5.EL4-1
bash.x86_64 3.0-21.el4

and "yum deplist glibc-2.3.4-2.43.x86_64" shows I need to update to
libgcc.i386 3.4.6-11

Question 1: Is it safe to go ahead and run "yum update net-tools"? I feel worried about the fact that serious things like glibc and bash and libgcc will also get updated. Will all the existing packages be happy about glibc changing? Or will I then have to update hundreds of other things?

I have put off doing this for weeks! Apologies for my cowardliness!
Thanks!
 
Old 04-29-2010, 10:05 AM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
You can see what all packages are available for update by doing a 'yum check-update', if you want to upgrade everything you can then do a 'yum update'.

For the *MOST PART* redhat and centos are ~very~ good about maintaining compatibility inside a given major release (4.x, 5.x). So even a full update would likely be fine. Yum should detect any dependencies that are needed and update them as well it's a pretty reliable tool.

As always with any change to the system... backup, backup, backup! If you have backups that you have verified are good then go ahead and do an update, it shouldn't cause you any major issues. If you don't have backups, do that first then do the upgrade.
 
Old 04-30-2010, 03:59 AM   #3
Earwig
LQ Newbie
 
Registered: Feb 2010
Location: London
Distribution: CentOS Redhat
Posts: 15

Original Poster
Rep: Reputation: 0
Would like to update net-tools using yum

I could not agree with you more about "backup, backup, backup" however the project lead on this site does not believe in backups nor even build documents. This particular system has been in production for 3 years with no system backup (the user data areas are backed up but only at my absolute insistence) nor even a build document. I cannot tell you how much I don't like that! If the root disk were to go on any of these systems there is not even an accurate record of what OS was installed on the system, let alone how it was configured. So only he can rebuild it.

So you might see how scary it might be to run even a simple "yum update net-tools". I'm not new at all to sys admin, but I am newish to linux (which I love, my favourite ever OS) and new to yum (they've only just let me get through the company Firewalls with yum).

Many thanks for you reply. I understand and agree with your answer.
 
Old 04-30-2010, 12:25 PM   #4
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
At least tar up a copy of etc and get it off system, that should give you enough info in the event something goes pear shaped.
 
  


Reply

Tags
update, yum


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to update rhel 5 using centos yum updater without conflict with yum redhat plugin udayvikram Linux - Software 2 03-30-2010 08:15 AM
how to update rhel 5 using centos yum updater without conflict with yum redhat plugin udayvikram Linux - Newbie 1 03-29-2010 12:56 PM
erased yum.conf by forced yum-update in RHEL5.3, need help curiocurio Red Hat 3 04-21-2009 03:33 AM
Query re: order of yum update and yum install jajtiii Linux - General 0 12-12-2005 12:48 PM
module-init-tools and new kernel yum update Ynog Fedora 0 12-25-2003 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration