0

Whenever I try to update my system for the past few months, I get the following errors:

CachyOS Hello Update System

error: failed to commit transaction (conflicting files) linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad103 exists in filesystem linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad104 exists in filesystem linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad106 exists in filesystem linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad107 exists in filesystem Errors occurred, no packages were upgraded. 

I found some other answers suggesting that I need to overwrite it. So I tried the following:

sudo pacman -Syu --overwrite=/usr/lib/firmware/nvidia/* 

But that didn't work. It said something about not finding the path event though the path seems like it's 100% correct?


How can I fix this and actually update my system?

1 Answer 1

1

After lots of trial and error, and searching. I eventually found the following that works.

You can manually delete the conflicting files using:

sudo rm -r /usr/lib/firmware/nvidia/ad103 sudo rm -r /usr/lib/firmware/nvidia/ad104 sudo rm -r /usr/lib/firmware/nvidia/ad106 sudo rm -r /usr/lib/firmware/nvidia/ad107 

And then run:

sudo pacman -Syu 

This fixed the issue for me 😁

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.