archlinux - Cannot upgrade Arch Linux (pacman -Syu not working) - Stack Overflow

PHOTO EMBED

Fri Apr 26 2024 22:37:01 GMT+0000 (Coordinated Universal Time)

Saved by @j3d1n00b

If you still have an error. Try this:

sudo find /var/cache/pacman/pkg/ -iname "*.part" -exec rm {} \;
 Save
It removes .part files, which causes the "invalid or corrupted package" error. After you remove them, run this:

sudo pacman -Syyu
content_copyCOPY

https://stackoverflow.com/questions/35251359/cannot-upgrade-arch-linux-pacman-syu-not-working