centos 更新源报错cdrom

[root@db01 ~]# cd /etc/yum.repos.d 
 

[root@db01 yum.repos.d]# ls 

bak  CentOS-Base.repo  local_cdrom.repo 

[root@db01 yum.repos.d]# mv local_cdrom.repo bak 

[root@db01 yum.repos.d]# ls 

bak  CentOS-Base.repo 

[root@db01 yum.repos.d]# yum clean all 

Loaded plugins: fastestmirror, langpacks 

Cleaning repos: base extras updates 

Cleaning up list of fastest mirrors 

Other repos take up 20 M of disk space (use --verbose for details) 

[root@db01 yum.repos.d]# yum makecache 

Loaded plugins: fastestmirror, langpacks 

Determining fastest mirrors 

base                                                                                                      | 3.6 kB  00:00:00 

extras                                                                                                    | 2.9 kB  00:00:00 

updates                                                                                                   | 2.9 kB  00:00:00 

(1/10): base/7/x86_64/group_gz                                                                            | 153 kB  00:00:00 

(2/10): base/7/x86_64/primary_db                                                                          | 6.1 MB  00:00:10 

(3/10): base/7/x86_64/filelists_db                                                                        | 7.2 MB  00:00:13 

(4/10): extras/7/x86_64/filelists_db                                                                      | 276 kB  00:00:03 

(5/10): base/7/x86_64/other_db                                                                            | 2.6 MB  00:00:04 

(6/10): extras/7/x86_64/primary_db                                                                        | 249 kB  00:00:04 

(7/10): extras/7/x86_64/other_db                                                                          | 149 kB  00:00:00 

(8/10): updates/7/x86_64/filelists_db                                                                     |  11 MB  00:00:21 

(9/10): updates/7/x86_64/other_db                                                                         | 1.3 MB  00:00:04 

(10/10): updates/7/x86_64/primary_db                            97% [====================================================- ] 1.1 MB/s |  49 MB  00:00:00 ETA 

  • 5
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值