Can't install Kernel-headers, glibc and glibc-headers

Issues related to software problems.
abednegoyulo
Posts: 550
Joined: 2007/12/26 06:24:38
Location: 127.0.0.2 44013

Re: Can't install Kernel-headers, glibc and glibc-headers

Post by abednegoyulo » 2010/05/12 11:20:42

[quote]
guzabi wrote:
- Yum priorities is not important anymore for me.

[i][/i]

Uh, oh... :-s seems like I should use kernel-headers-2.6.32.2, doesn't it?
How come it was not available ?[/quote]

I think it is now :-D

r_hartman
Posts: 711
Joined: 2009/03/23 15:08:11
Location: Netherlands
Contact:

Re: Can't install Kernel-headers, glibc and glibc-headers

Post by r_hartman » 2010/05/12 11:29:59

You don't need kernel-headers. The only reason for your dependency issues is that you [i]told[/i] yum to install glibc-devel, which you don't need if you don't want gcc, as explained by [b]pschaff[/b].

The reason the headers aren't available for your kernel is that you [i]do not have a CentOS kernel[/i].
RHEL6 beta is based on kernel 2.6.32, so before CentOS 6 you will not see that kernel in CentOS.
CentOS 5 is based on 2.6.18, being 2.6.18-164.15.1.el5 at the time of this post.

As for the rest: you're on your own, as [b]pschaff[/b] clearly explained why:
[quote]You have 3rd party repos enabled without yum-priorities and an unknown source/pedigree kernel. I have no idea what those have done to your system. That's about it.[/quote]

guzabi
Posts: 15
Joined: 2010/04/10 06:42:40
Contact:

Re: Can't install Kernel-headers, glibc and glibc-headers

Post by guzabi » 2010/05/12 11:35:28

Okay. I'll rephrase my questions ina new post.
Sorry for all the mismatch in here...

r_hartman
Posts: 711
Joined: 2009/03/23 15:08:11
Location: Netherlands
Contact:

Re: Can't install Kernel-headers, glibc and glibc-headers

Post by r_hartman » 2010/05/12 11:41:17

[quote]
guzabi wrote:
Okay. I'll rephrase my questions ina new post.
Sorry for all the mismatch in here...[/quote]

Please don't, as you have now been told by three different people that we cannot provide support, as you do not have a CentOS system, and on top of that, your system may be severely compromised by mixing repositories.

Your clamav wants glibc 2.7, while CentOS ships 2.5.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Can't install Kernel-headers, glibc and glibc-headers

Post by pschaff » 2010/05/12 14:05:43

Please read:
[url=http://wiki.centos.org/AdditionalResources/OtherVoices]Other Voices[/url]
[url=http://wiki.centos.org/TipsAndTricks/BrokenSpins]When CentOS Is Not CentOS[/url]
[url=http://wiki.centos.org/TipsAndTricks/BrokenVserver]Broken Virtual Server[/url]

Advice we give you may just break your system. Please consult with your hosting provider about the pseudo-CentOS system that you have been provided. If you are able to start with a fresh true CentOS install then we will be able to help.

guzabi
Posts: 15
Joined: 2010/04/10 06:42:40
Contact:

Re: Can't install Kernel-headers, glibc and glibc-headers

Post by guzabi » 2010/05/12 15:48:23

Okay... I'm feeling a bit lonely here... :-(
Thanks, however, your anwswers were useful, nonetheless...

One more question:
Now that I've seen that I've installed a wrong glibc-devel and kernel-headers version, what is the risk ?
(don't forget that I don't have GCC installed on the machine and I'm not planning to install it)

That was the last question, I promise.
Thanks in advance.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Can't install Kernel-headers, glibc and glibc-headers

Post by gerald_clark » 2010/05/12 15:51:26

Since they cannot be used in your environment, I would suggest removing them.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Can't install Kernel-headers, glibc and glibc-headers

Post by pschaff » 2010/05/12 16:35:08

Despite my earlier comment about breaking your system, I agree with Gerald on that. It should be both safe and desirable to:[code]rpm -qa *-devel[/code]Review the results, and unless you see something that you really need (which I doubt) then[code]yum remove $(rpm -qa *-devel)[/code]
Removing the kernel-headers package and any dependencies should also be harmless on a non-development system, particularly without a standard kernel to match.

guzabi
Posts: 15
Joined: 2010/04/10 06:42:40
Contact:

Re: Can't install Kernel-headers, glibc and glibc-headers

Post by guzabi » 2010/05/12 17:34:16

Thanks, Phil and Gerald,

Here's what I saw :
[code]# rpm -qa *-devel
e2fsprogs-devel-1.39-23.el5
krb5-devel-1.6.1-36.el5_4.1
glibc-devel-2.5-42.el5_4.3
ncurses-devel-5.5-24.20060715
keyutils-libs-devel-1.2-1.el5
zlib-devel-1.2.3-3
libselinux-devel-1.33.4-5.5.el5
glibc-devel-2.5-42.el5_4.3
ruby-devel-1.8.5-5.el5_4.8
mysql-devel-5.0.77-4.el5_4.2
ncurses-devel-5.5-24.20060715
libsepol-devel-1.15.2-2.el5
openssl-devel-0.9.8e-12.el5_4.6
ruby-devel-1.8.5-5.el5_4.8
mysql-devel-5.0.77-4.el5_4.2[/code]
Eeeew... I'm pretty sure I only want to remove only gcc-devel... I'm a little afraid to remove the others, as I didn't install them, so I never know what could happen... So...
[code]# yum remove glibc-devel kernel-headers
(blah)
Running Transaction
Erasing : glibc-devel 1/2
Erasing : glibc-devel 2/2
Erasing : kernel-headers 1/2
Erasing : glibc-headers 2/2

Removed:
glibc-devel.i386 0:2.5-42.el5_4.3 glibc-devel.x86_64 0:2.5-42.el5_4.3
kernel-headers.x86_64 0:2.6.18-164.15.1.el5

Dependency Removed:
glibc-headers.x86_64 0:2.5-42.el5_4.3

Complete![/code]
I might be wrong, but I feel safer this way... Do you think I'm stupid on this one ?
Also, what if I get the same error message e-mail ? I don't understand why yum-updatesd saw an update for my clamav, because:
[code]# yum list available | grep clam
clamav-data-empty.x86_64 0.95.2-1.vm.el5 virtualmin
clamav-devel.x86_64 0.95.2-1.vm.el5 virtualmin
clamav-milter.x86_64 0.95.2-1.vm.el5 virtualmin
clamav-milter-sysv.x86_64 0.95.2-1.vm.el5 virtualmin[/code]

(okay, I lied when saying it was my last question... sorryyyyyyyy !!!)

Also, on the Gentoo distro, there is a nifty tool called revdep-rebuild that can check if anything was broken by updating/deleting packages. IS there an equivalent on CentOS?

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Can't install Kernel-headers, glibc and glibc-headers

Post by pschaff » 2010/05/12 17:45:37

Once more, the *-devel packages are needed [i]only[/i] for development. You would be safe removing them. If in doubt after seeing what yum would remove, just say No.

Gentoo by nature cannot exist without a compiler as everything is locally built. Yum dependency checking and associated tools are probably the closest CentOS equivalent.

Post Reply