LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Confused about up2date and dependencies (https://www.linuxquestions.org/questions/linux-newbie-8/confused-about-up2date-and-dependencies-758723/)

anon091 09-30-2009 12:00 PM

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/

Vanyel 09-30-2009 12:20 PM

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.

anon091 09-30-2009 12:22 PM

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.

anomie 09-30-2009 12:27 PM

Also, if you're already familiar with yum, you might like this reference: http://kbase.redhat.com/faq/docs/DOC-2531

anon091 09-30-2009 12:28 PM

I do like that! thanks!

Vanyel 09-30-2009 02:18 PM

Hey! I like that comparison chart too!
 
Thanx!

trickykid 09-30-2009 04:34 PM

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.


All times are GMT -5. The time now is 02:18 AM.