找回密码
 注册
查看: 21|回复: 1

Operation too slow ,Less than 1000 bytes

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2024-9-3 17:00:02 | 显示全部楼层 |阅读模式
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

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2024-9-3 17:00:03 | 显示全部楼层
后来发现还是没有解决。郁闷了。重新crearepo 也不能正常。6 p, n( @/ Y9 f& Q# }

8 n& @8 {; C3 L' F7 G3 N$ d+ p! e检查了系统配置,是否使用了代理。重启系统之后就好了。9 M- P( {9 j! [4 z

, q9 ~$ |' H* _# I2 w接下来的问题& [" S& x/ B& ?; k- m" D$ P1 _

: `. q8 j1 E' O2 t! { yum list # o# l6 W( D, P! q8 z- p% ~- P$ Y
Loaded plugins: fastestmirror8 m% l2 S0 a/ p
Determining fastest mirrors- I' j( o. d4 f7 {
base                                                                                                                                                                                            | 2.9 kB  00:00:00     / A! k- E8 `7 H0 _( H
extras                                                                                                                                                                                          | 2.9 kB  00:00:00     
7 j* R& z( U  L, Lhttp://172.24.21.35/centos/updates/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found  |' z2 R. {6 Z+ M* w" q
Trying other mirror.
  j; U! y7 ?, O5 y* l. h! ~3 D& KTo address this issue please refer to the below wiki article
) B/ O' e/ B$ D! e, x: Q
, ?2 {3 I; U' e; C, U. L: C+ B9 Khttps://wiki.centos.org/yum-errors
2 N  S' C$ Y8 _9 }- I1 a- U6 G# B
# s6 ^0 ^/ w& L$ DIf above article doesn't help to resolve this issue please use https://bugs.centos.org/.9 E  ^' s7 x& b

9 A+ L  [* \- K& I( [0 ?2 _8 [5 ]- H) Y/ I, `: @" R' K0 ]4 x
# E  m. E' c* W
5 h: Q& u( Q% j6 y7 W3 r7 e4 h1 R- `
重新createrepo  下目录。
% ^' F5 L8 r1 d0 q
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 01:46 , Processed in 0.022670 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表