(yum) was not able to locate the glibc package

MMarko

Well-Known Member
Apr 18, 2005
316
0
166
CentOS 3.7

Code:
[~]# yum info glibc

Unable to find pid
Gathering header information file(s) from server(s)
Server: CentOS-3 - Addons
Server: CentOS-3 - Base
Server: CentOS-3 - Extras
Server: CentOS-3 - Updates
Finding updated packages
Downloading needed headers
Looking in Available Packages:
Name   : glibc
Arch   : x86_64
Version: 2.3.2
Release: 95.44
Size   : 11.49 MB
Group  : System Environment/Libraries
Repo   : CentOS-3 - Base
Summary: The GNU libc libraries.
Description:
 The glibc package contains standard libraries which are used by
multiple programs on the system. In order to save disk space and
memory, as well as to make upgrading easier, common system code is
kept in one place and shared between programs. This particular package
contains the most important sets of shared libraries: the standard C
library and the standard math library. Without these two libraries, a
Linux system will not function.

Name   : glibc
Arch   : i686
Version: 2.3.2
Release: 95.44
Size   : 11.79 MB
Group  : System Environment/Libraries
Repo   : CentOS-3 - Base
Summary: The GNU libc libraries.
Description:
 The glibc package contains standard libraries which are used by
multiple programs on the system. In order to save disk space and
memory, as well as to make upgrading easier, common system code is
kept in one place and shared between programs. This particular package
contains the most important sets of shared libraries: the standard C
library and the standard math library. Without these two libraries, a
Linux system will not function.


Looking in Installed Packages:
Name   : glibc
Arch   : i686
Version: 2.3.2
Release: 95.39
Size   : 11.79 MB
Group  : System Environment/Libraries
Repo   : Locally Installed
Summary: The GNU libc libraries.
Description:
 The glibc package contains standard libraries which are used by
multiple programs on the system. In order to save disk space and
memory, as well as to make upgrading easier, common system code is
kept in one place and shared between programs. This particular package
contains the most important sets of shared libraries: the standard C
library and the standard math library. Without these two libraries, a
Linux system will not function.

Name   : glibc
Arch   : i686
Version: 2.3.2
Release: 95.39
Size   : 11.79 MB
Group  : System Environment/Libraries
Repo   : Locally Installed
Summary: The GNU libc libraries.
Description:
 The glibc package contains standard libraries which are used by
multiple programs on the system. In order to save disk space and
memory, as well as to make upgrading easier, common system code is
kept in one place and shared between programs. This particular package
contains the most important sets of shared libraries: the standard C
library and the standard math library. Without these two libraries, a
Linux system will not function.

No I do not have open ticket.


Do you maybe know why cpanel won't start with kernel 2.4.33?
 

Morgana

Active Member
Jan 16, 2003
25
0
151
I am also interested in the solution because I have the same problem with a few of my servers.
 

_sr_

Member
Jan 23, 2006
7
0
151
I get

# sh /usr/local/src/buildapache.sea
Creating directory buildapache
Verifying archive integrity... All good.
Uncompressing buildapache......................................................................................................................................................................................................................................
Checking Update System........Your operating system's rpm update method (yum) was not able to locate the glibc package. This is an indication of an improper setup. You must correct this error before you can proceed.
Please correct the conflicts and try again!
# uname -s
FreeBSD
#
not sure why script detect my system as linux
 

imkite

Member
Sep 3, 2006
5
0
151
try adding exclude=glibc* etc* etc* to your /etc/yum.conf

I had a similar problem and thats how I fixed it.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
FeeL said:
rm -rf /var/cpanel/useyum

solved the problem 4 me!
So long as you're not using a ditribution that needs yum, i.e. CentOS or Fedora Core - otherwise you've just borkne the servers means to update the OS and open yourself up to security vulnerabilities and cPanel won't be able to install/upgrade some applications. You must have an OS update mechanism supported by cPanel of some description, be it yum or up2date, etc.
 

Man0warr

Well-Known Member
Jun 5, 2006
59
0
156
Dallas, TX
How did you fix it? I'm having this problem too, except with up2date instead of yum

edit - fixed it.

Our up2date liscense or something ran out, had to contact our datacenter to fix it.
 
Last edited:

ealfert

Member
Dec 3, 2004
5
0
151
To whomever found a solution...

PLEASE mention if you use the rm -rf /var/cpanel/useyum technique or another that does not cause the system to not keep up with security patches.

Please be nice and help others instead of just saying "fixed".
 

FeeL

Well-Known Member
Apr 17, 2004
134
2
168
Rio de janeiro
cPanel Access Level
Reseller Owner
"good" solution.

For those, like me, that followed this efective, but poor solution of removing the
/var/cpanel/useyum file, here's how to undo this.

simply do the:

touch /var/cpanel/useyum

This will create the empty reference file. (soh I guess)

Tnx chirpy
Cya people.
 

leighj

Well-Known Member
Feb 21, 2003
51
0
156
I found that updating the Yum Repositories fixed (in yum.conf) fixed the problem.... (used fedora url...)
 

saltyzoo

Registered
Jun 6, 2004
3
0
151
I had this problem and resolved it by updating my /etc/yum.conf to a mirror that supported the os version I was running. The mirror I had before stopped serving up the files that were needed.