Context: Today, I update a bunch of packages (I would love to say which ones but, I don’t know how to tell that). At the moment of the installation a message pop-up telling something about nvidia drivers, I really haven’t pay to much attention to the message and hit close and continue with my day. Installation goes smooth like always and ask me to reboot my machine, I do so, but now manjaro won’t boot at all. I manage to boot Manjaro from a USB and use the manjaro-chroot to go into my system? (idk if this is the correct way to say it, sorry, still a noob). Then I use the following command to reinstall my nvidia drivers:
sudo mhwd -f -i pci video-nvidia
I use the -f -i flags to force the re installation. This was the output:
Removing video-nvidia... Sourcing /etc/mhwd-x86_64.conf Has lib32 support: true Sourcing /var/lib/mhwd/local/pci/video-nvidia/MHWDCONFIG Processing classid: 0300 Sourcing /var/lib/mhwd/scripts/include/0300 Processing classid: 0302 checking dependencies... :: ffmpeg optionally requires nvidia-utils: Nvidia NVDEC/NVENC support :: gst-plugins-bad optionally requires nvidia-utils: nvcodec plugin :: lib32-vulkan-icd-loader optionally requires lib32-vulkan-driver: packaged vulkan driver :: mangohud optionally requires libxnvctrl: support for older NVIDIA GPUs :: steam-manjaro optionally requires vulkan-driver: packaged vulkan driver :: steam-manjaro optionally requires lib32-vulkan-driver: packaged vulkan driver (32bit) :: steam-native optionally requires vulkan-driver: packaged vulkan driver :: steam-native optionally requires lib32-vulkan-driver: packaged vulkan driver (32bit) :: vulkan-icd-loader optionally requires vulkan-driver: packaged vulkan driver warning: dependency cycle detected: warning: eglexternalplatform will be removed after its nvidia-utils dependency Packages (6) egl-wayland-2:1.1.9+r3+g582b2d3-1 eglexternalplatform-1.1-2 lib32-nvidia-utils-495.46-1 libxnvctrl-495.46-1.0 linux414-nvidia-495.46-6 nvidia-utils-495.46-3 Total Removed Size: 582.99 MiB :: Do you want to remove these packages? [Y/n] :: Processing package changes... removing linux414-nvidia... removing lib32-nvidia-utils... xorg configuration symlink valid... removing nvidia-utils... xorg configuration symlink valid... removing egl-wayland... removing eglexternalplatform... removing libxnvctrl... :: Running post-transaction hooks... (1/5) Reloading system manager configuration... Skipped: Running in chroot. (2/5) Reloading device manager configuration... Skipped: Running in chroot. (3/5) Arming ConditionNeedsUpdate... (4/5) Updating module dependencies... (5/5) Updating the desktop file MIME type cache... '/etc/X11/xorg.conf.d/90-mhwd.conf' symlink is invalid! Removing it... > Successfully removed video-nvidia > Installing video-nvidia... Sourcing /etc/mhwd-x86_64.conf Has lib32 support: true Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia/MHWDCONFIG Processing classid: 0300 Sourcing /var/lib/mhwd/scripts/include/0300 Processing classid: 0302 :: Synchronizing package databases... core downloading... extra downloading... community downloading... multilib downloading... sublime-text downloading... error: target not found: linux513-nvidia Error: pacman failed!
The important part is where it claims:
error: target not found: linux513-nvidia
Is trying to install the 5.13 Version of the linux-nvidia driver. BUT, thing is, i’m not running that version of the kernel.
sh-5.1# uname -r 5.15.12-1-MANJARO
uname -r reveals 5.15 Version. Is there something that I’m missing out here? So far I’ve try:
- Reinstalling the mhwd-db:
sudo pacman -S mhwd-db
- Manually installing the 5.15 Version of linux-nvidia:
With this, my problem is that I don’t know is this is a real solution. But it installed without problems.
sudo pacman -S linux515-nvidia
- Updating the pacman repos:
sudo pacman -Syy; sudo pacman -Syu;
I don’t know what else I can try, I was on this problem all day without luck.
If more information about my system is needed, feel free to ask me, I’ll provide all the information needed.