パックマン:破損したパッケージ

パックマン:破損したパッケージ

Manjaro Linuxを使い始めたばかりで、パックマンがめちゃくちゃになったようです。

パッケージをインストールしようとすると、次のエラーが発生します。

warning: Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Invalid crypto engine
error: lemonbar-xft: missing required signature
:: File /var/cache/pacman/pkg/lemonbar-xft-269.00a3fe6-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).

ただし、実行すると、次のようにsudo pacman-key --init 表示されます。

gpg: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory
chmod: cannot access '/etc/pacman.d/gnupg//trustdb.gpg': No such file or directory
gpg: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory
gpg: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory
==> Updating trust database...
gpg: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory
==> ERROR: Trust database could not be updated.

ベストアンサー1

システムが部分的にアップグレードされている可能性があります。

まず、端末を閉じないでください。なぜなら、readlineがなければbashが機能しないからです。

readline-7.0*第二に、/var/cache/pacman/pkgで検索してみるか、以下から古いパッケージをダウンロードしてください。Arch Linux アーカイブ。 readlineを直接抽出し、不足している.soファイルをインストールする必要があります。

ここで同様の問題の詳細をご覧ください。readlineのアップグレード後にArch Linuxのgnupgが破損する - libreadline.so.6が見つかりません

おすすめ記事