|
|
Operation too slow ,Less than 1000 bytes
6 u: d' v/ z$ h- l8 ^4 J7 o6 D* z4 F. x! }6 ~
问题
' i2 u) [2 M$ i% B5 p0 Z9 k0 c
% h" t& }5 h& g, V& j6 h& U! ]; myum list / y( K% ^- t* W1 M/ g3 Z
Loaded plugins: fastestmirror
3 B( D0 c" h- I) fDetermining fastest mirrors: }+ [( p' Q* k% J9 \8 p- h. O
http://172.24.21.35/os/repodata/repomd.xml: [Errno 12] Timeout on http://172.24.21.35/os/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
( c5 E6 M8 H% `6 A4 YTrying other mirror.
$ w$ V% d; V9 ~) ?1 e5 F0 r# xhttp://172.24.21.35/os/repodata/repomd.xml: [Errno 12] Timeout on http://172.24.21.35/os/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds'); n5 j! O$ d. F1 F5 K& I2 m
Trying other mirror.) a+ k* i: ?: T Y
http://172.24.21.35/os/repodata/repomd.xml: [Errno 12] Timeout on http://172.24.21.35/os/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
2 I m& r1 Y s$ Q6 j' FTrying other mirror.
* x# k7 o0 J. I9 Z$ o$ n! G2 v H5 r+ E
/os/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')6 z; q2 y, z$ K% {; ^+ v6 R7 m# m
4 G6 [! V! `' o9 c/ {' ~6 M分析来看# u, v7 n0 P( U/ V, J
$ j: s, z! Z5 |" u: ~
http://172.24.21.35/os/repodata/repomd.xml: [Errno 12] Timeout on http://172.24.21.35/os/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')' p0 V. K% S6 K p' d$ L
http://172.24.21.35/os/repodata/repomd.xml: [Errno 12] Timeout on http://172.24.21.35/os/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
" u6 P* J! x$ k# \4 P7 Fhttp://172.24.21.35/os/repodata/repomd.xml: [Errno 12] Timeout on http://172.24.21.35/os/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds') i) ? N: _/ f7 w2 N. N( X- M8 d1 D
无法识别目录。3 f6 V: n/ u/ y' k3 p3 ]
( c0 X' Z* Z# P- q解决办法:5 P1 M4 j- h* F0 n* y3 C% q
检查repo文件
0 ~5 ?1 I6 z9 @7 _1 m5 f
+ l" Z' D d- p$ S+ Vcat /etc/yum.repos.d/base.repo , U+ a' M3 c) W- I* z
[base]( f T2 ]2 Q, e) S" j+ \
name=CentOS-$releasever - Base1 i0 t, G) u! l/ t+ I2 e1 X2 `
#mirrorlist=http://mirrors.163.com/?release=$releasever&arch=$basearch&repo=os&infra=$infra" {9 \7 M% ?. W
baseurl=http://172.24.21.35/os/$ _# e, `2 s3 V1 c2 k2 i% M
gpgcheck=0/ F/ v1 x& |6 i, z3 y9 r
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7) n; o" B2 Z+ J8 D$ R3 L" m
1 N3 O$ T2 z4 q" f: u; \
#released updates
% m$ A7 t/ l- ]1 Z1 `* v( O6 Q4 m0 c: G[updates]1 m; a# g5 [) k
name=CentOS-$releasever - Updates
% l1 T8 i6 ]0 ?$ i0 ~#mirrorlist=http://mirrors.163.com/?release=$releasever&arch=$basearch&repo=updates&infra=$infra$ |; ?$ i. R% }( j: v2 p! R0 [
baseurl=http://172.24.21.35/updates/x86_64
0 w2 A5 E6 C7 B) ], qgpgcheck=0
0 ^, ]- V$ h; I, B. ^8 C+ D# Xgpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7& M9 C% W$ U3 } a8 V
5 \7 b6 k P! z5 X#additional packages that may be useful+ G5 s2 D2 ^7 m2 V# C
[extras]
- {% e- T+ W9 M1 Ename=CentOS-$releasever - Extras
7 R2 T7 J, k/ y1 H- m+ Q#mirrorlist=http://mirrors.163.com/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
0 c5 r# P. U. vbaseurl=http://172.24.21.35/extras/x86_643 \# n9 Y) d7 a9 ]+ I4 p) v: |
gpgcheck=0) X& |2 Y8 ^2 z/ g F( @
+ A& o) I8 D/ C; R5 d& S2 C0 I; p
" H/ H5 Q; ? h p
! Y% _3 q/ ^. n \" w; ~4 C
发现是配置的路劲里目录写错了。
8 j: S7 c# O' ^8 G. N3 C) e D修改即可:
/ w( N; E# k$ @4 Y6 m; I' k& G, X( Q0 t3 Y4 t3 n+ \) ^, T
: i1 c. F0 q5 U) b# G0 L. X[base]
; ~3 M: Q6 t" qname=CentOS-$releasever - Base, L p/ H! V& c6 U- Z
baseurl=http://172.24.21.35/centos/os/
% O1 e/ B: | G4 w) q. A4 i, \gpgcheck=0
: a5 M$ _ c4 Z1 w8 s
6 R4 U) {- Z' r5 Q3 W#released updates ! [ K9 a5 ^4 ~1 k2 F
[updates]
) M: X( N7 }0 s) g- Sname=CentOS-$releasever - Updates
# q4 [- P V7 M5 Y, n5 N: t Lbaseurl=http://172.24.21.35/centos/updates/' R& g3 u" G7 t; U7 ]; {! E+ z
gpgcheck=0
" n0 |( T% e9 g# ?! }* f, b- Y0 e
6 B/ G! m9 G: n* H#additional packages that may be useful
4 `3 s! {0 l: j2 e1 J) {[extras]
$ }5 \3 n8 c1 k# u4 P, W. i7 Zname=CentOS-$releasever - Extras
/ E4 g" j& o3 ^. Z% }baseurl=http://172.24.21.35/centos/extras/x86_64/) d7 f- v: l! @( d0 i5 Q
gpgcheck=0
, o: y, s) v0 a! w) R O+ a1 Y" C5 \* r; |! t x
* F9 w* F1 W5 ^* f9 R q9 Y, ^+ r/ I1 D
|
|