could not open file /var/lib/pacman/sync/manjaro-sway.db: Unrecognized archive format
code: sway.sh
❯ sudo pacman -Syyu
:: Synchronizing package databases...
error: could not open file /var/lib/pacman/sync/manjaro-sway.db: Unrecognized archive format
error: database 'manjaro-sway' is not valid (invalid or corrupted database (PGP signature))
:: Starting full system upgrade...
warning: kvantum-theme-matcha: local (20200810-2) is newer than extra (20190810-3)
warning: manjaro-pipewire: local (20231213-1) is newer than extra (20231009-1)
error: failed to prepare transaction (invalid or corrupted database)
# rebootしたが意味なかった
❯ file /var/lib/pacman/sync/manjaro-sway.db
/var/lib/pacman/sync/manjaro-sway.db: ASCII text
調べたらkeyring関係keyringを作り直してみたりとかやってみたけど、意味なかった。今回のケースは関係ないと思うから予想通りといえば予想通り。
コメントアウトすることで解決(というか問題を先延ばしにした)
sudo nvim /etc/pacman.d/manjaro-sway.repo.conf
code: manjaro-sway.repo.conf
# SigLevel = PackageRequired