[ Technical exchange] Arch Linux 下如意玲珑安装应用报错 Remote "stable" not found
Tofloor
poster avatar
Vellichor
deepin
6 hours ago
Author

我在 Arch Linux 环境下尝试使用如意玲珑(Linyaps)安装应用,但遇到了阻断性问题。

【环境信息】
操作系统:Arch Linux
桌面环境:KDE (Wayland)
安装方式:通过 pacman 安装 linyaps-1.13.0 包

【问题描述】
当我尝试通过 ll-cli 安装应用时,始终无法成功。以安装 org.dde.calendar 为例,我使用了 sudo ll-cli install org.dde.calendar 命令,但安装过程直接失败。

【错误日志】
以下是通过 journalctl -f 捕获到的相关报错日志:

[sue@archlinux \~]\$ journalctl -f
7月 25 08:06:38 archlinux polkit-agent-helper-1[20283]: polkit-agent-helper-1: pam\_authenticate failed: Authentication token manipulation error
7月 25 08:06:38 archlinux systemd[1]: polkit-agent-helper@4-8193-859\_8391-1000.service: Deactivated successfully.
7月 25 08:06:38 archlinux systemd[1]: Finished Authorization Manager Agent Helper (PID 859/UID 1000).
7月 25 08:06:41 archlinux kwin\_wayland[708]: Libinput: client bug: timer button-debounce-debounce-event6: scheduled expiry is in the past (-91ms), your system is too slow
7月 25 08:06:41 archlinux kwin\_wayland[708]: Libinput: client bug: timer button-debounce-debounce-short-event6: scheduled expiry is in the past (-104ms), your system is too slow
7月 25 08:07:15 archlinux sudo[20324]: sue : TTY=pts/1 ; PWD=/home/sue ; USER=root ; COMMAND=/usr/bin/ll-cli install org.dde.calendar
7月 25 08:07:15 archlinux sudo[20324]: pam\_unix(sudo:session): session opened for user root(uid=0) by sue(uid=1000)
7月 25 08:07:15 archlinux ll-package-manager[19758]: install unknown:org.dde.calendar/unknown/unknown binary lang\_zh lang\_zh\_CN from (all)
7月 25 08:07:15 archlinux ll-package-manager[19758]: action Install unknown:org.dde.calendar/unknown/unknown failed: [code -1]:
ostree\_repo\_pull\_with\_options [code 1]:
Remote "stable" not found
7月 25 08:07:15 archlinux sudo[20324]: pam\_unix(sudo:session): session closed for user root
7月 25 08:07:38 archlinux sudo[20342]: sue : TTY=pts/1 ; PWD=/home/sue ; USER=root ; COMMAND=/usr/bin/ll-cli install org.dde.calendar
7月 25 08:07:38 archlinux sudo[20342]: pam\_unix(sudo:session): session opened for user root(uid=0) by sue(uid=1000)
7月 25 08:07:38 archlinux ll-package-manager[19758]: install unknown:org.dde.calendar/unknown/unknown binary lang\_zh lang\_zh\_CN from (all)
7月 25 08:07:38 archlinux ll-package-manager[19758]: action Install unknown:org.dde.calendar/unknown/unknown failed: [code -1]:
ostree\_repo\_pull\_with\_options [code 1]:
Remote "stable" not found
7月 25 08:07:38 archlinux sudo[20342]: pam\_unix(sudo:session): session closed for user root
^C[sue@archlinux \~]\$

从日志来看,核心报错似乎是 ostree\_repo\_pull\_with\_options [code 1]: Remote "stable" not found。同时,包信息显示为 unknown:org.dde.calendar/unknown/unknown,版本和架构均显示为 unknown。

【初步排查】
我怀疑是 ostree 仓库的 remote 配置缺失或损坏,导致 ll-cli 无法从远程仓库拉取包的元数据。我尝试查阅了官方文档,但关于 Arch Linux 下如何手动初始化或修复 stable remote 的说明较少。

Reply Favorite View the author
All Replies
avatar
罐子
Moderator
4 hours ago
#1

ll-cli repo show看看

Reply View the author
avatar
Vellichor
deepin
3 hours ago
#2
罐子

ll-cli repo show看看

[sue@archlinux \~]\$ ll-cli repo show
Default: stable
名称   地址                                     别名  优先级
stable https://mirror-repo-linglong.deepin.com stable 0
Reply View the author