When updating filesystem
I encountered the following error:
~ via π v3.9.9 took 4s
β― sudo pacman --overwrite '/usr/local/*' -S filesystem
warning: filesystem-2021.12.07-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) filesystem-2021.12.07-2
Total Installed Size: 0.01 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [#############################################################################] 100%
(1/1) checking package integrity [#############################################################################] 100%
(1/1) loading package files [#############################################################################] 100%
(1/1) checking for file conflicts [#############################################################################] 100%
(1/1) checking available disk space [#############################################################################] 100%
:: Processing package changes...
(1/1) reinstalling filesystem [#############################################################################] 100%
error: extract: not overwriting dir with file /usr/local/share/man
error: problem occurred while upgrading filesystem
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.
How can I fix this ?
Here is what happened before this error:
My PC froze in the middle of last system update (when updating the kernel). The system wonβt boot so I did some poking around and fixing. I might have messed up the system a little, resulting in this error.