找回密码
 注册
查看: 2181|回复: 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
$ A$ ^0 ^2 H+ d9 B0 |; ILoaded plugins: fastestmirror$ k- K& _; T% K

6 B* t0 r6 W0 `6 ?$ _) c) VError getting repository data for epel, repository not found% c0 H& x' p) x/ j" i0 z' i
[root@node01 ~]#  yum --enablerepo=epel -y install scsi-target-utils libxslt% D3 k4 j; U6 J
Loaded plugins: fastestmirror
) B0 p( w( ?9 p( Q4 {
8 f. V: n1 k4 m% ^( DError getting repository data for epel, repository not found
( b. `3 d. z2 q1 i; K+ k[root@node01 ~]# yum install -y epel-release
6 V2 Z7 J( |' k% [' ]( nLoaded plugins: fastestmirror; S2 h1 N+ o% r( o8 K( \, q% {# t. V, y
Loading mirror speeds from cached hostfile; V9 t* B- Q% ]. H  W' P7 k
* base: mirrors.huaweicloud.com4 x0 J% c5 E; }
* extras: mirrors.huaweicloud.com3 n+ a0 Y2 N4 W* D
* updates: centos.uhost.hk
% `) K* K; {1 j% k8 P8 FResolving Dependencies# u! b3 I: \9 [6 h$ Y& B9 ^' |
--> Running transaction check- }( }' T) G$ @3 f" _4 Q' W- G
---> Package epel-release.noarch 0:7-11 will be installed
+ R$ [3 n$ c+ w( }* X9 K--> Finished Dependency Resolution
; X8 |3 q5 n4 ~) S! x  cDependencies Resolved
- [' ?/ g: ^' V% N! |6 q! [===================================================================================================================================================================# B- l4 B/ U' U; ?
Package                                     Arch                                  Version                             Repository                             Size
; W* k0 R' q9 o+ O===================================================================================================================================================================4 L  V7 j" `2 S
Installing:* V% C" k1 l$ k- E( @6 o9 \
epel-release                                noarch                                7-11                                extras                                 15 k
/ g2 p: w: x) l0 x  S3 k( uTransaction Summary( G& m8 n% o% I& B0 s
===================================================================================================================================================================
: v( c4 V, z, q2 P3 RInstall  1 Package
& }, K+ O; `+ }7 v5 h* B$ M0 vTotal download size: 15 k2 D  J) X5 c& }9 Q. u
Installed size: 24 k
* N; g! _0 f5 W2 @4 y& cDownloading packages:$ m) v. `0 G3 V3 ]0 G. x
epel-release-7-11.noarch.rpm                                                                                                                |  15 kB  00:00:00     # z% p. P2 H- d- C
Running transaction check. o. ^7 y9 j  i0 l! E
Running transaction test' o. C3 L* A9 [' W3 w2 k
Transaction test succeeded1 U: B9 ^- x  b0 m
Running transaction
. U; k& O! D1 \' Y  }  Installing : epel-release-7-11.noarch                                                                                                                        1/1 + A! L" x0 o- L) x2 n/ i* v
  Verifying  : epel-release-7-11.noarch                                                                                                                        1/1 2 |3 c+ V$ Z: l
Installed:
4 x! C7 g1 o" r  N2 M: q) Q) M  epel-release.noarch 0:7-11                                                                                                                                       % [9 S* ^( d; J$ h0 j7 C
Complete!& z+ ^. b* @* y: f, d
[root@node01 ~]#  yum --enablerepo=epel -y install scsi-target-utils libxslt  \" c% d$ w( V4 j3 p# X% S
Loaded plugins: fastestmirror" Q& m+ d3 |1 ~6 w4 J, S# {
Loading mirror speeds from cached hostfile6 f: B/ A- |: T, U
epel/x86_64/metalink                                                                                                                        | 9.8 kB  00:00:00     5 c0 B3 E' S0 z2 q+ Y( w
* base: mirrors.huaweicloud.com
# ?- p0 \. g) f4 x * epel: mirrors.bfsu.edu.cn
3 Z9 r6 `9 Y& i5 T( t0 N5 A * extras: mirrors.huaweicloud.com' J- g' ^1 u; z" V6 ^6 K
* updates: centos.uhost.hk
) W$ R7 M) f/ Bepel                                                                                                                                        | 4.7 kB  00:00:00     
, L0 Q( @# E, a/ p(1/3): epel/x86_64/group_gz                                                                                                                 |  96 kB  00:00:00     ( G3 ^; H) r3 q7 g3 c
(2/3): epel/x86_64/updateinfo                                                                                                               | 1.0 MB  00:00:00     9 u9 r9 S& C! B8 q, Q7 m/ f2 X
(3/3): epel/x86_64/primary_db                                                                                                               | 6.9 MB  00:00:02     0 T4 c( c* J3 a5 m
Package libxslt-1.1.28-6.el7.x86_64 already installed and latest version
# K* c7 G6 j' W5 d: W0 zResolving Dependencies
$ ?. ?8 c" Y  }" O6 G--> Running transaction check& ^7 ^! y7 y2 X" {6 w+ G) \: u
4 m. Z+ W/ v0 G. n: \+ C
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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