Upgrade was inturrupted. Was getting lots of files as:
{package name}: {file name} exists in filesystem
when reinstalling a package. I guess there were 50+ of them.
Totally forgot that `--force` was removed from `pacman`. So had to use hints from
this answer:
sudo pacman {package-name} --overwrite '*'
A
comment says:
It is a bad idea to use "*" as a glob, since it will overwrite absolutely anything including many things you didn't intend. The --overwrite option was added to pacman, and --force was removed, specifically because greedily matching everything was too dangerous and users got into trouble, whereas globs allow matching only what you need and know is okay. – eschwartz
But it's not possible to add --overwrite for all 50+ files. It would take all day.
Above it another
comment says (which I missed before running the command):
The Arch Wiki specifically recommends avoiding `--overwrite` except as a last resort. The correct approach is to move the conflicting file(s) and complete the install. – jasonwryan
Since this is just a single package, I took the risk. I can probably just remove and reinstall it if it causes any trouble. So far so good.
#
arch #
linux #
parabola #
troubleshooting #
package #
management