|
|
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 E- z3 B- x( Y0 ~+ [% I; s& [+ ?
( r( E/ c* F# j3 ?5 l) Jnothing provides python3-pyxattr needed by python3-glance1 x9 Z1 Y3 K; Y* K# h* t( O
0 x4 \, K; F5 q5 ] c/ W5 S
Error:
' r7 C( ^8 G' Q& z. t 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) q# S# x& x) X' |+ q9 t! \
- cannot install the best candidate for the job
. u: C) f' U7 b% `: t - nothing provides python3-pyxattr needed by python3-glance-1:27.1.0-1.el9s.noarch from centos-openstack-bobcat) y3 i/ J8 l3 p* n# W! x6 K B4 S
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
) W4 z7 ~6 x& ?" R6 y5 Y- ~; V# I& r% }' z7 J9 f- [3 K$ G
9 h' S. R# z7 g2 ~% M( k
6 }8 n+ ]* {) {: i& ~1 [9 T t1 ]0 [
dnf install -y openstack-glance
+ t: k: g6 k' `% m$ y1 S* M4 C9 LUpdating Subscription Management repositories./ u) \+ |2 a3 E* P" L# [+ b
Unable to read consumer identity
4 |% ~% W \# B: w5 t
. B$ j* L- U r8 R AThis system is not registered with an entitlement server. You can use subscription-manager to register.7 r" h* `0 R* \% n, d( M b: ~
' q4 u7 s( @. K( x1 f; m9 n& C
Last metadata expiration check: 1:24:54 ago on Sun 16 Feb 2025 08:44:19 PM CST.
9 M/ w. y' L; J jError: 8 O3 [3 l9 e# R5 a# l% ]' a8 l$ w# 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
3 ?4 ^) c: ~8 B+ I0 w - cannot install the best candidate for the job* C+ B8 d) K$ I9 y3 S5 h# a
- nothing provides python3-pyxattr needed by python3-glance-1:27.1.0-1.el9s.noarch from centos-openstack-bobcat
# \' Q: c( p- h: a& K2 Z4 _(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
- A- u* k/ a, Y/ t l4 I
; s2 F5 M) A/ X2 T' v
! v: [1 ^+ j1 Z7 W
' z& |; H) | |$ T7 r- D0 P2 B
8 g8 u% k. N/ p( F" o9 l- q解决办法:# h6 ]- D K" H/ |+ Y7 ]
缺包,安装一个包即可:
4 H- B- }& I$ {. K% xpython3-pyxattr( f; K$ L1 v$ }/ R
下载这个包" k. D7 ~# K: I2 I1 r# H
https://centos.pkgs.org/9-stream ... el9.x86_64.rpm.html
0 f* }7 S/ I; ?) [' a9 V- {: _) k# T" E. Q- \. l
wget https://mirror.stream.centos.org ... .2-4.el9.x86_64.rpm & z, D0 R, `! k5 V( @# h6 O: f
7 G! M; x8 N8 @, F1 x S安装包:
$ Z. Z) U1 E) g% ?) kdnf install python3-pyxattr-0.7.2-4.el9.x86_64.rpm
" N' n& Z, z1 G% a3 ?! p( v, @$ C( q5 h& ~2 R5 ^6 c* t; p, C, V
或者直接使用:
, T" K3 i+ U, D$ @. {3 Sdnf install -y https://mirror.stream.centos.org ... .2-4.el9.x86_64.rpm
3 e9 @9 I; r' p# T8 h1 U: \# j5 @* M4 T& J* ] g; v9 c5 C
再次安装
* F9 k. R& ~, S; z* Ldnf install -y openstack-glance
6 j" d6 i% z' W5 q2 E- Y* c! h6 [/ D即可正常安装。
" x" L6 {) i% H2 i1 u1 r- k$ m |
|