之前用我的Mac给同一个局域网网的CentOS做privoxy代理(ss代理服务器在香港),结果发现总是出现问题,在sudo yum upgrade期间经常无法找到源,然后最后找不到某个包了,我以为有些包没有32位版本了,结果随后又搜了一下,才知道原来是centos会根据你IP帮你找最近的服务器去upgrade。
之后取消代理之后:
总计:202 M
总下载量:80 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for epel
No Presto metadata available for updates
(1/19): GeoIP-1.6.5-1.el6.i686.rpm | 118 kB 00:00:00
(2/19): icoutils-0.31.1-1.el6.i686.rpm | 78 kB 00:00:00
(3/19): jansson-2.9-1.el6.i686.rpm | 35 kB 00:00:00
(4/19): GeoIP-GeoLite-data-2017.01-1.el6.noarch.rpm | 468 kB 00:00:01
(5/19): geoipupdate-2.2.1-2.el6.i686.rpm | 27 kB 00:00:03
(6/19): flite-1.3-24.el6.i686.rpm | 6.1 MB 00:00:48
(7/19): GeoIP-GeoLite-data-extra-2017.01-1.el6.noarch.rpm | 23 MB 00:01:05
(8/19): kernel-tools-3.10.0-514.10.2.el7.centos.plus.i686.rpm | 4.0 MB 00:02:06
(9/19): libdwarf-20140413-1.el6.i686.rpm | 123 kB 00:00:00
(10/19): lcms2-2.8-2.el6.i686.rpm | 147 kB 00:00:00
(11/19): opus-1.1.3-2.el6.i686.rpm | 175 kB 00:00:00
(12/19): libpng12-1.2.50-10.el7.i686.rpm | 174 kB 00:00:02
(13/19): kernel-tools-libs-3.10.0-514.10.2.el7.centos.plus.i686.rpm | 3.9 MB 00:02:19
(14/19): qrencode-libs-3.4.2-1.el6.i686.rpm | 50 kB 00:00:00
(15/19): qjson-0.8.1-16.20150318.d0f62e6git.el6.i686.rpm | 75 kB 00:00:00
(16/19): soundtouch-1.5.0-1.el6.i686.rpm | 54 kB 00:00:01
(17/19): wqy-microhei-fonts-0.2.0-0.14.beta.el6.noarch.rpm | 1.8 MB 00:00:11
(18/19): python-perf-3.10.0-514.10.2.el7.centos.plus.i686.rpm | 4.0 MB 00:02:28
(19/19): kernel-3.10.0-514.10.2.el7.c 80% [======================- ] 8.9 kB/s | 64 MB 00:29:53 ETA
终于ok了。
实验室的这台机器是32位版本的,感觉好些包都没有32位版本的了。