Encountered the following error on Pamac:
The Pamac log showed:
Preparing...
Synchronizing package databases...
Refreshing core.db...
Refreshing extra.db...
Refreshing multilib.db...
Refreshing core.files...
Refreshing extra.files...
Refreshing multilib.files...
Refreshing AUR...
Failed to prepare transaction:
invalid or corrupted database
Encountered the following error using CLI.
sudo pacman -Syu ✔
[sudo] password for xxx:
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
:: Starting full system upgrade...
warning: haskell-filestore: unknown key 'it' in sync database
warning: haskell-filestore: unknown key 'ghc' in sync database
warning: haskell-filestore: unknown key 'mercurial' in sync database
error: could not parse package description file 'haskell-filestore-0.6.5-62/desc' from db 'extra'
error: failed to prepare transaction (invalid or corrupted database)
Suspecting AUR issue, I disabled AUR update in Pamac, and tried again:
Preparing...
Synchronizing package databases...
Refreshing core.db...
Refreshing extra.db...
Refreshing multilib.db...
Refreshing core.files...
Refreshing extra.files...
Refreshing multilib.files...
Failed to prepare transaction:
invalid or corrupted database
And in CLI,
sudo pacman -Syu 1 ✘ 3s
[sudo] password for xxx:
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
:: Starting full system upgrade...
warning: haskell-filestore: unknown key 'it' in sync database
warning: haskell-filestore: unknown key 'ghc' in sync database
warning: haskell-filestore: unknown key 'mercurial' in sync database
error: could not parse package description file 'haskell-filestore-0.6.5-62/desc' from db 'extra'
error: failed to prepare transaction (invalid or corrupted database)
Any help is appreciated.