GNU/Linux >> Linux の 問題 >  >> Cent OS

修正方法一致するものが見つからない:policycoreutils-RHEL /CentOS8のPython

CentOS 8にGitLabをインストールしようとしたときに、次のエラーが発生しました:Unable to find a match: policycoreutils-python 。以下はエラーのスナップショットです。この記事は、エラーの修正に役立ちます:一致するものが見つかりません: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

修正方法一致するものが見つからない:CentOS8のpolicycoreutils-python

>

パッケージpolicycoreutils-python CentOS 7用であり、CentOS8にはインストールできません。名前がpolicycoreutils-python-utilsに変更されました。 CentOS8の場合。Policycoreutils-python-utils パッケージには、SELinux環境の管理に使用される管理ツールが含まれています。以下は、CentOS8にpolicycoreutils-python-utilsをインストールするための正しいyumコマンドです。

[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!

以上です!


Cent OS
  1. 「lsb_release:command not found」 – CentOS/RHEL で修正

  2. CentOS/RHEL で元のインストール OS バージョンを確認する方法

  3. CentOS / RHEL 6 :現在のランレベルを確認するにはどうすればよいですか?

  1. RHEL 8 /CentOS8にphpMyAdminをインストールする方法

  2. CentOS 8 /RHEL8にPipをインストールする方法

  3. CentOS / RHEL :デバイスまたはファイルシステムの UUID を見つける方法

  1. RHEL 8 /CentOS8にP7Zipをインストールする方法

  2. RHEL 8 /CentOS8にntfs-3gをインストールする方法

  3. PHP-mbstringをRHEL8/CentOS8にインストールする方法