日本免费高清视频-国产福利视频导航-黄色在线播放国产-天天操天天操天天操天天操|www.shdianci.com

學無先后,達者為師

網站首頁 編程語言 正文

沒有匹配的倉庫可以修改:PowerTools

作者:Nana8874 更新時間: 2022-07-30 編程語言

PowerTools無法啟用

在安配置CentOS 8.5的過程中,因為安裝IDL8.4軟件,遇到lmgrd license服務器不能打開的原因,查了一圈之后,說是可能缺少lsb庫,采用yum安裝了redhat-lsb的包之后依舊無效。查到有人講在用EPEL庫安裝lsb庫時,需要啟動PowerTools,按照以下方法啟用PowerTools:

#安裝config-manager插件
[root@cz] yum install dnf-plugins-core
#使用DNF啟用PowerTools配置管理器
[root@cz] dnf config-manager --set-enabled powertools

發現顯示系統沒有powertools repo,但是在系統/etc/yum.repos.d/ 中明明有CentOS-Linux-PowerTools.repo文件存在,網上查了一圈,發現這個方法管用,用一下內容替換原CentOS-Linux-PowerTools.repo的內容

[powertools]
name=CentOS Linux $releasever - PowerTools
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=PowerTools&infra=$infra
baseurl=https://mirrors.tuna.tsinghua.edu.cn/$contentdir/$releasever/PowerTools/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

設置好之后就可以了,看來是源的問題。

Repo管理

# 列出系統中可以使用的repo庫
[root@cz] dnf repolist
# 查看PowerTools資源庫中可用的軟件包列表
[root@cz] dnf repo-pkgs powertools list

原文鏈接:https://blog.csdn.net/Nana8874/article/details/122435288

欄目分類
最近更新