34

私はsudo pacman -SyuArchlinux で実行していますが、次のようになっています。

cristian@localhost:~$ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 xenlism-arch is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: package-query: requires pacman<4.3

これを修正するための解決策は何ですか?

アップデート

@jhamが提案した両方のソリューションを試しました。yaourt と package-query を完全に削除しました。at pacman -Qi pacman'required by' 私はnone. からの multilib と xenlism-arch についてもコメントしましたpacman.conf。私がそうpacman -Syuすると、次のようになります。

:: Proceed with installation? [Y/n] 
(244/244) checking keys in keyring                              [###################################] 100%
(244/244) checking package integrity                            [###################################] 100%
error: confuse: signature from "Thorsten Töpper <atsutane@freethoughts.de>" is unknown trust
:: File /var/cache/pacman/pkg/confuse-2.8-2-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
4

7 に答える 7

59

これとまったく同じエラーが発生しました。問題は、archlinux-keyringパッケージに新しいキーがあり、新しいパッケージ ( confuse) がそれらのキーで署名されていることです。両方のパッケージが同じトランザクションで更新されるため、更新が完了するまで新しいキーを使用できませんが、パッケージがチェックされるまでトランザクションは開始されません...

archlinux-keyring解決策は、それ自体を更新することです。

pacman -S archlinux-keyring

そして、残りを行います:

pacman -Su

それが失敗した場合は、次のようにキーを手動で実行してみてください。

pacman-key --populate

通常は必要ありません。

于 2016-02-07T17:28:28.910 に答える