You are not logged in.
Pages: 1
"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
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
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
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
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
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
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
lol dang, your right. I would essentially be making my own distro if i did that. woa.
Offline
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
Pages: 1