一直在尝试安装clear os插件,但没有任何工作,因为我在.repo文件中的每个镜像上都面临此错误.
# yum install squid http://mirror2-dallas.clearsdn.com/clearos/core/6/x86_64/repodata/primary.sqlite.bz2: [Errno 12] Timeout on http://mirror2-dallas.clearsdn.com/clearos/core/6/x86_64/repodata/primary.sqlite.bz2: (28,**'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds'**) Trying other mirror. mirror2-dc.clearsdn.com/clearos/core/6/x86_64/repodata/primary.sqlite.bz2: [Errno 12] Timeout on mirror2-dc.clearsdn.com/clearos/core/6/x86_64/repodata/primary.sqlite.bz2: (28,'**Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds'**) Trying other mirror. mirror1.timburgess.net/clearos/core/6/x86_64/repodata/primary.sqlite.bz2: [Errno 12] Timeout on mirror1.timburgess.net/clearos/core/6/x86_64/repodata/primary.sqlite.bz2: (28,'**Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds**') Trying other mirror. mirror2-houston.clearsdn.com/clearos/core/6/x86_64/repodata/primary.sqlite.bz2: [Errno 12] Timeout on mirror2-houston.clearsdn.com/clearos/core/6/x86_64/repodata/primary.sqlite.bz2: (28,'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds') Trying other mirror. mirror3-toronto.clearsdn.com/clearos/core/6/x86_64/repodata/primary.sqlite.bz2: [Errno 12] Timeout on mirror3-toronto.clearsdn.com/clearos/core/6/x86_64/repodata/primary.sqlite.bz2: (28,'**Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds**') Trying other mirror. mirror2-dallas.clearsdn.com/clearos/core/6/x86_64/repodata/primary.sqlite.bz2: [Errno 12] Timeout on mirror2-dallas.clearsdn.com/clearos/core/6/x86_64/repodata/primary.sqlite.bz2: (28,'O**peration too slow. Less than 1 bytes/sec transfered the last 30 seconds'**) Trying other mirror. mirror2-dc.clearsdn.com/clearos/core/6/x86_64/repodata/primary.sqlite.bz2: [Errno 12] Timeout on mirror2-dc.clearsdn.com/clearos/core/6/x86_64/repodata/primary.sqlite.bz2: (28,'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds') Trying other mirror. mirror1.timburgess.net/clearos/core/6/x86_64/repodata/primary.sqlite.bz2: [Errno 12] Timeout on mirror1.timburgess.net/clearos/core/6/x86_64/repodata/primary.sqlite.bz2: (28,'**Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds**') Trying other mirror. mirror3-toronto.clearsdn.com/clearos/core/6/x86_64/repodata/primary.sqlite.bz2: [Errno 12] Timeout on mirror3-toronto.clearsdn.com/clearos/core/6/x86_64/repodata/primary.sqlite.bz2: (28,'**Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds**') Trying other mirror. **Error: failure: repodata/primary.sqlite.bz2 from clearos-core: [Errno 256] No more mirrors to try.**@H_403_3@我怎么能解决这个问题.我可以通过@R_502_229@repo,而且repo似乎没什么问题.可能是问题所在.
尝试了yum清洁所有,但它也没有帮助.
有没有办法解决它,因为我无法在其中安装任何包.
解决方法
如何联网工作呢?你能手动去那些镜子吗?你是从其他地方尝试过的(看看问题可能不在你的最后)?
*更新*
所以在这里,我拿了一个URL并将其下载到我的盒子上:
$time wget http://mirror3-toronto.clearsdn.com/clearos/core/6/x86_64/repodata/primary.sqlite.bz2 --2012-10-16 13:06:52-- http://mirror3-toronto.clearsdn.com/clearos/core/6/x86_64/repodata/primary.sqlite.bz2 Resolving mirror3-toronto.clearsdn.com... 69.90.141.74 Connecting to mirror3-toronto.clearsdn.com|69.90.141.74|:80... connected. HTTP request sent,awaiting response... 200 OK Length: 6952331 (6.6M) [application/x-bzip2] Saving to: “primary.sqlite.bz2” 100%[==================================================================================================================================================================================================>] 6,952,331 742K/s in 6.6s 2012-10-16 13:06:59 (1.00 MB/s) - “primary.sqlite.bz2” saved [6952331/6952331] real 0m6.925s user 0m0.011s sys 0m0.110s $@H_403_3@看起来像镜子的速度很好,所以它必须是你在印度的盒子是错误的,它可能是多少东西:你的网络(接口上的错误),你的ISP的路线等.试着寻找镜子离你的位置更近,而不是千里之外的地方,如果您的网络过载/慢速,我认为没有太多可以做的.
*更新2 *
尝试在你当地的盒子上做
$ifconfig | grep errors RX packets:31133806 errors:0 dropped:0 overruns:0 frame:0 TX packets:22168636 errors:0 dropped:0 overruns:0 carrier:0 RX packets:3329073 errors:0 dropped:0 overruns:0 frame:0 TX packets:3329073 errors:0 dropped:0 overruns:0 carrier:0 $@H_403_3@如果您没有看到任何错误,请找出您的网络速度(Internet)