sudo: yum-config-manager: command not found

Linux / 1371人浏览 / 0人评论

sudo: yum-config-manager: command not found

sudo: yum-config-manager: command not found

yum -y install yum-utils
Loaded plugins: fastestmirror
Determining fastest mirrors
mirrorsCould not retrieve mirrorlist https://mirror.webtatic.com/yum/el7/x86_64/mirrorlist error was
14: curl#52 - "Empty reply from server"
 * centos-sclo-rh: mirrors.bfsu.edu.cn
 * webtatic: us-east.repo.webtatic.com
base                                                                                                                        | 3.6 kB  00:00:00     
centos-sclo-rh                                                                                                              | 3.0 kB  00:00:00     
epel                                                                                                                        | 4.7 kB  00:00:00     
extras                                                                                                                      | 2.9 kB  00:00:00     
updates                                                                                                                     | 2.9 kB  00:00:00     
webtatic                                                                                                                    | 3.6 kB  00:00:00     
centos-sclo-rh/x86_64/primary_db                                                                                            | 3.4 MB  00:00:00     
Resolving Dependencies
--> Running transaction check
---> Package yum-utils.noarch 0:1.1.31-54.el7_8 will be installed
--> Processing Dependency: python-kitchen for package: yum-utils-1.1.31-54.el7_8.noarch
--> Running transaction check
---> Package python-kitchen.noarch 0:1.1.1-5.el7 will be installed
--> Processing Dependency: python-chardet for package: python-kitchen-1.1.1-5.el7.noarch
--> Running transaction check
---> Package python-chardet.noarch 0:2.2.1-3.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================================================
 Package                                Arch                           Version                                  Repository                    Size
===================================================================================================================================================
Installing:
 yum-utils                              noarch                         1.1.31-54.el7_8                          base                         122 k
Installing for dependencies:
 python-chardet                         noarch                         2.2.1-3.el7                              base                         227 k
 python-kitchen                         noarch                         1.1.1-5.el7                              base                         267 k

Transaction Summary
===================================================================================================================================================
Install  1 Package (+2 Dependent packages)

Total download size: 616 k
Installed size: 2.8 M
Downloading packages:
(1/3): python-chardet-2.2.1-3.el7.noarch.rpm                                                                                | 227 kB  00:00:00     
(2/3): python-kitchen-1.1.1-5.el7.noarch.rpm                                                                                | 267 kB  00:00:00     
(3/3): yum-utils-1.1.31-54.el7_8.noarch.rpm                                                                                 | 122 kB  00:00:00     
---------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                              2.1 MB/s | 616 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : python-chardet-2.2.1-3.el7.noarch                                                                                               1/3 
  Installing : python-kitchen-1.1.1-5.el7.noarch                                                                                               2/3 
  Installing : yum-utils-1.1.31-54.el7_8.noarch                                                                                                3/3 
  Verifying  : python-kitchen-1.1.1-5.el7.noarch                                                                                               1/3 
  Verifying  : yum-utils-1.1.31-54.el7_8.noarch                                                                                                2/3 
  Verifying  : python-chardet-2.2.1-3.el7.noarch                                                                                               3/3 

Installed:
  yum-utils.noarch 0:1.1.31-54.el7_8                                                                                                               

Dependency Installed:
  python-chardet.noarch 0:2.2.1-3.el7                                      python-kitchen.noarch 0:1.1.1-5.el7                                     

Complete!

重新加载yum

yum clean all
yum makecache

转载注明:

扩展查找

0 条评论

还没有人发表评论

发表评论 取消回复

记住我的信息,方便下次评论
有人回复时邮件通知我