#(solved) Rebooted during pacman update by accident

10 messages · Page 1 of 1 (latest)

wintry fox
#

I was super drunk and my memory is not good. I think this is what happened. I can boot into a tty and use pacman and stuff. Only thing that seems broken are Nvidia modules. I can't get X running and xorg logs say it can't initialize the Nvidia kernel module.

When I upgrade Linux-headers or the Nvidia-470xx-dkms packages I get an error saying the Nvidia module has already been built (see picture). However when trying to do dkms remove nvidia/470.141.03 it says it's not built or installed

#

I think something involving an install hook got interrupted

deep rover
#

i would recommend booting into your archiso, mounting the system, chroot into it, and reinstall your kernel, this should trigger a dkms rebuild, which might fix the issue

wintry fox
#

I'll try that

#

I get the same error

wintry fox
#

Fixed it, I think. I manually removed that directory and re-installed the kernel headers. Not sure if it was the right way to do it but the archwiki dkms page does talk about manually removing those directories if you uninstall dkms so I'm guessing anything missing can be regenerated

#

I can boot into X again

smoky ice
#

Nice