Error while updating (/usr/bin/deepin-screenshot exists in filesystem)

When trying to update, I’m getting an error:

error: failed to commit transaction (conflicting files)
deepin-screen-recorder: /usr/bin/deepin-screenshot exists in filesystem (owned by deepin-screenshot)
Errors occurred, no packages were upgraded.
error installing repo packages

Is there work around for this?

$ sudo pacman -Syu --overwrite /usr/bin/deepin-screenshot
1 Like

Thank you all very much.
Mark this as solved.