When updating with pacman (# pacman -Syu) I am getting the following error (pamac returns an identical error)
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/local/python-pexpect-4.9.0-2/desc: Bad message
resolving dependencies...
looking for conflicting packages...
warning: could not fully load metadata for package python-pexpect-4.9.0-2
error: failed to prepare transaction (invalid or corrupted package)
The package python-pexpect has been removed from the system and file “desc” causing the error also does not exist
I have run the pacman-static bin file as suggested in pacman’s wiki page but this bin file ends up delivering the same error message.
No program in my system depends on python-pexpect. Is there a way to make pacman “forget” the need to check this python-pexpect file?
Thank you very much.