Pacman - Recovery after a system freeze mid-update
Hey, I had a system freeze mid update. Since some of my packages seemed to have gotten messed up, I'm trying to force a reinstall of packages with:
pacman -Qqn > pkglist.txt
pacman -S $(< pkglist.txt)
Unfortunately, I'm running into several packages that were part of the upgrade hitting an issue where they refuse to install because the files already exist on the filesystem. Trying to remove the package from the system doesn't remove its files. At the moment I'm forced to just manually delete files so that the affected packages can be installed again, but there has to be an easier way, right? Is there an easier way? Is there a method of forcing pacman to overwrite files that already exist on the filesystem?
About this post
- Posted
- Archived
- Score
- 7 · 89% up
- Kind
- Text
- ID
- 1cbvtle