找回密码
 注册
查看: 2182|回复: 0

Error getting repository data for epel, repository not found yum

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2021-7-16 10:00:01 | 显示全部楼层 |阅读模式
[root@node01 ~]#  yum --enablerepo=epel -y install scsi-target-utils libxslt
, w; R2 a5 Z* cLoaded plugins: fastestmirror
) r9 o% W* G: v  l3 _
) C) e: A* j9 N# }9 Q  nError getting repository data for epel, repository not found: _8 ]% c( c( n' h$ o
[root@node01 ~]#  yum --enablerepo=epel -y install scsi-target-utils libxslt6 X# t' W$ x# i) I
Loaded plugins: fastestmirror
  \% Q% p( J' B1 S. q# L
6 z7 l1 H4 _# n/ MError getting repository data for epel, repository not found2 I& x' e* m: h* S" X) r* i8 f7 Y+ |
[root@node01 ~]# yum install -y epel-release4 ^3 n8 W  U. R
Loaded plugins: fastestmirror9 r$ Y( C( l, {3 w
Loading mirror speeds from cached hostfile
1 ~9 E6 x- B! A * base: mirrors.huaweicloud.com- u" }1 w, ^7 f; l7 ~
* extras: mirrors.huaweicloud.com& p  k1 h8 |* [  x' |9 V! {. B' r
* updates: centos.uhost.hk. K0 J5 r. b4 k) @9 @+ a2 x7 P
Resolving Dependencies
9 a" P( J1 ]  u9 k3 r--> Running transaction check7 E# U. O1 u; H% u/ C) R
---> Package epel-release.noarch 0:7-11 will be installed
# ~# Y4 J+ K: W% G, y--> Finished Dependency Resolution# z1 d7 c& d, m/ k7 s3 `+ t
Dependencies Resolved
6 t4 a& l5 m: y6 Z6 ?5 ^- I7 |5 z% X===================================================================================================================================================================8 v. X6 R) z" ?9 q' O
Package                                     Arch                                  Version                             Repository                             Size7 M( D7 H* S0 x, P" Q/ Z5 c- _
===================================================================================================================================================================
$ Q7 p! t7 y* w8 x; @9 HInstalling:
1 u( `; f  \9 G9 v- Y) A) b# d- _ epel-release                                noarch                                7-11                                extras                                 15 k2 o) t) t: I6 P) i# r' Z0 o5 g
Transaction Summary
; d+ o, ]6 [. U+ |# f, o===================================================================================================================================================================
( ~. j( N: }) Q! SInstall  1 Package6 F- {: T( p6 p1 Q
Total download size: 15 k1 Z  }; W+ z# f3 `" U
Installed size: 24 k
4 I. y) {* W4 ^7 ~$ oDownloading packages:- f5 p. p1 j5 f% ]
epel-release-7-11.noarch.rpm                                                                                                                |  15 kB  00:00:00     0 W, [# {- u+ J. c
Running transaction check
) C1 _+ `( T, _$ C6 p& ERunning transaction test
* ?# P9 b" f" H+ O8 g. tTransaction test succeeded5 X3 @# s. ?7 P: v
Running transaction- y% G5 Y( B# k* F! P7 D" i
  Installing : epel-release-7-11.noarch                                                                                                                        1/1 9 H0 G6 J1 R9 ~& U  y
  Verifying  : epel-release-7-11.noarch                                                                                                                        1/1
, `6 I  {" G6 f! m( N7 jInstalled:3 H- L1 q) @. L8 u1 C& B% c
  epel-release.noarch 0:7-11                                                                                                                                       5 z* Y% h2 I( ]8 z9 `) v- d
Complete!7 Y0 b/ F5 X; Q3 O2 q
[root@node01 ~]#  yum --enablerepo=epel -y install scsi-target-utils libxslt0 z6 Y  W! b  {+ j- _. C, n
Loaded plugins: fastestmirror
; U/ F* y, Y4 P' T! ]. k) xLoading mirror speeds from cached hostfile1 ^# b6 R1 f/ h. Y! A, {. `% `5 t
epel/x86_64/metalink                                                                                                                        | 9.8 kB  00:00:00     2 c2 v$ z5 V( U
* base: mirrors.huaweicloud.com7 X% Q- V+ R. t) J' g, `
* epel: mirrors.bfsu.edu.cn9 ~6 m6 \. X  ]) v' B
* extras: mirrors.huaweicloud.com
$ |- S/ i% T9 Y4 O4 k( z( L2 d * updates: centos.uhost.hk, Q5 w% F' d# \+ B$ q# d
epel                                                                                                                                        | 4.7 kB  00:00:00     
8 E% H! C% R2 a5 r" H- a(1/3): epel/x86_64/group_gz                                                                                                                 |  96 kB  00:00:00     
( ^9 @+ S# s1 E" R; m5 `(2/3): epel/x86_64/updateinfo                                                                                                               | 1.0 MB  00:00:00     9 `% T; c6 e$ V- P1 K
(3/3): epel/x86_64/primary_db                                                                                                               | 6.9 MB  00:00:02     
( M$ ]! S# b0 G$ X3 wPackage libxslt-1.1.28-6.el7.x86_64 already installed and latest version
5 {0 b& d/ T' y6 W, G6 T; yResolving Dependencies
# G2 |* @7 [( z--> Running transaction check
6 Z4 C: w# P! m3 ~
3 e' j8 h) Z' b3 `& p5 o4 e
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 04:23 , Processed in 0.014225 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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