oma报错,求助

$ oma
INFO 请在弹出的密码框输入密码以授权 oma 执行系统管理操作。
INFO 如果您无法操作该输入框,请按 Ctrl + C 退出并以管理员权限运行 oma。
INFO 正在刷新本机软件包数据库 …
ERROR 无法刷新本地软件包数据库。
DUE TO packagekitd (2001) 正占用数据库锁。

这个其实是桌面上的更新检查工具正在刷新软件源数据,如果卡住非常久,可以运行如下命令后重试 oma 操作:

systemctl stop packagekit

我们尚未确定如何优化这块的体验

嗯,发现了。然后发现更新好像也出错了。dpkg was interrupted, you must manually run ‘dpkg --configure -a’ to correct the problem.

更新错误
Index of /debs/ stable InRelease is not (yet) available (Cannot initiate the connection to repo.aosc.io:443 (2406:4440::a05c:a05c:a05c:a05c). - connect (101: Network is unreachable))

可否提供下如下命令的输出?

curl https://repo.aosc.io/.returnip

但看起来可能无法提供(像是 IPv6 网络有问题)

curl https://repo.aosc.io/.returnip
ip=120.219.128.133
region=CN_CENTR
archive_dst=mirrors.cernet.edu.cn

更新错误
E: dpkg was interrupted, you must manually run ‘dpkg --configure -a’ to correct the problem.

一次不能发两个链接,最下面一个没有粘贴

运行一下:

oma upgrade --no-fix-dpkg-status