Manjaro WSL2 问题记录

332 阅读1分钟

问题

  1. erro key

执行:

sudo pacman -Sy

提示错误:

error: wslutilities: key "2D4C887EB08424F157151C493DD50AA7E055D853" is unknown :: Import PGP key 2D4C887EB08424F157151C493DD50AA7E055D853? [Y/n]

解决方法:

pacman-key -d A2861ABFD897DD37

#download the new key
wget https://pkg.wslutiliti.es/public.key
pacman-key --add public.key

#locally sign the new key
pacman-key --lsign-key 2D4C887EB08424F157151C493DD50AA7E055D853

参考:

Arch keyring package signing key has expired · Issue #278 · wslutilities/wslu (github.com)

fails to update. Also cannot install pamac in the readme. PGP signature is incorrect. · sileshn/ManjaroWSL2 · Discussion #10 (github.com)