I ran sudo pacman -Syu and I got some interesting errors reading:
error: failed to commit transaction (conflicting files)
and a long list of files followed by exists in filesystem. Full output is here: http://ix.io/lLw
It appears that many of these files are not associated with a package when I checked them with pacman -Qo <path-to-file>, but I did not check them all. I had a weak connection when I ran pacman -Syu, but I get the same errors when I updated later: http://ix.io/lLx
What should I do? Should I check all files and delete the ones that do not have an associated package? Should I force update (with sudo pacman -S --force <package-name>?)
Update
I tried running sudo pacman -S --force <package-name> and got this:
[my-pc]/home/average-joe$ pacman -Qo /usr/lib/python3.5/site-packages/PyYAML-3.11-py3.5.egg-info
error: No package owns /usr/lib/python3.5/site-packages/PyYAML-3.11-py3.5.egg-info
It looks like pacman -S --force <package does not overwrite directories that contain files. From the man:
Using --force will not allow overwriting a directory with a file or installing packages with conflicting files and directories.
Should I just delete the conflicting directories? (they do not have associated packages)
/usr/local/rather than/usr/) – umläute Nov 02 '15 at 12:37sudo pip install -U docker-compose==1.5.0rc3on this page. Perhapssudo pip installconflicts with pacman? – modulitos Nov 03 '15 at 07:47-Supdates (partial installs, etc) will let you that scenario. Case of me--forceworked all times. – m3nda May 23 '17 at 17:15--overwritecommand, because--forceis not working anymore. – m3nda Jan 30 '20 at 01:53trizen -S <package> --overwrite "*"or\*won’t work: the*argument isn’t passed on topacman. Not sure how to properly escape this, but after downloading all packages,trizenwill tell you the exactpacmancommand it is going to execute. Then simplyCtrl+C, copy that command, fix the"*"argument and hitEnter. – Sebastian Simon Dec 30 '20 at 01:55