[alarm@alarm ~]$ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
alarm is up to date
aur is up to date
:: Starting full system upgrade...
:: Replace ca-certificates-cacert with core/ca-certificates? [Y/n] y
error: could not open file /var/lib/pacman/local/gc-7.6.6-1/desc: Bad message
error: could not open file /var/lib/pacman/local/linux-armv7-4.18.1-1/desc: Bad message
resolving dependencies...
looking for conflicting packages...
warning: could not fully load metadata for package gc-7.6.6-1
error: failed to prepare transaction (invalid or corrupted package)
Пытался переустановить или удалить этот пакет:
[alarm@alarm ~]$ sudo pacman -R gc
error: could not open file /var/lib/pacman/local/gc-7.6.6-1/desc: Bad message
warning: could not fully load metadata for package gc-7.6.6-1
checking dependencies...
error: could not open file /var/lib/pacman/local/linux-armv7-4.18.1-1/desc: Bad message
error: failed to prepare transaction (could not satisfy dependencies)
:: guile: removing gc breaks dependency 'gc'
Что делать дальше не знаю.