linux - yum命令出现Exiting on user cancel,什么原因?
大家讲道理
大家讲道理 2017-04-17 14:35:19
0
1
1166

在ssh命令行中查看软件有什么版本,出现Exiting on user cancel,什么原因,执行中没有其他操作。
比如下面执行yum list nginx,过程和结果如下:

[root@i1234567890 ~]# yum list nginx
Loaded plugins: axelget, langpacks
(Failed to load module fastestmirror: No module named fastestmirror)
repomd.xml                                                         | 3.6 kB  00:00:00     
base/group                                                         | 729 kB  00:00:00     
base/primary                                                       | 2.5 MB  00:00:01     
base/primary_db                                                    | 5.3 MB  00:00:01     
update base metadata successfully
(Failed to load module fastestmirror: No module named fastestmirror)
repomd.xml                                                         | 2.9 kB  00:00:00     
update dockerrepo metadata successfully
(Failed to load module fastestmirror: No module named fastestmirror)
repomd.xml                                                         | 2.9 kB  00:00:00     
elrepo/primary_db                                                  | 370 kB  00:00:20     
update elrepo metadata successfully
(Failed to load module fastestmirror: No module named fastestmirror)
repomd.xml                                                         | 4.3 kB  00:00:00     
epel/group                                                         | 1.3 MB  00:00:00     
epel/updateinfo                                                    | 518 kB  00:00:00     
epel/primary                                                       | 2.6 MB  00:00:01     
epel/primary_db                                                    | 3.9 MB  00:00:01     
update epel metadata successfully
(Failed to load module fastestmirror: No module named fastestmirror)
repomd.xml                                                         | 3.4 kB  00:00:00     
update extras metadata successfully
(Failed to load module fastestmirror: No module named fastestmirror)
repomd.xml                                                         | 2.9 kB  00:00:00     
update mariadb metadata successfully
(Failed to load module fastestmirror: No module named fastestmirror)
http://nginx.org/packages/centos/7/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://nginx.org/packages/centos/7/x86_64/repodata/repomd.xml: (28, 'Resolving timed out after 3513 milliseconds')
Trying other mirror.
http://nginx.org/packages/centos/7/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://nginx.org/packages/centos/7/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 3 seconds')
Trying other mirror.
repomd.xml                                                         | 2.9 kB  00:00:01     
update nginx metadata successfully
(Failed to load module fastestmirror: No module named fastestmirror)
http://mirror5.layerjet.com/remi/enterprise/7/remi/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a01:4f8:11a:b1f::1: Cannot assign requested address"
Trying other mirror.
repomd.xml                                                         | 2.9 kB  00:00:00     
remi/primary                                                       |    0 B  00:00:30 ... 
remi/primary_db                                                    |    0 B  00:00:30 ... 
update remi metadata successfully
(Failed to load module fastestmirror: No module named fastestmirror)
repomd.xml                                                         | 2.9 kB  00:00:00     
update remi-php70 metadata successfully
(Failed to load module fastestmirror: No module named fastestmirror)
repomd.xml                                                         | 2.9 kB  00:00:00     
update remi-php70-test metadata successfully
(Failed to load module fastestmirror: No module named fastestmirror)
repomd.xml                                                         | 2.9 kB  00:00:00     
remi-safe/primary_db                                               | 361 kB  00:00:10     
update remi-safe metadata successfully
(Failed to load module fastestmirror: No module named fastestmirror)
repomd.xml                                                         | 2.9 kB  00:00:00     
update remi-test metadata successfully
(Failed to load module fastestmirror: No module named fastestmirror)
repomd.xml                                                         | 3.4 kB  00:00:00     
updates/primary                                                    | 1.6 MB  00:00:00     
updates/primary_db                                                 | 3.2 MB  00:00:01     
update updates metadata successfully
base                                                               | 3.6 kB  00:00:00     
dockerrepo                                                         | 2.9 kB  00:00:00     
elrepo                                                             | 2.9 kB  00:00:00     
epel                                                               | 4.3 kB  00:00:00     
extras                                                             | 3.4 kB  00:00:00     
mariadb                                                            | 2.9 kB  00:00:00     
nginx                                                              | 2.9 kB  00:00:00     
remi                                                               | 2.9 kB  00:00:00     
remi-php70                                                         | 2.9 kB  00:00:00     
remi-php70-test                                                    | 2.9 kB  00:00:00     
remi-safe                                                          | 2.9 kB  00:00:00     
remi-test                                                          | 2.9 kB  00:00:00     
updates                                                            | 3.4 kB  00:00:00     
(1/10): dockerrepo/primary_db                                      |  13 kB  00:00:00     
(2/10): extras/7/x86_64/primary_db                                 | 101 kB  00:00:00     
(3/10): base/7/x86_64/group_gz                                     | 155 kB  00:00:00     
(4/10): epel/x86_64/group_gz                                       | 169 kB  00:00:00     
(5/10): nginx/7/x86_64/primary_db                                  | 8.3 kB  00:00:00     
(6/10): mariadb/primary_db                                         |  18 kB  00:00:01     
(7/10): remi-php70-test/primary_db                                 |  50 kB  00:00:02     
(8/10): remi-php70/primary_db                                      | 128 kB  00:00:05     
(9/10): remi-test/primary_db                                       | 279 kB  00:00:25     
remi/primary_db                FAILED                                          :04:49 ETA 
http://fr2.rpmfind.net/linux/remi/enterprise/7/remi/x86_64/repodata/e92d93ec4085524b5c01568efb8a1826013141c4341bbd40e4ed07ecb7db3edd-primary.sqlite.bz2: [Errno 12] Timeout on http://fr2.rpmfind.net/linux/remi/enterprise/7/remi/x86_64/repodata/e92d93ec4085524b5c01568efb8a1826013141c4341bbd40e4ed07ecb7db3edd-primary.sqlite.bz2: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 3 seconds')
Trying other mirror.
(10/10): remi/primary_db       64% [============-       ]  24 kB/s | 1.4 MB  00:00:32 ETA 

Exiting on user cancel
[root@i1234567890 ~]# 

下面是我的yum源:

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

répondre à tous(1)
黄舟

你手动取消了操作(按了 Ctrl-C)。

Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal