質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
CentOS

CentOSは、主にRed Hat Enterprise Linux(RHEL)をベースにした、フリーのソフトウェアオペレーティングシステムです。

Linux

Linuxは、Unixをベースにして開発されたオペレーティングシステムです。日本では「リナックス」と呼ばれています。 主にWebサーバやDNSサーバ、イントラネットなどのサーバ用OSとして利用されています。 上位500のスーパーコンピュータの90%以上はLinuxを使用しています。 携帯端末用のプラットフォームAndroidは、Linuxカーネル上に構築されています。

Q&A

解決済

2回答

5738閲覧

centos8でepelが確認できない

mentanpinsan

総合スコア23

CentOS

CentOSは、主にRed Hat Enterprise Linux(RHEL)をベースにした、フリーのソフトウェアオペレーティングシステムです。

Linux

Linuxは、Unixをベースにして開発されたオペレーティングシステムです。日本では「リナックス」と呼ばれています。 主にWebサーバやDNSサーバ、イントラネットなどのサーバ用OSとして利用されています。 上位500のスーパーコンピュータの90%以上はLinuxを使用しています。 携帯端末用のプラットフォームAndroidは、Linuxカーネル上に構築されています。

0グッド

0クリップ

投稿2021/02/15 17:18

編集2021/02/16 18:54

前提・実現したいこと

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

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

TaichiYanagiya

2021/02/16 01:43

/etc/yum.repos.d/ 以下の epel*.repo ファイルを削除してしまったのではないでしょうか? "rpm -V epel-release" でチェックしてみてください。
mentanpinsan

2021/02/16 18:56

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 でも同じ結果になります
guest

回答2

0

ベストアンサー

subscription-manager のエラーメッセージについてはわかりませんが、/etc/yum.repos.d/ 以下の epel*.repo ファイルが削除されてしまっているようですので、epel-release を dnf reinstall epel-release で再インストールするといいと思います。

投稿2021/02/17 00:06

TaichiYanagiya

総合スコア12146

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

mentanpinsan

2021/02/22 17:47

再インストールできました ありがとうございました
guest

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

mentanpinsan

2021/02/16 18:52

subscription-manager register --auto-attach パスワード入れた後に 'NoneType' object is not subscriptable となってしまいます。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問