Page 1 of 2
yum vs. up2date?
Posted: Sun Aug 28, 2005 1:34 pm
by hegebutt
I have neither up2date nor yum installed on my RedHat Enterprise Linux 3 server that runs Plesk 7.5.4. What is the difference, if any, between up2date and yum?
I read on this site that: "Note: Red Hat Enterprise Linux users should use up2date, as Red Hat does not provide free access to binary updates." Is this true?
Some of the searching and forum reading I've done alludes to having both up2date and yum, why would you need both?
If the preferred option for my server is up2date, where can I get that?
Posted: Sun Aug 28, 2005 7:57 pm
by scott
up2date is the native updater for rhel3/rhel4. Updates for rhel are only available directly from Red Hat, on a paid subscription basis. yum is what we use on all the other RPM based distros that allow free updates.
For those of us using distros other than rhel3 or 4, its a matter of personal preference what to use (yum in my case). Id say something is wrong on your system if you dont have either.
Posted: Mon Aug 29, 2005 8:53 am
by hegebutt
Could I not have up2date because I have a virtual dedicated server? Perhaps my provider does not want me to update rhel3? (I don't have a subscription with RedHat, so perhaps it's all moot anyway.)
And this may seem like a dumb question, but from the root, I entered "man up2date" figuring I'd get some info if it were installed. I got nothing, so I assumed it wasn't installed. And while on the phone with my provider on an unrelated issue, I was advised to request up2date be installed through a help ticket. So again, I assumed it wasn't installed. I'm positive I don't have yum. But your skepticism about me having neither, makes me wonder if I am making incorrect assumptions. So, is there some other way for me to find out if I have up2date installed?
Posted: Mon Aug 29, 2005 10:48 am
by scott
Yeah vserver providers dont always install that, they might be trying to maintain the packages in the vserver externally from the master.
Posted: Sat Sep 03, 2005 4:22 pm
by hegebutt
I tried to install yum using the rpm package from this site for rhel3 and got an error.
Failed dependencies:
libxm12-python
rpm-python
What can I do about this?
Posted: Sun Sep 04, 2005 6:32 am
by breun
Download the packages listed there and install them along with the yum package.
Fortunately, once you've got a decent package management system in place (e.g. yum or up2date) you won't need to resolve dependencies by hand any more.
Posted: Sun Sep 04, 2005 1:55 pm
by hegebutt
Okay, I installed rpm-python. Then I tried to install libxml2-python, but that failed because I need python-2.3. So I tried installing python-2.3.4-13.1 and it failed because it needs libdb-4.2.so. I can't find libdb-4.2.so. Google turns up nothing. Though I did find libdb-4.0.so.
Yum eliminates this chaos, right? Unfortunately, I keep hitting brick walls trying to install Yum.
I installed the RPMs from this page:
http://download.fedora.redhat.com/pub/f ... es/3/i386/
Is there a better place to download the RPMs I need?
Posted: Sun Sep 04, 2005 3:19 pm
by breun
Try
http://download.fedora.redhat.com/pub/f ... dora/RPMS/
The url you used contains updates to the rpms in the location above, but if a package hasn't had an update since the FC3 release it won't be in the updates folder.
And yes, yum eliminates this chaos, so I guess it's worth the hassle.
Posted: Sun Sep 04, 2005 3:22 pm
by breun
Hm, I just noticed you're running RHEL3 and are installing rpms from the Fedora 3 repositories. I don't think that'll work very well.
Posted: Sun Sep 04, 2005 4:43 pm
by hegebutt
Nope, that probably won't work very well. Did I mention I'm an idiot?
Posted: Sun Sep 04, 2005 7:59 pm
by hegebutt
I'm happy to say that I got the dependent RPMs installed (once I used the correct rpms for my server), and was then able to install ART's yum. I imported the GPG key and modified the yum.conf, however when I execute yum check-update, I get a file not found error:
Server: Atomic Rocket Turtle - 3AS - Atomic PSA-Compatible RPMS
retrygrab() failed for:
http://www.atomicrocketturtle.com/atomi ... eader.info
Now I'm assuming it's the 3AS that's the problem. And I'm probably going to show my cluelessness again here, but does that mean I'm using a server that's not compatible? Or can I hard code 3ES into the URL?
Posted: Mon Sep 05, 2005 10:54 am
by scott
You'd want 3ES, not 3AS
Posted: Fri Sep 30, 2005 1:15 am
by pepe
so does that mean redhat 3AS won't work?
Posted: Fri Sep 30, 2005 11:36 am
by scott
It should work, you just need to use the 3ES archive.
Posted: Fri Sep 30, 2005 11:45 am
by hegebutt
It works. You just need to hard code the 3ES into the config file, instead of using releasever.