I am trying to update my system, but I get this error:
installing nvidia-utils (535.98-1) breaks dependency 'nvidia-utils=535.86.05' required by linux63-nvidia
I searched here and found this similar thread link
However, in my case, I am already using linux63. To be exact, upon running
uname -r
I am getting 6.3.13-2-MANJARO as an output, which is confusing me. I tried switching to every other installed kernel in my device, but all were previous versions. That always output the same error.
I then attempted to upgrade to a more recent kernel. Unfortunately that did not work; I am prompted to first update my system.
In one more attempt to update my system I started adding nvidia packages to the ignore list of pacman update, but that resulted in the next package being thrown as an error, and then the next, and the next (etc.)
did you installed cuda as additional package? that might cause conflicts.
also, if uname point out that you’re on 6.3.xxx than you’re on 6.3.xxx and you should down- or upgrade to a kernel version that is not EOL.
No, I don’t think so. sudo pacman -Qs cuda yields this:
local/icu 73.2-2
International Components for Unicode library
local/lib32-icu 73.2-1
International Components for Unicode library (32 bit)
local/openmpi 4.1.5-2
High performance message passing library (MPI)
Edit: My other problem is I can’t seem to be able to install a newer kernel yet, because I am asked to update my system first. And I can’t do that because nvidia related packages are blocking me from upgrading my system.
I tried to add nvidia-utils to the ignore list of pacman’s but then a new dependency came up. Then I added that to the ignore list, and a third dependency came up, at which point I turned for help here.
@kosa
thank you. as said i would start cleaning up the problems with changing to an actual supported kernel (lts or not is up to you) but 6.3.xx is EOL. that’s a good start
I tried with every other kernel I have currently installed. mhwd-kernel -li prints this:
The following kernels are installed in your system:
* linux510
* linux61
* linux63
* linux510-rt
* linux63-rt
Should I try adding everything that breaks its dependencies to the ignore list, and then update my system first, then try installing a newer kernel, or am I better advised to install a newer kernel without updating my system first?
the rt-kernel are not recommend for general use. why did you install them ? there is no need for general use but in opposite they will not work properly in 99,9%. 6.3 is EOL.
you should clean the mess and delete them because they just waste space. 5.10 is lts, it’s your decission to keep this one or switch to 5.15. 6.1 is okay, i would keep this one. the newest 6.4 is a little bit disappointing. there are lots of reports about network-problems and other hardware-related issues. i wouldn’t use this and stay on 6.1
I had remained with 5.10 for a very long time, and I needed to upgrade to a newer kernel, but was unsure whether it was a good idea to try the plain or the rt ones, so I guess I just went for it; just to give it a try. Eventually I stayed to 6.3 and never uninstalled the older ones.
I am not exactly sure what problem I’d had with 5.15 - or even if it was 5.15 and not some other version after 5.10 - but I am pretty sure my hardware was not playing nice with that. That was the reason why I had stuck with 5.10 for so long, and the reason why I haven’t removed it from my system yet, after switching to 6.3. I wanted to be safe that if anything - whatever - goes wrong, I can always fall back to the safety of 5.10’s.
I am posting this, and then rebooting with 6.1 to give updating another try. Then I’ll skip 6.4 if there are so many network problems like you mentioned, and just try 6.5 directly instead.
That has worked, thank you. I also ran mhwd-kernel -r linux510-rt
mhwd-kernel -li returns only linux510, linux61, and linux63 now.
In the grub menu I have two instances of each. I tried to boot with both of 6.1s and uname -r prints the exact same thing for both options. Perhaps that is a topic for the grub section? It does not seem right in my eyes. Is it?
Let us keep our focus on the issue at hand, though. I am now booted with 6.1 as instructed, and I am trying to update pacman once more, but I keep getting the same error on nvidia-utils. Shall I try ignoring the dependencies, to be able to update and then install 6.5 and try a proper update of everything left out with that afterwards?
To summarize you had inexistent kernel packages, and a custom package linux-rt-lts-manjaro that was blocking the normal update process. If you go custom or want to keep old and removed packages, you need to know what you are doing.
Try the update, give full command output here so we know what is blocking the update now.
PS: Linux 6.3 is not in repos anymore, so guess what you need to do again?
Remove the non existent kernel, Linux 6.3. I told you in previous message (actually gave a hint only, but I thought you would understand).
Kernel does not exist anymore in the repositories so with Nvidia it creates issues, because it can not find the current Nvidia driver for the non existent kernel.
Cache directory: /var/cache/pacman/pkg/
:: Do you want to remove ALL files from cache? [y/N] y
removing all files from cache…
Database directory: /var/lib/pacman/
:: Do you want to remove unused repositories? [Y/n] y
removing unused sync repositories…
sudo pacman -Syu:
:: Synchronizing package databases…
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade…
resolving dependencies…
looking for conflicting packages…
error: failed to prepare transaction (could not satisfy dependencies)
:: installing nvidia-utils (535.98-1) breaks dependency ‘nvidia-utils=535.86.05’ required by linux63-nvidia