欧拉系统,yum不可用;服务器检查结果:***信息***您的授权码是无效的,请获得正确的授权码来注册大云Linux操作系统。您可以使用‘bclinux-license -g‘命令获得机器码

服务器检查结果:
***信息***您的授权码是无效的,请获得正确的授权码来注册大云Linux操作系统。您可以使用'bclinux-license -g'命令获得机器码,然后与我们联系帮您产生订阅从而获得正确的授权码。
 

rpm -qa | grep license

rpm -e bclinux-license-manager-4.0-1.oe2203.bclinux.x86_64  ##卸载这个包

服务器检查结果:
***信息***您的授权码是无效的,请获得正确的授权码来注册大云Linux操作系统。您可以使用'bclinux-license -g'命令获得机器码,然后与我们联系帮您产生订阅从而获得正确的授权码。

安装 另一个yum源;

把之前/etc/yum.repos.d/目录中 .repo格式的文件,都重命名下如改为  .repo.bak

vi /etc/yum.repos.d/generic.repo

#generic-repos is licensed under the Mulan PSL v2.
#You can use this software according to the terms and conditions of the Mulan PSL v2.
#You may obtain a copy of Mulan PSL v2 at:
#    http://license.coscl.org.cn/MulanPSL2
#THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
#IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
#PURPOSE.
#See the Mulan PSL v2 for more details.
 
[OS]
name=OS
baseurl=https://archives.openeuler.openatom.cn/openEuler-21.09/OS/$basearch/
enabled=1
gpgcheck=1
gpgkey=https://archives.openeuler.openatom.cn/openEuler-21.09/OS/$basearch/RPM-GPG-KEY-openEuler
 
[everything]
name=everything
baseurl=https://archives.openeuler.openatom.cn/openEuler-21.09/everything/$basearch/
enabled=1
gpgcheck=1
gpgkey=https://archives.openeuler.openatom.cn/openEuler-21.09/everything/$basearch/RPM-GPG-KEY-openEuler
 
[EPOL]
name=EPOL
baseurl=https://archives.openeuler.openatom.cn/openEuler-21.09/EPOL/main/$basearch/
enabled=1
gpgcheck=1
gpgkey=https://archives.openeuler.openatom.cn/openEuler-21.09/OS/$basearch/RPM-GPG-KEY-openEuler
 
[debuginfo]
name=debuginfo
baseurl=https://archives.openeuler.openatom.cn/openEuler-21.09/debuginfo/$basearch/
enabled=1
gpgcheck=1
gpgkey=https://archives.openeuler.openatom.cn/openEuler-21.09/debuginfo/$basearch/RPM-GPG-KEY-openEuler
 
[source]
name=source
baseurl=https://archives.openeuler.openatom.cn/openEuler-21.09/source/
enabled=1
gpgcheck=1
gpgkey=https://archives.openeuler.openatom.cn/openEuler-21.09/source/RPM-GPG-KEY-openEuler
 
[update]
name=update
baseurl=https://archives.openeuler.openatom.cn/openEuler-21.09/update/$basearch/
enabled=1
gpgcheck=1
gpgkey=https://archives.openeuler.openatom.cn/openEuler-21.09/OS/$basearch/RPM-GPG-KEY-openEuler

yum clean all

yum makecache

yumlist

  • 3
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值