易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 14|回复: 0
收起左侧

安装glance时解决nothing provides python3-pyxattr needed by python3-glance

[复制链接]
发表于 2025-2-16 22:11:54 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

x
problem: package openstack-glance-1:27.1.0-1.el9s.noarch from centos-openstack-bobcat requires python3-glance = 1:27.1.0-1.el9s, but none of the providers can be installed& _' w2 m5 r$ V$ b! N0 ]

% ]5 ^4 w0 t& i& E0 l5 Q3 Inothing provides python3-pyxattr needed by python3-glance/ y- K8 v; ^; }; p& w

# c+ g3 }1 ?6 L5 BError: 1 P5 ^( G) K$ `" d
Problem: package openstack-glance-1:27.1.0-1.el9s.noarch from centos-openstack-bobcat requires python3-glance = 1:27.1.0-1.el9s, but none of the providers can be installed. L  K( f4 W# o/ o
  - cannot install the best candidate for the job1 h: r% e9 `1 T) x  [
  - nothing provides python3-pyxattr needed by python3-glance-1:27.1.0-1.el9s.noarch from centos-openstack-bobcat
# C  S! V% K4 }+ X4 a! u(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)- T9 z# k6 k" ^9 l# ], X
4 c5 H: q8 P* q3 B
7 V" ^% x) Y1 q3 h1 L! s9 n

. x( S  g+ ^1 b- r
3 ?4 y' ?1 Q4 H4 J* Mdnf install -y  openstack-glance; C% p- i) l; ], Q; q& `
Updating Subscription Management repositories.5 t  P4 c# O6 e" ]# F
Unable to read consumer identity( v6 L- v  ]. e! N8 Z. B2 S

& x; j1 \; |; h" `2 A; G+ ?1 y' |This system is not registered with an entitlement server. You can use subscription-manager to register.
3 }& X9 l9 E  w! i$ r9 r/ `1 o' Z1 W( e# q, V
Last metadata expiration check: 1:24:54 ago on Sun 16 Feb 2025 08:44:19 PM CST.
% Q$ n; u1 j7 eError:
  t, P+ e# {" H  ]7 T% w% } Problem: package openstack-glance-1:27.1.0-1.el9s.noarch from centos-openstack-bobcat requires python3-glance = 1:27.1.0-1.el9s, but none of the providers can be installed4 ]9 T$ U3 P+ d9 k. p/ n4 d3 v) G' j
  - cannot install the best candidate for the job
) I2 @; m/ C1 f- l% k  - nothing provides python3-pyxattr needed by python3-glance-1:27.1.0-1.el9s.noarch from centos-openstack-bobcat/ d( B- [, n: Y: [; ?+ i3 A6 ^
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)/ D0 Z0 W7 ^* ]/ K; ?; V, @5 `

. [; P( i; T. H/ Z) F4 m, \  x
4 H$ N" @- }' h  Q. k- j5 k: W* a
2 n7 N6 l* K. G. S
解决办法:- n- V  a$ n9 o' U2 I
缺包,安装一个包即可:" s9 U& y* E3 L0 ~$ T/ v! O
python3-pyxattr
+ {! `2 N  ~3 \8 y& E8 d下载这个包: f$ @. N+ A4 M5 D! x7 F7 T
https://centos.pkgs.org/9-stream ... el9.x86_64.rpm.html
0 j6 @' l: d6 I% r
: k& R) o% o/ [, Q" G8 E# [& z; Z' Qwget https://mirror.stream.centos.org ... .2-4.el9.x86_64.rpm  
8 U- u  y) |6 F# R  H8 Z) V5 u. o! M
安装包:% d2 I  |7 w4 L0 y4 Y9 Z
dnf install python3-pyxattr-0.7.2-4.el9.x86_64.rpm
, `1 ]; H5 X# C& r. N9 L  \4 E. L: ~& F4 r) A& s/ U
或者直接使用:
/ N) }; d" k+ U# s! O/ I9 {dnf install -y  https://mirror.stream.centos.org ... .2-4.el9.x86_64.rpm   7 t  t4 p+ ^0 z( Y
& v6 |$ j( u: X+ l4 T9 x
再次安装9 ]1 x; S' R  g( f0 S0 S  @
dnf install -y  openstack-glance  9 c1 g3 x0 }$ l- @
即可正常安装。
. V( o2 ]9 }2 r1 D

python3-pyxattr-0.7.2-4.el9.x86_64.rpm

34.75 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 点击这里给我发消息

GMT+8, 2026-4-8 15:22 , Processed in 0.043592 second(s), 26 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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