Skip to Content

Pacman upgrade - "Upgrade invalid or corrupted package"

Pacman -Suy, and his surprise…

Sometimes, when the pacman -Suy command is executed and interrupted, some packages may get corrupted.

It’s possible to find the faulty package(s) in /var/cache/pacman/pkg, they have the .part extension.

The solution is to remove the faulty packages with the following command, and to execute pacman -Suy.

find /var/cache/pacman/pkg/ -iname "*.part" -exec rm {} \;