9
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ArchLinuxのVagrant boxでpacman -Syuするとinvalid or corrupted packageで失敗する

Posted at

環境

エラー

# pacman -Syu
:
:: File /var/cache/pacman/pkg/bzip2-1.0.6-8-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).

…みたいなのがいっぱい出てくる。

対処

pacman-keyのArchWikiにヒントが。

# pacman-key --populate archlinux
==> Appending keys from archlinux.gpg...
==> Locally signing trusted keys in keyring...
:
# pacman -Syu

…とやったら、うまくいった。

その他の対処

9
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?