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

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2025-2-16 22:11:54 | 显示全部楼层 |阅读模式
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
& d4 I+ A+ g1 W, V2 d5 \- W! A6 @) T$ M# A1 b0 N
nothing provides python3-pyxattr needed by python3-glance
- s& K" B) z/ P; s# h; S
5 t: P# P) Y. ~0 n. Q- D, @Error: 2 w5 j4 H# |5 q8 {. f( _7 S$ U
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
% f; J# o2 J+ I* T  - cannot install the best candidate for the job8 D; I% d4 a! \. `9 O8 Y
  - nothing provides python3-pyxattr needed by python3-glance-1:27.1.0-1.el9s.noarch from centos-openstack-bobcat
) J8 v! E. @* U% x' Z( b; R/ e(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
( f. A# Z. w$ f; @+ X/ Q; J) S7 q9 G. i. H% \( i4 O1 @  k

, V3 U/ E# E5 ^" w! s0 ]) Q. j" x! H6 ^* o, L+ M8 }8 w

# Y  c; m. ]9 ]dnf install -y  openstack-glance
* K% j4 f  `3 K; G7 IUpdating Subscription Management repositories.! c. h1 I4 n, A* w& L6 \/ u
Unable to read consumer identity
& v" d; n( J& E. C7 O6 P, e9 t; T0 v/ E) l$ o% c1 [/ k4 M
This system is not registered with an entitlement server. You can use subscription-manager to register.
$ L* _# U) D8 \* g: z9 z  Y& K4 I, |
Last metadata expiration check: 1:24:54 ago on Sun 16 Feb 2025 08:44:19 PM CST.
  R9 e) C, v$ cError:
& P8 e2 h, R( `! H 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
" I8 j1 G6 ~' W/ L! e  - cannot install the best candidate for the job
5 i9 y/ z% i2 T* a( I  - nothing provides python3-pyxattr needed by python3-glance-1:27.1.0-1.el9s.noarch from centos-openstack-bobcat/ f5 P3 h  I4 v& g4 I2 [! x
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
, N3 g% N- V& \9 k  h! U7 H  E' m" S% B8 M+ H- N1 Q: N2 E
- P5 Y) j8 F' f4 B" ?; L) \
# r% @; g. s3 L/ H' ]5 q8 c
1 @# p/ U' P+ P+ m* a
解决办法:+ v/ N' n5 B, g: \; P( C
缺包,安装一个包即可:
3 j& Q3 ?. p3 T6 ]& N+ Zpython3-pyxattr
0 ~: T2 o" G$ Y3 |( h下载这个包
; m3 R+ w* B& Qhttps://centos.pkgs.org/9-stream ... el9.x86_64.rpm.html' d  N2 o7 @2 n+ G8 P: t
6 N1 @' X3 r3 I* ?9 Y* l8 s
wget https://mirror.stream.centos.org ... .2-4.el9.x86_64.rpm  5 a6 C& I9 G( U6 g5 a
$ w* }4 d( U, X" k7 T9 O) u
安装包:9 S9 F" H" a2 W$ v5 H& T* u
dnf install python3-pyxattr-0.7.2-4.el9.x86_64.rpm - n' E$ i' a$ v* t3 Q, m% k0 C
# @% w  u! K' m6 S' x  T6 K
或者直接使用:
8 Y- J+ F% }7 Y- {8 ?dnf install -y  https://mirror.stream.centos.org ... .2-4.el9.x86_64.rpm   
  z7 ^' X9 \' m: d  C. n! ~! x! g  I3 U7 N# q
再次安装9 h/ s4 y, ~/ m8 l
dnf install -y  openstack-glance  
' W" U' r5 s2 \0 i即可正常安装。
1 S- \/ W; @0 E. h9 W% x2 o3 B) c
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 00:03 , Processed in 0.032715 second(s), 32 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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