I’m updating a system that wasn’t updated for many months, and with Plasma changes, many packages complain that the file already exists in the system.
Quick question. What is the command option to make an update to force overwrite existing files?
I saw that here many times but somehow cannot find it when needed and this isn’t mentioned on regular sites about pacman.
Thanks
pacman -Syu --overwrite "*"
1 Like
Wollie
11 November 2023 20:05
3
What packages? That should normally not happen. What did you do?
michaldybczak:
with Plasma changes
That’s not why. Everyone else updated just fine.
That should never need to be used.
NEVER overwrite globally.
Teo
11 November 2023 22:31
5
This is exactly the case in which the OP should post the full command output. Overwrite…what? Which error? And so on.
2 Likes
cscs
11 November 2023 22:51
6
“already exists on filesystem” is not something that will just happen because you didnt update for a while.
Its either the product of other user interaction …
OR simply missing recent update announcements, like this one:
2023-10-09
glibc-locales update requires manual intervention
If you had the old glibc-locales
package from the extra repo installed, the update to the new core package will need manual intervention:
sudo pacman -Syu glibc-locales --overwrite /usr/lib/locale/\*/\*
2 Likes
system
Closed
12 November 2023 07:52
7
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.