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!
以上です!