前提・実現したいこと
snapdをインストールしたい
発生している問題・エラーメッセージ
# dnf install snapd Updating Subscription Management repositories. Unable to read consumer identity This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Last metadata expiration check: 0:55:25 ago on Tue 16 Feb 2021 01:06:18 AM JST. No match for argument: snapd Error: Unable to find a match: snapd
試したこと
epelレポジトリからインストールするらしいので
# dnf install epel-release Updating Subscription Management repositories. Unable to read consumer identity This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Last metadata expiration check: 0:57:58 ago on Tue 16 Feb 2021 01:06:18 AM JST. Package epel-release-8-8.el8.noarch is already installed. Dependencies resolved. Nothing to do. Complete!
すでにインストールされたと思うので
# dnf repolist --all
で確認するとepelが見当たりません。
repo id repo name status appstream CentOS Stream 8 - AppStream enabled baseos CentOS Stream 8 - BaseOS enabled debuginfo CentOS Stream 8 - Debuginfo disabled extras CentOS Stream 8 - Extras enabled ha CentOS Stream 8 - HighAvailability disabled media-appstream CentOS Stream 8 - Media - AppStream disabled media-baseos CentOS Stream 8 - Media - BaseOS disabled mysql-cluster-8.0-community MySQL Cluster 8.0 Community disabled mysql-cluster-8.0-community-source MySQL Cluster 8.0 Community - Source disabled mysql-connectors-community MySQL Connectors Community enabled mysql-connectors-community-source MySQL Connectors Community - Source disabled mysql-tools-community MySQL Tools Community enabled mysql-tools-community-source MySQL Tools Community - Source disabled mysql-tools-preview MySQL Tools Preview disabled mysql-tools-preview-source MySQL Tools Preview - Source disabled mysql80-community MySQL 8.0 Community Server enabled mysql80-community-source MySQL 8.0 Community Server - Source disabled powertools CentOS Stream 8 - PowerTools enabled remi Remi's RPM repository for Enterprise Linux 8 - x86_64 disabled remi-debuginfo Remi's RPM repository for Enterprise Linux 8 - x86_64 - debuginfo disabled remi-modular Remi's Modular repository for Enterprise Linux 8 - x86_64 enabled remi-modular-test Remi's Modular testing repository for Enterprise Linux 8 - x86_64 disabled remi-safe Safe Remi's RPM repository for Enterprise Linux 8 - x86_64 enabled remi-safe-debuginfo Remi's RPM repository for Enterprise Linux 8 - x86_64 - debuginfo disabled remi-test Remi's test RPM repository for Enterprise Linux 8 - x86_64 disabled remi-test-debuginfo Remi's test RPM repository for Enterprise Linux 8 - x86_64 - debuginfo disabled rt CentOS Stream 8 - RealTime disabled
epelレポジトリはインストールされていないということでしょうか?
補足情報(FW/ツールのバージョンなど)
centos8 stream
/etc/yum.repos.d/ 以下の epel*.repo ファイルを削除してしまったのではないでしょうか?
"rpm -V epel-release" でチェックしてみてください。
missing c /etc/yum.repos.d/epel-modular.repo
missing c /etc/yum.repos.d/epel-playground.repo
missing c /etc/yum.repos.d/epel-testing-modular.repo
missing c /etc/yum.repos.d/epel-testing.repo
missing c /etc/yum.repos.d/epel.repo
もう一度
# dnf install epel-release
でも同じ結果になります
回答2件
あなたの回答
tips
プレビュー