Can't install a new kernel, update issues

At the moment I can’t update my system due to this problem,

:: removing linux60-rt breaks dependency ‘linux60-rt’ required by linux60-rt-nvidia
:: installing nvidia-utils (530.41.03-4) breaks dependency ‘nvidia-utils=525.89.02’ required by linux60-rt-nvidia

A solution would be installing a new kernel and removing linux60-rt, however this as of now is the only kernel installed and I can’t install a new one because it tells me the same thing when I try. When it shows the message, “Do you want to continue anyway? [y/N]” despite trying yes, it always comes back with: error: no targets specified (use -h for help). I’d welcome help and suggestions.

How does installing it produce the same error if you arent attempting a removal?

…what is the output when you do?

sudo mhwd-kernel -i linux61

Or similarly doing so with pacman:

sudo pacman -Syu linux61 linux61-headers
1 Like

I have a similar issue: When attempting to install a later kernel (currently Linux515) i get this:

The following packages will be installed:
linux61
linux61-nvidia-470xx

Starting
resolving dependencies…
looking for conflicting packages…
:: installing nvidia-470xx-utils (470.182.03-1) breaks dependency ‘nvidia-470xx-utils=470.161.03’ required by lib32-nvidia-470xx-utils
:: installing nvidia-470xx-utils (470.182.03-1) breaks dependency ‘nvidia-utils=470.161.03’ required by linux515-nvidia-470xx

It tells me I should first update my system before installing it, because a list of packages is out of date. However, I can’t update my system due to the break in dependency nvidia is causing. Sort of a cyclical issue.

you remove first

sudo pacman -Rdd nvidia-utils lib-32-nvidia-utils
sudo pacman -S linux61 linux61-headers linux61-nvidia

you reboot and choose another kernel ,
then you can remove

sudo mhwd-kernel -r linux60-rt

then you can update

sudo pacman -Syyuu
sudo pacman -S nvidia-setting

Trying to remove nvidia-utils shows me this,

error: failed to prepare transaction (could not satisfy dependencies)
:: removing nvidia-utils breaks dependency ‘nvidia-utils=525.89.02’ required by lib32-nvidia-utils
:: removing nvidia-utils breaks dependency ‘nvidia-utils=525.89.02’ required by linux60-rt-nvidia
:: removing nvidia-utils breaks dependency ‘nvidia-utils’ required by nvidia-prime

try then

sudo pacman -Rdd nvidia-utils lib32-nvidia-utils
sudo pacman -S linux61 linux61-headers linux61-nvidia

Thank you! Solved.

I’ve marked one of the answers as solution; highly recommend you try.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.