Hack Forums
Arch Pacman -Syu Error (Conflicting Files) - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Computing (https://hackforums.net/forumdisplay.php?fid=88)
+---- Forum: Linux (https://hackforums.net/forumdisplay.php?fid=85)
+---- Thread: Arch Pacman -Syu Error (Conflicting Files) (/showthread.php?tid=5645856)



Arch Pacman -Syu Error (Conflicting Files) - -Mr Mesmer - Jun 13, 2017

4.11.2-1-ARCH


Attempting to run :
Code
sudo pacman -Syu

Returning :

https://pastebin.com/RH2ZWK6N

After taking a look at the error you'll notice that the problem is conflicting files.
In this case I'm able to simply delete the files preventing the update with the following
Code
sudo rm -R /path/to/file

However is this really a viable solution?

What if I needed the files that were causing the conflict?


* - SuckySucky - Jun 13, 2017

No, do not manually remove individual files from the system in that manner. It will lead to issues in the long run.

The arch wiki has information about how to tackle this issue..

https://wiki.archlinux.org/index.php/Pacman#.22Failed_to_commit_transaction_.28conflicting_files.29.22_error


* - -Mr Mesmer - Jun 13, 2017

https://wiki.archlinux.org/index.php/Pacman#.22Failed_to_commit_transaction_.28conflicting_files.29.22_error

Thanks.