问题描述:BCLinux 8.6配置Yum源时报错"Your license is invalid"。
操作系统:BigCloud Enterprise Linux release 8.6 (Core)
1、异常重现
[root@leo-bclinux86 yum.repos.d]# yum clean all
server check results:
*** INFO ***Your license is invalid. Please register to BigCloud Enterprise Linux(BC-Linux) to get the right license. You can use the command 'bclinux-license -g' to get the system UUID, then send to us to complete the registration.
2、相关信息
-- Yum源配置如下.
[root@leo-bclinux86 yum.repos.d]# cat BClinuxOS.repo
[AppStream]
name=BCLinux-AppStream
baseurl=file:///mnt/AppStream
enabled=1
gpgcheck=0
[BaseOS]
name=BCLinux-BaseOS
baseurl=file:///mnt/BaseOS
enabled=1
gpgcheck=0
3、解决方案
[root@leo-bclinux86 yum.repos.d]# rpm -qa | grep license
hyperv-daemons-license-0-0.32.20180415git.an8.noarch
bclinux-license-manager-4.0-1.el8.bclinux.x86_64
bind-license-9.11.36-3.an8.noarch
tigervnc-license-1.12.0-4.an8.noarch
[root@leo-bclinux86 yum.repos.d]# rpm -e --nodeps bclinux-license-manager-4.0-1.el8.bclinux.x86_64 --noscripts
4、结果验证
[root@leo-bclinux86 yum.repos.d]# yum clean all
0 files removed
[root@leo-bclinux86 yum.repos.d]# yum makecache
BCLinux-AppStream 128 MB/s | 4.7 MB 00:00
BCLinux-BaseOS 137 MB/s | 4.1 MB 00:00
Metadata cache created.
说明:如上所示,卸载bclinux-license-manager后成功更新Yum缓存.
参考网址:https://blog.csdn.net/a1010256340/article/details/123508541
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




