LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-30-2009, 01:00 PM   #1
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Rep: Reputation: 46
Confused about up2date and dependencies


I've read that with YUM it automatically will download and install whatever dependencies it has when you tell it to install/upgrade a package.

I have a RHEL server that only has up2date on it, which I've read doesn't automatically do dependencies. So before I tell it to update a certain package, are there certain things I need to check for first before I issue the command? I've read the following link but am still confused
http://www.cyberciti.biz/faq/howto-use-up2date-command/
 
Old 09-30-2009, 01:20 PM   #2
Vanyel
Member
 
Registered: Jul 2007
Location: NY, NY
Distribution: RHEL, CentOS, FC, Ubuntu
Posts: 115

Rep: Reputation: 17
Up2date does resolve dependencies. It will let you know that it is resolving them too (if it does have to). It gives you a graphical interface so it's real easy. If you're coming into the box remotely, do an 'ssh -Y root@<yourbox>' and you'll pop the X interface back to the box you're coming from. Since you are unfamiliar with it, this would be easiest.
 
Old 09-30-2009, 01:22 PM   #3
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Original Poster
Rep: Reputation: 46
I'm used to using yum from the CLI, so I was just going to run up2date from there too. thanks for clearing up the dependency issue. I didn't want to completely screw up my server.
 
Old 09-30-2009, 01:27 PM   #4
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Also, if you're already familiar with yum, you might like this reference: http://kbase.redhat.com/faq/docs/DOC-2531
 
Old 09-30-2009, 01:28 PM   #5
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Original Poster
Rep: Reputation: 46
I do like that! thanks!
 
Old 09-30-2009, 03:18 PM   #6
Vanyel
Member
 
Registered: Jul 2007
Location: NY, NY
Distribution: RHEL, CentOS, FC, Ubuntu
Posts: 115

Rep: Reputation: 17
Hey! I like that comparison chart too!

Thanx!
 
Old 09-30-2009, 05:34 PM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
I always do dry runs before actually applying updates. Check the man pages for yum and up2date for the options to check for whatever packages will be marked for updates and you can then make sure nothing that is updated will potentially break your system.

I always have a spare machine not part of a production environment I use to test before applying to machines that matter.
 
  


Reply


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
Up2date is timing out with up2date A socket error occurred: (110, 'Connection timed o mtag Linux - Newbie 7 03-12-2011 09:04 AM
up2date could not work after #up2date rpm (RedHat Linux E3) QianQian Linux - Software 1 04-07-2008 05:11 PM
up2date fails with dependencies i386 & x86_64 rpms for Oracle gatr_head Red Hat 3 04-26-2007 08:20 PM
up2date bug fixed: New up2date avail. with updated SSL certificate authority file dkaplowitz Red Hat 2 09-04-2003 06:05 PM


All times are GMT -5. The time now is 08:43 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration