Pacman overwrite files

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 :frowning: and this isn’t mentioned on regular sites about pacman.


pacman -Syu --overwrite "*"
1 Like

What packages? That should normally not happen. What did you do? :thinking:

That’s not why. Everyone else updated just fine.

That should never need to be used.

NEVER overwrite globally.

This is exactly the case in which the OP should post the full command output. Overwrite…what? Which error? And so on.


“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:


This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.