You are not logged in.
Pages: 1
Hi,
shouldn't linux-headers package has linux as it's depency? Currently I must roll back to the old kernel and that's why I should also manually track linux-headers package. As I understand there is litte if not sense at all in having headers different to the currently running kernel. You cannot have several parallely linux-headers packages (in order to build modules for different kernel versions) anyway.
I thought I'll ask here, before submitting a bug report.
Regards
Roman
Offline
I don't think so... one can use headers for a different kernel for the purpose of compiling modules for example. In this situation, the main kernel package isn't needed. Dunno what to tell you about that roll back scenario.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
one can use headers for a different kernel for the purpose of compiling modules for example.
Exactly this I mention in my first post. The point is there cannot be two linux-headers on the system simaltenously, so installing the other one will smash the one that corresponds to your running kernel. Then you need to reinstall it once you've done with compiling modules.
But you are probably right, if there was a dependency the kernel would be downgraded also, which the user definitely did not want.
However, in this case it would be perfect to be able to have several linux-headers on the system. Is this possible?
Offline
Actually, that's not right. I have three different sets of Linux headers for ck1-kx, lqx, and the default. Each time each of my kernels upgrade, I recompile the fglrx module against each one with their own headers. Looking in /lib/modules/ seems to ascertain this.
Also, there is a chance that using default headers for a non-default kernel could result in wrong behavior or info. For instance, compiling the fglrx module against linux-headers for the ck1 kernel does not work. I'm guessing not having the dependency simply means that you're able building modules for a kernel you may not have? I can see where this might be useful for those hosting a module for others without requiring the use of the corresponding kernel.
Last edited by computerquip (2012-01-29 16:12:07)
Offline
Actually, that's not right. I have three different sets of Linux headers for ck1-kx, lqx, and the default.
What I was talking about is that you are not able to have several default linux-headers on the machine. This contradicts a bit with the idea of compiling modules for a different from running kernel.
Offline
Offline
Pages: 1