Files
logseq-old/journals/2023_08_23.md
2024-06-17 22:24:52 +08:00

21 lines
600 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
- [[个人博客搭建]]
- pacman gpgkey erro #linux
- 问题
- pacman使用Syuu更新时需要导入GPG key
id:: 64e568b5-da68-4eba-aa40-3fd5ec5f61b5
- 解决方案
- 删除gnupg文件夹后初始化pacman key
- ```bash
# 删除gnupg
sudo rm -rf /etc/pacman.d/gnupg/
sudo rm -rf /etc/pacman.d/gnupg/
rm -rf .gnupg/
# 刷新key
sudo gpg --refresh-keys
sudo pacman-key --init
sudo pacman-key --populate
sudo pacman-key --refresh-keys
```
- #+BEGIN_CAUTION
刷新key时间可能比较久注意在这期间不要使用pacman
#+END_CAUTION