Garuda update error

Hello Garuda users. I recently became a garuda user. This is my first Linux.
A couple of days ago I decided to upgrade Linux and ran into the following error (see terminal output). On the Internet, I came across this advice from Reddit:
"nvidia and nvidia-dkms indeed conflicts as they are pretty much the "same thing". nvidia comes precompiled for your kernel, while nvidia-dkms links to your kernel at update time.

Try to uninstall one or the other and see if that fixes your conflict. If you have to chose which one to keep, I'd personally recommend nvidia-dkms if you don't mind system updates being a bit longer as it's less susceptible to break on update."

But unfortunately I'm not very familiar with Linux commands and therefore I ask you for help. I hope for your understanding.
Here is the terminal output
[sudo] пароль для nikita:
:: Обновление баз данных пакетов...
garuda is up to date
core is up to date
extra 1712,2 KiB 4,57 MiB/s 00:00 [------------------------------------] 100%
community is up to date
multilib 169,0 KiB 704 KiB/s 00:00 [------------------------------------] 100%
chaotic-aur 1970,5 KiB 3,64 MiB/s 00:01 [------------------------------------] 100%
blackarch is up to date

--> Refreshing mirrorlists using rate-mirrors, please be patient..
:: Обновление баз данных пакетов...
garuda 75,3 KiB 164 KiB/s 00:00 [------------------------------------] 100%
core 157,3 KiB 603 KiB/s 00:00 [------------------------------------] 100%
extra 1712,2 KiB 4,19 MiB/s 00:00 [------------------------------------] 100%
community 6,7 MiB 9,02 MiB/s 00:01 [------------------------------------] 100%
multilib 169,0 KiB 628 KiB/s 00:00 [------------------------------------] 100%
chaotic-aur 1970,5 KiB 3,35 MiB/s 00:01 [------------------------------------] 100%
blackarch 3,6 MiB 720 KiB/s 00:05 [------------------------------------] 100%
spawn pacman -Su sweet-theme-full-git --ignore sweet-kde-git,sweet-cursor-theme-git,kvantum-theme-sweet-git,sweet-gtk-theme-dark,plasma5-theme-sweet-git
:: Starting full system upgrade...
warning: kvantum-theme-sweet-git: ignoring package upgrade (r256.866a934-1 => r269.6e058fc-1)
:: Replace kwayland-server with extra/kwin? [Y/n] y
:: Replace qemu with extra/qemu-desktop? [Y/n] y
:: Replace qemu-arch-extra with extra/qemu-emulators-full? [Y/n] y
:: Replace wxgtk-common with extra/wxwidgets-common? [Y/n] y
:: Replace wxgtk3 with extra/wxwidgets-gtk3? [Y/n] y
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: nvidia-dkms and nvidia-lts are in conflict
Press enter to exit

AFAIK nvidia-dkms is a dependency of a Garuda package, therefore you are not supposed to uninstall it. I tried to do that, eventually got rid of the entirety of garuda-nvidia-config which you may not want.

Maybe then it's worth removing not nvidia-dkms, but removing nvidia-lts?

Type in

sudo pacman -R nvidia-lts && garuda-update

And you should be good to go.

Edit: Maybe getting to know pacman and its commands is a good idea:


Thanks, comrade! Your solution helped me. Perhaps I should study this OS more closely. Thanks again for your help.

1 Like

I marker it as Solution :wink:. You can do that as well with the relevant button.


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