You are not logged in.
Pages: 1
I am a newbie in the Arch, so please be gentle with me.
Question: Why my Arch does not automatically install linux-headers when it upgrades kernel?
This is the second time my DKMS is failing while trying to recompile modules due to lack of headers...
Am I missing something? Configuration of something is screwed?
How to make sure that pacman -Syu will download linux-headers the same time it updates kernel?
Offline
You are using two phrases interchangeably, but they are very different things:
1) Why didn't pacman install linux-headers for you? Because it will never install anything that is not either a dependency of something you told it to install or is itself something you told it to install. Have you explicity installed linux-headers? Does you DKMS package depend on linux-headers? It should, which DKMS package is this?
2) Why didn't pacman upgrade linux-headers: it will if the linux-headers package is intalled.
Linux and linux-headers in the [core] repo should always be the same version. There have been a few cases where one of them made it to the repo before the other - but it is always quickly rectified. It is possible that if your mirror grabbed the database at the wrong moment and then did not update for quite a while that your mirror could be hosting incongruent versions. But we'd need specifics on what exactly happened to address that possibility.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
If the package goes to core at same time as the linux package, yes.
If not you can ignore and not upgrade the linux package and wait till the linux-headers gets updated
pacman -Syu --ignore linuxhttps://wiki.archlinux.org/index.php/Pa … g_upgraded
Sometimes can happen if the mirror that you are using are not fully sync with Archlinux
You can see the mirror status here https://www.archlinux.org/mirrors/status/
Last edited by American_Jesus (2015-10-27 23:09:59)
Archlinux X86_64
Offline
@Trilby,
1) dkms status
nvidia, 355.11, 4.2.2-1-ARCH, x86_64: installed
nvidia, 355.11, 4.2.3-1-ARCH, x86_64: installed
vboxhost, 5.0.8, 4.2.3-1-ARCH, x86_64: installed
It has failed on nvidia. Also, DKMS did not compiled module for vboxhos by itself. I had to push it with dkms autoinstall. Is this expected behaviour?
2) I have installed linux-headers previously (as you can see - I did that while installing nvidia), and it did not auto-update it last time.
Also, doesn't DKMS remove obsolete modules auto-magically when I upgrade the kernel?
I am sorry if the questions are really newbie, but I came from Sabayon land here and it is a bit terra incognita for me.
Offline
And today the same deal...
I have upgraded linux 4.2.5-1 and linux-headers 4.2.5-1 (interesting - this time both files were pulled automatically)
Restart and... no gui. :-( DKSM did not run (or failed for some reason) and no nvidia modules. I had to dkms autoinstall manually to fix it.
Any suggestions how to automate this process?
Offline
Any suggestions how to automate this process?
# systemctl enable dkmsJin, Jîyan, Azadî
Offline
https://wiki.archlinux.org/index.php/NV … nel_update
(edit: too slow)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Lovely. Thanks!
Offline
Pages: 1