GNU/Linux >> Tutoriels Linux >  >> Cent OS

Comment réparer Impossible de trouver une correspondance :policycoreutils-python sur RHEL/CentOS 8

Alors que j'essayais d'installer GitLab sur CentOS 8, j'ai rencontré l'erreur ci-dessous :Unable to find a match: policycoreutils-python . Vous trouverez ci-dessous l'instantané de l'erreur. Cet article vous aidera à corriger l'erreur :Impossible de trouver une correspondance :policycoreutils-python .

[root@centos8 ~]# yum install -y curl policycoreutils-python openssh-server perl
Last metadata expiration check: 1:43:22 ago on Mon 07 Mar 2022 10:19:17 AM IST.
Package curl-7.61.1-22.el8.x86_64 is already installed.
No match for argument: policycoreutils-python
Package openssh-server-8.0p1-10.el8.x86_64 is already installed.
Error: Unable to find a match: policycoreutils-python

Comment réparer Impossible de trouver une correspondance :policycoreutils-python sur CentOS 8

Le paquet policycoreutils-python est pour CentOS 7 et ne peut pas être installé sur CentOS 8. Il a été renommé policycoreutils-python-utils sur CentOS 8. Policycoreutils-python-utils contient les outils de gestion utilisés pour gérer un environnement SELinux. Vous trouverez ci-dessous la bonne commande yum pour installer policycoreutils-python-utils sur CentOS 8.

[root@centos8 ~]# yum install policycoreutils-python-utils
Last metadata expiration check: 2:01:00 ago on Mon 07 Mar 2022 10:19:17 AM IST.
Dependencies resolved.
==============================================================================================================================
Package Architecture Version Repository Size
==============================================================================================================================
Installing:
policycoreutils-python-utils noarch 2.9-16.el8 baseos 251 k

Transaction Summary
==============================================================================================================================
Install 1 Package

Total download size: 251 k
Installed size: 138 k
Is this ok [y/N]: y
Downloading Packages:
policycoreutils-python-utils-2.9-16.el8.noarch.rpm 272 kB/s | 251 kB 00:00
------------------------------------------------------------------------------------------------------------------------------
Total 139 kB/s | 251 kB 00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : policycoreutils-python-utils-2.9-16.el8.noarch 1/1
Running scriptlet: policycoreutils-python-utils-2.9-16.el8.noarch 1/1
Verifying : policycoreutils-python-utils-2.9-16.el8.noarch 1/1

Installed:
policycoreutils-python-utils-2.9-16.el8.noarch

Complete!

C'est tout !


Cent OS
  1. Comment installer Pip sur CentOS 8 / RHEL 8

  2. CentOS / RHEL :Comment trouver l'UUID d'un périphérique ou d'un système de fichiers

  3. "lsb_release :commande introuvable" – Correction dans CentOS/RHEL

  4. Comment trouver la version d'origine du système d'exploitation dans CentOS/RHEL

  5. CentOS / RHEL 6 :Comment trouver mon niveau d'exécution actuel ?

Comment installer YUM sur RHEL 8 / CentOS 8

Comment installer mongodb sur RHEL 8 / CentOS 8

Comment installer maven sur RHEL 8 / CentOS 8

Comment installer cpan sur RHEL 8 / CentOS 8

Comment installer ruby ​​sur RHEL 8 / CentOS 8

Comment installer Docker CE sur RHEL 8 / CentOS 8