Armbian换源踩坑记录

最近购入一块Rockchip芯片的开发版,安装了Armbian 25.2.2 bookworm系统,由于自带源太慢,想着换国内源,换完执行apt update遇到如下错误

An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://mirrors.aliyun.com/armbian bookworm InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 93D6889F9F0E78D5

引起这个问题的原因是系统内没有存储对应的密钥,apt无法验证安全性。

如何解决?

很简单,首先执行gpg --keyserver keyserver.ubuntu.com --recv 648ACFD622F3D138

再执行gpg --export --armor 648ACFD622F3D138 | sudo apt-key add -

其中648ACFD622F3D138替换为apt报错的密钥(即NO_PUBKEY后面那串)

此时问题应该解决了

在执行sudo apt update 命令时,可能还会出现这个问题

W:密钥存储在过时的 trusted.gpg 密钥环中(/etc/apt/trusted.gpg),请参见 apt-key(8)DEPREC错误

这个问题也很好解决,你只需要输入

cd /etc/apt
sudo cp trusted.gpg trusted.gpg.d

就可以了👌🏻

暂无评论

发送评论 编辑评论

|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇