Having trouble with update. Any suggestions?

When I try to update my system, I get this error message:

error: failed to prepare transaction (could not satisfy dependencies)
:: installing linux-cachyos-rc (6.15.rc1-1) breaks dependency ‘linux-cachyos-rc=6.14.rc7-3’ required by linux-cachyos-rc-nvidia

I’m not sure if anyone else is experiencing this, or if it’s something I did. I had to replace zlib-ng with zlib to get modded Minecraft working, because zlib-ng doesn’t work with Forge. I’m unsure if this could be related at all, but am providing the info in case it’s related to my problem with the update. As far as I know, that’s the only change I’ve made to my system.

I guess lmk if anyone else is having trouble with the latest update, or if anyone has any suggestions or possible workarounds/fixes. Also, let me know if more information is needed to troubleshoot the problem. I can run “sudo cachyos-bugreport” if needed, I’m just uncertain if any info needs to be scrubbed from it before posting for privacy/security reasons.

Possibly an out of sync mirror?

Assuming there is nothing wrong with the mirror or your connection or anything else then I might guess the maintainer of nvidia/rc accidentally forgot a sync?

By the by .. why are you using the rc variants of the kernel et al?
Release candidates (rc) are like betas so random weirdness might be expected even assuming all the packaging is aligned correctly.

TBH I have no idea, I’m a Windows refugee and only started using Linux about a year ago. I remember making a custom kernel using the tool, so I assume that’s probably got something to do with it.

I’ll try using the rank mirrors and see if it helps.

1 Like

$ pacman -Si linux-cachyos-rc-nvidia
Repository : cachyos-v3
Name : linux-cachyos-rc-nvidia
Version : 6.14.rc7-3
Description : nvidia module of 570.133.07 driver for the linux-cachyos-rc kernel
Architecture : x86_64_v3
URL : GitHub - CachyOS/linux-cachyos: Archlinux Kernel based on different schedulers and some other performance improvements.
Licenses : custom
Groups : None
Provides : NVIDIA-MODULE
Depends On : linux-cachyos-rc=6.14.rc7-3 nvidia-utils=570.133.07 libglvnd

Or they just forgot to rebuild it.

You could pass --ignore linux-cachyos-rc to your pacman command to ignore this package for now until the issue, whatever it is, is sorted out, and update rest of your system.

If you have no idea and we arent talking about bleeding-edge hardware ..

Then you would probably like to replace these rc variants with the regular ones ..
( Cachy itself, as well as the current kernels it offers, etc, are already quite up-to-date .. using ‘rc’ on top of that should only really be desirable if you purchased top of the line components pretty recently. )

ex;

sudo pacman -Syu linux-cachyos linux-cachyos-nvidia

I am away from cachy at the moment so I cant easily verify which packages exactly you likely have and/or whether the non-rc variants conflict with the rc. If they do not then you will have to remove them as well, ex: sudo pacman -Rns linux-cachyos-rc linux-cachyos-rc-nvidia

You might want to check for any other rc type packages:

pacman -Qs rc

And maybe double check on orphans as well:

pacman -Qdtq
1 Like

It looks that they both (rc and non rc nvidia) conflict only with:

linux-cachyos-nvidia-open-rc

and

linux-cachyos-nvidia-open

respectively.

Recompiling the kernel solved the issue, now the update went smoothly.

I’ve got amnesia, and have trouble forming new memories. Learning how to use Linux has been challenging, but the payoff is that my ancient computer is more optimized and can handle modern games. I can’t recall if I actually intended to build the RC kernel last time, but this time I got it right.

Thanks for the help, I hadn’t even realized that the dependency issue was related to the kernel, so pointing that out set me in the right direction. Much appreciated!

1 Like