You are not logged in.
Tonight, I did my daily system update with pacman -Syu. The nvidia package was updated, so I rebooted because I usually get minor problems if I do not. After rebooting, I could not start Xorg. I realised the nvidia module was not loaded and that modprobe could not find it.
$ modprobe nvidia
modprobe: FATAL: Module nvidia not found in directory /lib/modules/6.11.8-arch1-2
I looked around and I realised the module was installed in /lib/modules/6.11.9-arch1-1. My kernel is 6.11.8-arch1-2.
$ uname -r
6.11.8-arch1-2
I checked the upstream linux package and the most recent kernel is 6.11.9-arch1-1. But my installation is still using the older kernel, even after refreshing the package list several times.
https://archlinux.org/packages/core/x86_64/linux/
$ sudo pacman -Sy linux
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
warning: linux-6.11.8.arch1-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) linux-6.11.8.arch1-2
Total Installed Size: 137.29 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
In the mean time, I have manually installed the previous version of nvidia from the archive. Why is my package list not picking up the newest linux kernel? Is there something wrong with my pacman configuration?
http://archive.archlinux.org/packages/n … kg.tar.zst
Last edited by SavariaS (2024-11-19 13:19:30)
Offline
Have you rebuilt initramfs? You should write a pacman hook to run mkinitcpio every time nvidia (or nvidia-open) updates. Alternatively, you can install nvidia-dkms or nvidia-open-dkms, which will do so automatically (but in my experience adds about two minutes per kernel on to updates).
EDIT: https://wiki.archlinux.org/title/NVIDIA#pacman_hook is the relevant Arch wiki section. "mkinitcpio -P" will update it manually any time if you wish to do so.
Last edited by mesaprotector (2024-11-19 00:32:41)
Offline
Yes, I have rebuilt initramfs manually after installing the older nvidia package. I did not know writing a pacman hook was so easy though, thank you for the suggestion.
Offline
Sounds like a bad mirror, it's picked up the updates in Extra but not Core. Try a different one.
Offline
Pacman finds the newest linux and linux-headers packages this morning. I have commented the first mirror in /etc/pacman.d/mirrorlist, "http://mirrors.pablonara.com/archlinux/$repo/os/$arch", in case it was the bad mirror. May I keep this ticket open until the next linux package update?
Offline
Maybe use https://archlinux.org/packages/extra/any/reflector/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Online
I did use reflector to generate the mirror list during the installation.
reflector --country Canada -l 200 -n 20 -p http --sort rate --save /etc/pacman.d/mirrorlist
I have marked the thread as resolved. I will re-open it if the issue persists.
Offline
It's typically not a good idea to filter by location, there only 17 Mirrors in Canada, but 70 mirrors in the US and even some European mirrors might outperform some of the Canadian ones.
Network throughput is only partly determined by geographical distance.
Online
Also fixed. Thank you.
reflector -l 200 -n 20 -p http --sort rate --save /etc/pacman.d/mirrorlist
Last edited by SavariaS (2024-11-19 22:42:31)
Offline