clear old record
This commit is contained in:
21
journals/2023_08_23.md
Normal file
21
journals/2023_08_23.md
Normal file
@@ -0,0 +1,21 @@
|
||||
- [[个人博客搭建]]
|
||||
- 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
|
||||
Reference in New Issue
Block a user