- 积分
- 16843
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
Operation too slow ,Less than 1000 bytes
% e% ~+ i$ @/ @4 t+ h
# P0 D- S! U1 ?4 m问题
8 t9 |: W8 l5 K5 \0 Q
" j0 Y8 V9 r6 F3 }. `4 Q3 M" L$ Ayum list
, K' v8 [+ u+ }Loaded plugins: fastestmirror1 s8 Y! H: o) s; G; {2 {
Determining fastest mirrors
. h! m* M5 M& X( L; [; P3 F: s9 n1 nhttp://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'), \/ z9 \8 I3 U6 g" ~. z, l3 D
Trying other mirror. j/ U7 R: _) D0 r* 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')5 ~ v0 d+ c2 g1 O9 d' K% u0 u
Trying other mirror.* P' B& n! a* I3 t6 {+ }' j; r
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'): |; j# Y4 H: @* Q/ K1 u; V3 O+ `3 |
Trying other mirror.
2 E' ^# M" P( P+ {3 A' w! C1 z# h+ h7 P2 {
/os/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
' v7 p" l1 V# N( n8 ]1 ]# A' u
. s. @5 s) F5 Q7 Z$ x- x分析来看: r5 D! ], k. v& Z1 J
( e# S: n5 `4 [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')& Z G0 r7 Z2 C) N& R9 `+ 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'). q9 Z- X$ \, t1 Z1 M7 {# Q! p. @
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')
" V: U; l1 w4 M8 B无法识别目录。 F- o$ M- z8 J) ~
9 F; \8 C) \ t( w% L$ R, {解决办法:
: v- \ D9 A+ v8 y& b" f x检查repo文件
. c2 k V d6 ^5 w" T8 l1 j* M4 r2 {8 C$ t- @. g7 c: ?1 G, {0 W
cat /etc/yum.repos.d/base.repo
9 F! E5 W4 ?( i9 H[base]
( `% G% H( O0 _3 g7 m$ @2 Ename=CentOS-$releasever - Base9 @- i+ G4 T: |; q) q
#mirrorlist=http://mirrors.163.com/?release=$releasever&arch=$basearch&repo=os&infra=$infra
/ I7 x: C* Y6 J5 x) | r0 T6 ibaseurl=http://172.24.21.35/os/
) z7 s9 ?/ K% W8 B/ ngpgcheck=08 f! }) t& ?. Y% _7 q0 V6 f- y
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7: R4 k- f7 ]7 D$ w% u
% {4 O6 ]" W3 U$ e6 J- I4 [* {( E
#released updates
/ z3 g( {$ _9 Z- R. H) _[updates]; n% t0 i. U% ~: d
name=CentOS-$releasever - Updates! @4 T) |5 N9 n) y# H/ T# v% H) h
#mirrorlist=http://mirrors.163.com/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
' N/ J7 q. Q1 W" ?' d. {baseurl=http://172.24.21.35/updates/x86_64$ b* @- f1 b+ q4 q/ p
gpgcheck=0
/ f$ F: M S5 qgpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7; _" Y' B* g# d% F7 |( Q
. E/ g* _# i8 u! U& R/ L! O
#additional packages that may be useful# Q1 x5 i( X, N% I1 l
[extras]
% O7 j2 o! E+ u( v2 Tname=CentOS-$releasever - Extras0 r3 O- e ^, M- B6 i
#mirrorlist=http://mirrors.163.com/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
. Q: Z$ d& A' j& `. Cbaseurl=http://172.24.21.35/extras/x86_648 \; i# R7 l; b- w2 s3 h8 e
gpgcheck=0
9 i2 G! G" B( X$ l- v% u
) o9 U0 I( [2 _6 |/ b0 `% k" F, I# w* I& @5 L) L+ C8 F
+ J& Y3 O5 h6 y$ {5 J* M
发现是配置的路劲里目录写错了。
; t9 @* h: z+ S修改即可:
. [# s7 d- E) ]5 r& n9 g
( I7 B# k* p# X- o/ t
& w8 [* n' V- j[base]
! _0 O4 M+ `* J% ^" R, I6 E( gname=CentOS-$releasever - Base
! \ m/ g+ Z2 T5 Jbaseurl=http://172.24.21.35/centos/os/
$ ?7 ?' ~ o7 O2 w; Qgpgcheck=0
$ v6 ~9 R# j8 a0 e7 s) W
- {/ U, T. I! S- E7 _#released updates 3 |# `' S N( P* {1 h
[updates]% R* Z- a+ M% z7 o1 @. S
name=CentOS-$releasever - Updates& {7 {8 q o1 L' e) |: W5 @
baseurl=http://172.24.21.35/centos/updates/: `5 s. X7 A$ u+ N$ f# N
gpgcheck=0
; {, P/ }/ v5 b. y2 s V: N
A( C! T- N/ d+ T; Z/ _8 G#additional packages that may be useful, r5 T1 w1 X( g( d8 I; q
[extras]5 @" \! G" ~" }! R4 w6 O) D7 H
name=CentOS-$releasever - Extras
% m5 b3 ]8 X# k5 l9 C0 Hbaseurl=http://172.24.21.35/centos/extras/x86_64/, e; G* |& m* v& a; Z7 ~
gpgcheck=0
, x3 y' c1 a1 i7 Y2 i0 t# ~
+ }; t7 N: r/ }
$ @9 M/ P' R3 j" D
3 {3 {% y" t H6 F0 }' \4 B |
|