(yum) was not able to locate the glibc package

mgsnnetworks

Well-Known Member
Sep 11, 2005
48
0
156
Rhyl, North Wales, UK
I am having the same issue, I can't find the mirrors for redhat enterprise 4. it was all due to the NOC screwing up the install in the first place and I had to reinstall my server vis the VDS interface :eek:

Any ideas peeps???

Server: Red Hat Linux 4AS - i386 - Base
retrygrab() failed for:
http://mirror.dulug.duke.edu/pub/yum-repository/redhat/4AS/i386/headers/header.info
Executing failover method
failover: out of servers to try
Error getting file http://mirror.dulug.duke.edu/pub/yum-repository/redhat/4AS/i386/headers/header.info
[Errno 4] IOError: HTTP Error 404: Not Found
[[email protected] ~]#
 
Last edited:

mgsnnetworks

Well-Known Member
Sep 11, 2005
48
0
156
Rhyl, North Wales, UK
[[email protected] ~]# yum update
Gathering header information file(s) from server(s)
Server: Dag RPM Repository for Red Hat Enterprise Linux
retrygrab() failed for:
http://rh-mirror.linux.iastate.edu/pub/dag/redhat/el3/en/i386/dag/headers/headers/header.info
Executing failover method
failover: out of servers to try
Error getting file http://rh-mirror.linux.iastate.edu/pub/dag/redhat/el3/en/i386/dag/headers/headers/header.info
[Errno 4] IOError: HTTP Error 404: Not Found
[[email protected] ~]#
 

mtunga

Registered
Sep 3, 2006
1
0
151
fix for me too

rm -rf /var/cpanel/useyum

WHM 10.8.0 cPanel 10.8.2-R119
CentOS 3.5 i686 - WHM X v3.1.0
 

BenThomas

Well-Known Member
Feb 12, 2004
598
0
166
Houston, Texas USA
cPanel Access Level
Root Administrator
rm -rf /var/cpanel/useyum

WHM 10.8.0 cPanel 10.8.2-R119
CentOS 3.5 i686 - WHM X v3.1.0
This is _NOT_ a fix. The system is complaining that a key facility is not working properly, and "rm /var/cpanel/useyum" is like effectively saying "shut up". If you're OK with that, then you've got a whole other set of problems. ;-) Additionally, when a full upcp runs that file will be recreated automatically. It's essentially there to mark the result of a number of tests so that they don't have to be ran again. Removing /var/cpanel/useyum will only prevent the error from being seen for a short while. The real fix is to fix yum. If you really don't want to use yum, then rename /etc/yum.conf and remove /var/cpanel/useyum.

BTW, RHEL should probably not be using yum. The preferred update system for RHEL is up2date. You can use yum, but it's unlikely that's what you really want.
 

bjdea1

Well-Known Member
Mar 6, 2003
81
1
158
Solution

I found the root cause of this yum problem.

For my servers it was nothing to do with yum and everything to do with the resolv.conf file setup.

I had one server that worked and all the rest were failing. On the server that worked there were 3 nameserver entries in the resolv.conf file, the file looked like:

search xx.xx.xx.reverse.layeredtech.com
nameserver 4.2.2.1
nameserver xx.xx.xx.xx
nameserver xx.xx.xx.xx


where the xx's need to be replaced with your nameserver IP numbers. Seems for me adding the nameserver 4.2.2.1 entry is what solved my yum problem. Hope that helps others.
 
Last edited:

BenThomas

Well-Known Member
Feb 12, 2004
598
0
166
Houston, Texas USA
cPanel Access Level
Root Administrator
I'm pretty sure that somewhere in this thread I explained why that was not a "fix" and generally a bad idea. You've just disabled updates for your system and fixed the problem by quieting the symptom.
 

searcher1

Active Member
Jul 23, 2005
26
0
151
London, UK
I'm pretty sure that somewhere in this thread I explained why that was not a "fix" and generally a bad idea. You've just disabled updates for your system and fixed the problem by quieting the symptom.
Thank you for that!
This is what happens when someone like me does not read the whole thread. :eek: :eek:

Thanks again
Michael
 

Marty

Well-Known Member
Oct 10, 2001
629
1
318
I had this error on a server and found that I needed to change the urls for the mirror's in the yum.conf file. Once that was changed, all was well.