Page 1 of 1
installing yum on RedHAT ES 4
Posted: Fri Sep 01, 2006 10:50 am
by dumbomaz
I can't find any directions on installing yum on RedHAT ES 4. They yum package isn't in the RHN list, and I cannot find any RPMs for ES4. I tried just adding the ART sources to the /etc/sysconfig/rhn/sources list and using up2date, but up2date returns the following error when I try that:
Code: Select all
up2date atomic --dry-run
.....
Unresolvable chain of dependencies:
atomic-1.0-2.rhel4.art requires yum >= 2.2
Can someone provide some direction on either getting the ART updates to work with up2date or instructions on getting yum installed?
Thanks!
Posted: Fri Sep 01, 2006 11:55 am
by scott
I dont use up2date anywhere myself. The error is legitimate though, you need to have yum 2.2 installed for that package to be relevant.
Posted: Fri Sep 01, 2006 12:41 pm
by dumbomaz
scott--thanks for the answer. So since yum appears to be a requirement, can you point me to directions for installing it on RHEL? I couldn't find any sufficient instructions anywhere.
Posted: Sat Sep 02, 2006 1:37 pm
by scott
Yeah just use the rpm from CentOS 4
Posted: Thu Sep 07, 2006 1:01 pm
by dumbomaz
update to my saga
I downloaded the necessary RPMs to install yum on RHEL 4.3 from this URL:
http://mirror.centos.org/centos/4.3/os/ ... ntOS/RPMS/
I needed the following:
createpro
centos-yumconf
sqlite
sqlite-devel
python-elementtree
python-sqlite
python-urlgrabber
yum
python
After installing these packages, I was able to run yum through up2date, but not yum directly. When I run through up2date, I see all the php 5.0.4 packages, but when I try to download them, I get this error:
Code: Select all
Unresolvable chain of dependencies
php-domxml-4.3.9-3.15 requires php = 4.3.9-3.15
I'm not trying to update php-domxml because I've seen that it isn't used in php5. I have not found a way to resolve this issue and cannot just do "yum upgrade" for mysql or php because I yum bombs out when run by itself with this error:
Code: Select all
Setting up Upgrade Process
Setting up repositories
not using ftp, http[s], or file for repos, skipping - Null is not a valid release or hasnt been released yet
Cannot find a valid baseurl for repo: update
Error: Cannot find a valid baseurl for repo: update
My /etc/yum.conf looks like this:
Code: Select all
[atomic]
name=Atomic Rocket Turtle - 4ES - Atomic PSA-Compatible RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/art/4ES/
[atomic-app-vault]
name=Atomic Rocket Turtle - 4ES - Atomic PSA App Vault RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/app-vault/
[psa-8.0]
name=Atomic Rocket Turtle - 4ES - SW-Soft PSA 8.0 RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/psa-8.0/4ES/
Any ideas?
Posted: Thu Sep 07, 2006 4:14 pm
by scott
Yeah you've got other .repo files in there, make sure you've removed them or set the path to 4ES.
Posted: Fri Sep 08, 2006 9:17 am
by breun
php-xml replaces php-domxml in Scott's PHP 5 package design. Read
http://www.atomicrocketturtle.com/Jooml ... ew/141/29/
Posted: Mon Oct 16, 2006 12:43 pm
by Rehan
I was in the same boat, on RHEL4... so I installed yum and ran "yum update", and this is what it did:
Installed: kernel.i686 0:2.6.9-42.0.3.EL kernel-devel.i686 0:2.6.9-42.0.3.EL
Updated: apr.i386 0:0.9.4-24.5.c4.2 comps.i386 2:4.4CENTOS-0.20060823 fontconfig.i386 0:2.2.3-7.centos4 httpd.i386 0:2.0.52-28.ent.centos4 httpd-suexec.i386 0:2.0.52-28.ent.centos4 indexhtml.noarch 3:4-2.centos4 initscripts.i386 0:7.93.25.EL-1.centos4 iproute.i386 0:2.6.9-3.EL4.3.centos4 kernel-hugemem-devel.i686 0:2.6.9-42.0.3.EL kernel-smp-devel.i686 0:2.6.9-42.0.3.EL libtool.i386 0:1.5.6-4.EL4.1.c4.4 libtool-libs.i386 0:1.5.6-4.EL4.1.c4.4 mod_perl.i386 0:1.99_16-4.centos4 mod_ssl.i386 1:2.0.52-28.ent.centos4 perl-TimeDate.noarch 0:1.16-1.c4 redhat-logos.noarch 0:1.1.26-1.centos4.4 up2date.i386 0:4.4.69-25.centos4.7
But now, if I try to run up2date I get this:
Code: Select all
Error communicating with server. The message was:
Error Message:
Your account does not have access to any channels matching (release='4', arch='i686-redhat-linux')
Error Class Code: 19
Error Class Info: Architecture and OS version combination is not supported.
Explanation:
An error has occurred while processing your request. If this problem
persists please enter a bug report at bugzilla.redhat.com.
If you choose to submit the bug report, please be sure to include
details of what you were trying to do when this error occurred and
details on how to reproduce this problem.
The file /etc/redhat-release says that it's "CentOS release 4.4 (Final)".
I'm on a server at EV1 Servers, and up2date ran fine just before I installed and ran yum. So have I messed something up now?

Posted: Mon Oct 16, 2006 1:41 pm
by scott
Yeah thats why you dont want to mix CentOS4 on a RHEL4 box. If you've go their subscription, stick with it. Otherwise your RHEL4 box will quickly be converted into a CentOS4 box.
Posted: Tue Oct 17, 2006 11:15 am
by Rehan
Am I SOL now or can I get back to RHEL easily?
Posted: Thu Oct 19, 2006 10:10 am
by scott
Internally, the packages are the same, so its not like youve really broken anything. I'd just keep going with centos at this point.