You are not logged in.

#1 2008-09-28 21:00:21

darthaxul
Member
Registered: 2008-09-24
Posts: 156

pacman -R kernel-headers

"error: failed to prepare transaction (could not satisfy dependencies)
:: glibc: requires kernel-headers>=2.6.25.6

I compile my own x64 latest kernel from kernel.org but I'd like to get rid of the existing kernel-headers. I dont know what is the problem but it wont let me do  that.

Offline

#2 2008-09-28 21:08:48

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,880

Re: pacman -R kernel-headers

Welcome to the forums.

You can remove things regardless of dependencies with the -d switch: pacman -Rd <whatever>.

There are a bunch of threads here about kernel-headers and their relationship to the installed kernel. You may want to search around before you remove the headers.

Offline

#3 2008-09-29 10:39:15

JGC
Developer
Registered: 2003-12-03
Posts: 1,658

Re: pacman -R kernel-headers

Without the kernel-headers package you can't compile any userspace application anymore. Kernel-headers is a completely different package than the kernel you installed and has nothing to do with it.

Offline

#4 2008-09-29 17:26:52

ghostHack
Member
From: Bristol UK
Registered: 2008-02-29
Posts: 261

Re: pacman -R kernel-headers

The kernel headers must match those used to build the glibc library, they do not need to match the currently running kernel. 

Think about it, if the kernel headers had to match the current kernel you would never be able to have more than one kernel version installed at a time since each would need different headers.

Offline

#5 2008-09-30 21:23:00

darthaxul
Member
Registered: 2008-09-24
Posts: 156

Re: pacman -R kernel-headers

I didnt care about it matching up or anything like that I just wanted to get rid of that package bacuse I had newer kernel headers.

pacman -Q kern |grep kern....shows nothing...it musta worked.

Offline

#6 2008-09-30 21:46:55

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: pacman -R kernel-headers

darthaxul wrote:

I didnt care about it matching up or anything like that I just wanted to get rid of that package bacuse I had newer kernel headers.

pacman -Q kern |grep kern....shows nothing...it musta worked.

It's not really an achievement to force-remove a package.  The question is whether there will be consequences to removing it?  If I were you I'd listen when a developer tells you that a given package is necessary...  I mean, "I just wanted to get rid of that package bacuse I had newer kernel headers" is not a particularly good argument.

Last edited by fwojciec (2008-09-30 21:47:51)

Offline

#7 2008-09-30 23:41:35

jacko
Member
Registered: 2007-11-23
Posts: 838

Re: pacman -R kernel-headers

The kernel headers must match those used to build the glibc library, they do not need to match the currently running kernel.

So in other words, unless you update the glibc built against the kernel headers you have installed you won't be doing much of anything as for compiling.

Offline

#8 2008-10-01 01:53:41

darthaxul
Member
Registered: 2008-09-24
Posts: 156

Re: pacman -R kernel-headers

lol dang, your right. I would essentially be making my own distro if i did that. woa.

Offline

#9 2008-10-01 07:37:00

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: pacman -R kernel-headers

darthaxul wrote:

I didnt care about it matching up or anything like that I just wanted to get rid of that package bacuse I had newer kernel headers.

pacman -Q kern |grep kern....shows nothing...it musta worked.

newer kernel headers?

kernel source != kernel headers

Offline

Board footer

Powered by FluxBB