社区免费版本:uniontechos-server-20-1050a-amd64-UFU.iso
更新报错,用浏览器下载,提示 401 鉴权。
kk@localhost yum.repos.d]$ sudo dnf upgrade
[sudo] password for kk:
UniontechOS 20 AppStream 239 B/s | 172 B 00:00
Errors during downloading metadata for repository 'UniontechOS-20-AppStream':
- Status code: 401 for https://enterprise-c-packages.chinauos.com/server-enterprise-c/kongzi/1050/AppStream/x86_64/repodata/repomd.xml (IP: 223.111.183.30)
Error: Failed to download metadata for repo 'UniontechOS-20-AppStream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
UniontechOS 20 BaseOS 306 B/s | 172 B 00:00
Errors during downloading metadata for repository 'UniontechOS-20-BaseOS':
- Status code: 401 for https://enterprise-c-packages.chinauos.com/server-enterprise-c/kongzi/1050/BaseOS/x86_64/repodata/repomd.xml (IP: 223.111.183.30)
Error: Failed to download metadata for repo 'UniontechOS-20-BaseOS': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
UniontechOS 20 UFU 336 B/s | 172 B 00:00
Errors during downloading metadata for repository 'UniontechOS-20-UFU':
- Status code: 401 for https://enterprise-c-packages.chinauos.com/server-enterprise-c/kongzi/1050/UFU/x86_64/repodata/repomd.xml (IP: 223.111.183.30)
Error: Failed to download metadata for repo 'UniontechOS-20-UFU': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Ignoring repositories: UniontechOS-20-AppStream, UniontechOS-20-BaseOS, UniontechOS-20-UFU
Dependencies resolved.
Nothing to do.
Complete!
是需要用户名和密码吗?社区版不该啊
[UniontechOS-$releasever-AppStream]
name = UniontechOS $releasever AppStream
baseurl = https://enterprise-c-packages.chinauos.com/server-enterprise-c/kongzi/1050/AppStream/$basearch
enabled = 1
username=$auth_u
password=$auth_p
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-uos-release
gpgcheck = 0
skip_if_unavailable = 1
1
Fo3256Go 2023-04-06 08:41:17 +08:00
那应该是只能重装?等于 iPhone 的 DFU 模式或者高通的 9008 模式强刷 。
这种 OTA 更新没有回滚功能的话如果中途终端崩溃了,或者中途突发断电了,都会无法开机的。 最保险的方法还是重装最新版本的镜像文件。 小众的系统别用 OTA 。 |
2
qbqbqbqb 2023-04-06 20:50:28 +08:00
@Fo3256Go 答非所问,统信系统是 PC 上的 Linux 发行版(不懂的话理解成一个类似 Fedora 或者 Ubuntu 的系统就可以),哪来的“强刷”“OTA”的说法?而且 OP 的问题描述里也不涉及中途断电崩溃的问题。
|
3
qbqbqbqb 2023-04-06 20:51:55 +08:00
UOS 服务器系统的免费版不是社区版,应该也是要激活免费授权之后才能在线更新的,可以到系统设置里面看看有没有激活。
|
4
AlanTeng 2023-04-28 14:51:07 +08:00
我也遇到了类似的问题,yum 源无法使用,链接访问 401
|