Eutopia
deepin
2025-09-30 11:31 这个错误信息表明,你的 ll-cli upgrade
命令在尝试从远程服务器获取 org.deepin.browser
的最新版本信息时失败了。具体原因可能是网络连接问题,或者远程服务器没有响应。错误提示中明确建议你:
如果网络较慢,可以通过设置
LINGLONG_CONNECT_TIMEOUT
环境变量来增加超时时间(当前默认是 5 秒)。
✅ 解决方法
你可以尝试以下步骤:
1. 增加连接超时时间
在终端中运行以下命令来设置更长的超时时间(例如 30 秒):
bash复制
export LINGLONG_CONNECT_TIMEOUT=30
ll-cli upgrade org.deepin.browser
如果仍然失败,可以尝试更长时间,比如 60 秒。
2. 检查网络连接
确保你的网络可以访问 deepin/linglong 的软件源服务器。你可以尝试:
bash复制
ping mirrors.deepin.com
或者:
bash复制
curl -I https://mirror-repo.deepin.com
如果无法连接,可能是网络被防火墙或代理阻止。
3. 检查软件源配置
你可以查看 /etc/linglong/repo.yaml
或 ~/.config/linglong/repo.yaml
中的软件源配置是否正确,是否指向了可用的镜像地址。
4. 稍后重试
有时是服务器临时不可用,可以稍后再试一次。
Reply Like 0 View the author
目前我不能登录DEEPIN ID 也不能在应用商店上安装或者升级LINYAPS APP ,怎么办?
列如:
ll-cli upgrade org.deepin.browser
Error: CODE=3001
./libs/linglong/src/linglong/cli/cli.cpp:1384 command upgrade: ./libs/linglong/src/linglong/repo/ostree_repo.cpp:3291 get latest reference
./libs/linglong/src/linglong/repo/ostree_repo.cpp:1669 get remote reference by priority
./libs/linglong/src/linglong/repo/ostree_repo.cpp:1572 clear fuzzy reference unknown:org.deepin.browser/unknown/unknown: get ref list from remote ./libs/linglong/src/linglong/repo/ostree_repo.cpp:1882 list remote references: cannot send request to remote server: 0
If the network is slow, set a longer timeout via the LINGLONG_CONNECT_TIMEOUT environment variable (current default: 5 seconds).