找回密码
 注册
查看: 12|回复: 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 installed2 O  W7 F& j* R7 H1 j5 h

) o* n+ [1 H# {; X1 l) T0 w+ znothing provides python3-pyxattr needed by python3-glance
0 P- m5 H* F4 u" E1 g% P
+ \& k5 W( Q5 r: x* UError: : D* @& r) C2 ]& h$ A* V
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 installed3 x6 S/ i& D2 v( g
  - cannot install the best candidate for the job2 c4 w8 E# N' I7 @
  - nothing provides python3-pyxattr needed by python3-glance-1:27.1.0-1.el9s.noarch from centos-openstack-bobcat, i% V9 X" l- b9 ]; w$ E- T
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
$ G( Y- T* B. w9 i
2 c4 Q) X4 X3 D5 G/ s/ j
2 o$ f- S0 f6 W5 z. S; g
* ~3 ~% G* I1 x- F6 z# U9 a9 e% ?! h8 N2 N
dnf install -y  openstack-glance
( x& I2 J5 Z' \0 p+ O# l# EUpdating Subscription Management repositories.
& h  {: W/ N/ E3 O/ \- q" A0 p: C' fUnable to read consumer identity
( {$ ~! W: [  B4 _) ], k
' f0 }/ V( c" \  V' c# Y- e4 X3 SThis system is not registered with an entitlement server. You can use subscription-manager to register.; S* c4 V; A5 {( Z+ p
7 s, O1 a8 z6 E1 _1 {, f. c" d7 e
Last metadata expiration check: 1:24:54 ago on Sun 16 Feb 2025 08:44:19 PM CST.
) j( a9 J$ n* n. lError: ! X) |! A' b  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( v: S1 ^1 g, M
  - cannot install the best candidate for the job* D. ?- L2 j! c( o
  - nothing provides python3-pyxattr needed by python3-glance-1:27.1.0-1.el9s.noarch from centos-openstack-bobcat
, m! p0 W, Z) F0 Z/ Y! x(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
: V! S2 F& ]; I  W) D! v4 i' J' C0 r2 Y+ x+ b1 o- {4 l
; x; ]& m5 P1 ^4 M8 _
" F  \! a2 Q' @' J

9 I. |7 i3 r. j解决办法:6 X9 W$ f& G# b1 E4 A) E
缺包,安装一个包即可:" L2 W7 \6 u8 e! C+ d$ \0 y
python3-pyxattr9 M7 Q( m. R# {0 c" w* l3 C
下载这个包( }# Q1 e! v, m) ~& J
https://centos.pkgs.org/9-stream ... el9.x86_64.rpm.html
* m4 `" k  S; G+ G  x
* }2 Z( q1 |+ H* @wget https://mirror.stream.centos.org ... .2-4.el9.x86_64.rpm  
  P5 ^( A& K, r( C" l. x- f) f* \2 C1 L! F) y; I- S4 B2 ^4 m) x. I
安装包:& r& u+ W# l9 k4 X2 E& s
dnf install python3-pyxattr-0.7.2-4.el9.x86_64.rpm
0 A0 b9 W5 \+ z0 @9 K# O) m- T$ J: V  C9 n$ _1 W0 V2 G) x% `5 Z
或者直接使用:
0 E5 v- a1 z* j' u% h1 _dnf install -y  https://mirror.stream.centos.org ... .2-4.el9.x86_64.rpm   
& [: a( p7 T4 b  l* t9 z/ \. Z6 c4 K" i$ }6 D
再次安装7 w; j/ {2 ]& K& O% h7 r/ p8 B
dnf install -y  openstack-glance  
' L: D0 g8 u* X- O5 X, v) R即可正常安装。
1 j" V8 r5 ^: ^1 k. w
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 01:00 , Processed in 0.033048 second(s), 29 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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