오라클 클라우드에 CentOS 8 stream 버전을 설치하고 yum 명령어를 사용하니 아래와 같은 에러 메시지가 표시되네요~
패키지 설치해주는 yum 명령어가 8버전 부터는 dnf 로 바뀌었나봅니다.
좀더 확실하게 관리를 해준다고 하네요.
[root@ivps ~]# dnf clean all
Failed loading plugin “osmsplugin”: No module named ‘librepo’
58 files removed
[root@ivps ~]# dnf install python3-librepo -y
Failed loading plugin “osmsplugin”: No module named ‘librepo’
CentOS Stream 8 – AppStream 16 MB/s | 27 MB 00:01
CentOS Stream 8 – BaseOS 15 MB/s | 26 MB 00:01
CentOS Stream 8 – Extras 290 B/s | 18 kB 01:02
CentOS Stream 8 – Extras common packages 80 B/s | 5.2 kB 01:05
Extra Packages for Enterprise Linux 8 – x86_64 572 kB/s | 13 MB 00:23
Extra Packages for Enterprise Linux 8 – Next – 160 kB/s | 179 kB 00:01
Dependencies resolved.
================================================================================
Package Architecture Version Repository Size
================================================================================
Installing:
python3-librepo x86_64 1.14.2-4.el8 baseos 54 k
Upgrading:
librepo x86_64 1.14.2-4.el8 baseos 93 k
Transaction Summary
================================================================================
Install 1 Package
Upgrade 1 Package
Total download size: 147 k
Downloading Packages:
(1/2): python3-librepo-1.14.2-4.el8.x86_64.rpm 2.2 MB/s | 54 kB 00:00
(2/2): librepo-1.14.2-4.el8.x86_64.rpm 3.5 MB/s | 93 kB 00:00
——————————————————————————–
Total 399 kB/s | 147 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Upgrading : librepo-1.14.2-4.el8.x86_64 1/3
Installing : python3-librepo-1.14.2-4.el8.x86_64 2/3
Cleanup : librepo-1.14.2-3.el8.x86_64 3/3
Running scriptlet: librepo-1.14.2-3.el8.x86_64 3/3
Verifying : python3-librepo-1.14.2-4.el8.x86_64 1/3
Verifying : librepo-1.14.2-4.el8.x86_64 2/3
Verifying : librepo-1.14.2-3.el8.x86_64 3/3
Upgraded:
librepo-1.14.2-4.el8.x86_64
Installed:
python3-librepo-1.14.2-4.el8.x86_64
Complete!
[root@ivps ~]# dnf clean all
49 files removed
버전이 바뀔때 마다 적응을 해야하는군요~
이 글은 ivps.tistory.com 에서 RSS로 가져온 글입니다. 원본보기