执行sudo pacman -Syu之后就出现
(817/817) 正在检查密钥环里的密钥 [######################] 100%
正在下载所需的密钥......
错误:key "F22FB1D78A77AEAB" could not be looked up remotely
错误:key "94657AB20F2A092B" could not be looked up remotely
错误:key "C06086337C50773E" could not be looked up remotely
错误:key "4A1AFC345EBE18F8" could not be looked up remotely
错误:key "F99FFE0FEAE999BD" could not be looked up remotely
错误:key "7258734B41C31549" could not be looked up remotely
错误:key "786C63F330D7CB92" could not be looked up remotely
错误:key "FC1B547C8D8172C8" could not be looked up remotely
错误:key "6D42BDD116E0068F" could not be looked up remotely
错误:key "7F2D434B9741E8AC" could not be looked up remotely
错误:key "7A4E76095D8A52E4" could not be looked up remotely
错误:key "3B94A80E50A477C7" could not be looked up remotely
错误:key "51E8B148A9999C34" could not be looked up remotely
错误:key "06096A6AD1CEDDAC" could not be looked up remotely
错误:key "771DF6627EDF681F" could not be looked up remotely
错误:key "686B063AC4BC0EC9" could not be looked up remotely
错误:key "B02854ED753E0F1F" could not be looked up remotely
错误:key "A5E9288C4FA415FA" could not be looked up remotely
错误:key "6D1655C14CE1C13E" could not be looked up remotely
错误:key "A91764759326B440" could not be looked up remotely
错误:key "AFF5D95098BC6FF5" could not be looked up remotely
错误:key "019A7474297D8577" could not be looked up remotely
错误:key "39E4B877E62EB915" could not be looked up remotely
错误:key "B61DBCE10901C163" could not be looked up remotely
错误:key "CEB167EFB5722BD6" could not be looked up remotely
错误:key "396E3E25BAB142C1" could not be looked up remotely
错误:key "F9F9FA97A403F63E" could not be looked up remotely
错误:key "9D893EC4DAAF9129" could not be looked up remotely
错误:key "45B429A8F9D9D22A" could not be looked up remotely
错误:key "24E4CDB0013C2580" could not be looked up remotely
错误:key "901C1C320EB0D45D" could not be looked up remotely
错误:key "90CB3D62C13D4796" could not be looked up remotely
错误:所需的密钥从密钥环中丢失
错误:无法提交处理 (未预期的错误)
发生错误,没有软件包被更新。
redapple@arch ~> sudo pacman -S vim
正在解决依赖关系...
正在查找软件包冲突...
软件包 (2) vim-runtime-8.2.2891-1 vim-8.2.2891-1
全部安装大小: 34.20 MiB
:: 进行安装吗? [Y/n] y
(2/2) 正在检查密钥环里的密钥 [######################] 100%
正在下载所需的密钥......
错误:key "51E8B148A9999C34" could not be looked up remotely
错误:所需的密钥从密钥环中丢失
错误:无法提交处理 (未预期的错误)
发生错误,没有软件包被更新。
已经使用过的修改方案
修改 /etc/pacman.conf
安装 archlinuxcn-keyring 也出错
84 ## 清华大学 (北京) (ipv4, ipv6, http, https)
85 [archlinuxcn]
86 Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch
87 SigLevel = Optional TrustAll
redapple@arch ~> sudo pacman -S archlinuxcn-keyring
正在解决依赖关系...
正在查找软件包冲突...
软件包 (1) archlinuxcn-keyring-20210401-1
全部安装大小: 0.39 MiB
:: 进行安装吗? [Y/n] y
(1/1) 正在检查密钥环里的密钥 [######################] 100%
正在下载所需的密钥......
错误:key "90CB3D62C13D4796" could not be looked up remotely
错误:所需的密钥从密钥环中丢失
错误:无法提交处理 (未预期的错误)
发生错误,没有软件包被更新。
wiki上另一个解决方案之后还是不行
redapple@arch ~> sudo rm -fr /etc/pacman.d/gnupg
redapple@arch ~> sudo pacman-key --init
gpg: /etc/pacman.d/gnupg/trustdb.gpg:建立了信任度数据库
gpg: 没有找到任何绝对信任的密钥
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agent
gpg: migration succeeded
gpg: Generating pacman keyring master key...
然后就一直没反应了。
离线
1、非调试目的不要用 TrustAll,archlinuxcn 的 SigLevel 应该和官方仓库一致。
2、你的问题和 archlinuxcn-keyring 也没有关系,装不上 archlinuxcn-keyring 说明你对 TU 的密钥都没有正确建立信任。
3、如果卡在 pacman-key --init,说明熵不够,可以尝试移动鼠标、随机敲键盘、进行硬盘读写之类的能增加熵的操作,wiki 上也已经讲了。
离线
1、非调试目的不要用 TrustAll,archlinuxcn 的 SigLevel 应该和官方仓库一致。
2、你的问题和 archlinuxcn-keyring 也没有关系,装不上 archlinuxcn-keyring 说明你对 TU 的密钥都没有正确建立信任。
3、如果卡在 pacman-key --init,说明熵不够,可以尝试移动鼠标、随机敲键盘、进行硬盘读写之类的能增加熵的操作,wiki 上也已经讲了。
之后又出现新的问题了,,,
redapple@arch ~> sudo pacman -S vim
正在解决依赖关系...
正在查找软件包冲突...
软件包 (2) vim-runtime-8.2.2891-1 vim-8.2.2891-1
全部安装大小: 34.20 MiB
:: 进行安装吗? [Y/n] y
(2/2) 正在检查密钥环里的密钥 [###################################] 100%
(2/2) 正在检查软件包完整性 [###################################] 100%
(2/2) 正在加载软件包文件 [###################################] 100%
错误:无法打开文件 /var/cache/pacman/pkg/vim-runtime-8.2.2891-1-x86_64.pkg.tar.zst: Unrecognized archive format
错误:无法打开文件 /var/cache/pacman/pkg/vim-8.2.2891-1-x86_64.pkg.tar.zst: Unrecognized archive format
错误:无法提交处理 (无法打开软件包文件)
发生错误,没有软件包被更新。
离线
file /var/cache/pacman/pkg/vim-runtime-8.2.2891-1-x86_64.pkg.tar.zst 看看你是不是下到 HTML 网页了?
离线
file /var/cache/pacman/pkg/vim-runtime-8.2.2891-1-x86_64.pkg.tar.zst 看看你是不是下到 HTML 网页了?
显示的是这个...
redapple@arch ~> file /var/cache/pacman/pkg/vim-8.2.2891-1-x86_64.pkg.tar.zst
/var/cache/pacman/pkg/vim-8.2.2891-1-x86_64.pkg.tar.zst: Zstandard compressed data (v0.8+), Dictionary ID: None
离线
咦,这不是 zst 吗……pacman --version 看看?
离线
咦,这不是 zst 吗……pacman --version 看看?
是这个
redapple@arch ~> pacman --version
.--. Pacman v5.0.1 - libalpm v10.0.1
/ _.-' .-. .-. .-. Copyright (C) 2006-2016 Pacman Development Team
\ '-. '-' '-' '-' Copyright (C) 2002-2006 Judd Vinet
'--'
本程序可以在GNU一般公众许可条款下
自由分发
离线
依云 说:咦,这不是 zst 吗……pacman --version 看看?
是这个
redapple@arch ~> pacman --version .--. Pacman v5.0.1 - libalpm v10.0.1 / _.-' .-. .-. .-. Copyright (C) 2006-2016 Pacman Development Team \ '-. '-' '-' '-' Copyright (C) 2002-2006 Judd Vinet '--' 本程序可以在GNU一般公众许可条款下 自由分发
好老。你先把 pacman 升级了吧——啊不对,你 pacman 升得动吗?我去给你找找新闻。
离线
不过我还是觉得你这四年没滚的系统升上来很困难。建议你把从上次滚系统以来的所有新闻都看一遍,然后用 Archive 分阶段滚上来。
好的谢谢,我试试看
离线
populate了吗?archlinux-keyring,archlinuxcn-keyring都装一下?
布丁酱是菜鸡,没毛病,他是菜鸡:)
离线
另外尝试一下手动导入密钥呢?
布丁酱是菜鸡,没毛病,他是菜鸡:)
离线
不过我还是觉得你这四年没滚的系统升上来很困难。建议你把从上次滚系统以来的所有新闻都看一遍,然后用 Archive 分阶段滚上来。
这种,用livecd chroot进去升级可行吗
离线
另外尝试一下手动导入密钥呢?
都试过了都报错。
离线