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

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

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

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

Red Hat Enterprise

Red Hat Enterpriseは、レッドハット社により開発・サポートが行われている業務向けLinuxディストリビューションです。オープンソースで無償で利用することができ、バイナリ版の入手・サポートは有償です。商用ディストリビューションとして人気が高く、代表的なLinuxの選択肢の一つです。

Q&A

0回答

1253閲覧

RHELにてEPELリポジトリーとRemiリポジトリー追加ができない

ta-ki

総合スコア1

Linux

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

Red Hat Enterprise

Red Hat Enterpriseは、レッドハット社により開発・サポートが行われている業務向けLinuxディストリビューションです。オープンソースで無償で利用することができ、バイナリ版の入手・サポートは有償です。商用ディストリビューションとして人気が高く、代表的なLinuxの選択肢の一つです。

0グッド

0クリップ

投稿2023/01/10 02:32

Red Hat Enterprise Linux 7に以下のリポジトリを追加したいです。
・oniguruma
・libzip5
ただ、以下4つのコマンドを実行したところエラーとなりました。

■1.yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
『yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

epel-release-latest-7.noarch.rpm | 15 kB 00:00:00
Examining /var/tmp/yum-root-51xX8r/epel-release-latest-7.noarch.rpm: epel-release-7-14.noarch
/var/tmp/yum-root-51xX8r/epel-release-latest-7.noarch.rpm: does not update installed package.
Error: Nothing to do』

■2.yum install oniguruma
『Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

No package oniguruma available.
Error: Nothing to do』

■3.yum install https://rpms.remirepo.net/enterprise/remi-release-7.rpm
『Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

remi-release-7.rpm | 27 kB 00:00:00
Examining /var/tmp/yum-root-51xX8r/remi-release-7.rpm: remi-release-7.9-5.el7.remi.noarch
/var/tmp/yum-root-51xX8r/remi-release-7.rpm: does not update installed package.
Error: Nothing to do』

■4.yum --enablerepo=remi install libzip5
『Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

remi | 3.0 kB 00:00:00
remi/primary_db | 3.4 MB 00:00:15
Resolving Dependencies
--> Running transaction check
---> Package libzip5.x86_64 0:1.9.2-3.el7.remi will be installed
--> Processing Dependency: libzstd(x86-64) >= 1.3.6 for package: libzip5-1.9.2-3.el7.remi.x86_64
--> Processing Dependency: libzstd.so.1()(64bit) for package: libzip5-1.9.2-3.el7.remi.x86_64
--> Finished Dependency Resolution
Error: Package: libzip5-1.9.2-3.el7.remi.x86_64 (remi)
Requires: libzstd(x86-64) >= 1.3.6
Error: Package: libzip5-1.9.2-3.el7.remi.x86_64 (remi)
Requires: libzstd.so.1()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest』

マウントはできている状態です。なのでyum使用できる認識です。
エラーなく対処できる方法があれば教えていただけますでしょうか。
参考資料は以下です。
https://jp.cybozu.help/ja/settings/garoon4/linux_library_gr5.html

よろしくお願いします。

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

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

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

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

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

novelistory

2023/01/10 02:39

>マウントはできている状態です。 とのことですが、オフライン環境でyumを実行しているということでしょうか? > yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm こちらはオンライン環境でのepelリポジトリインストールコマンドかと思います。 オンライン環境で実施の場合、以下の通りRHELサブスクリプションの登録が無い旨のエラーが表示されておりますので、RHELサブスクリプション登録を行ってから実行してみてはいかがでしょうか? > This system is not registered with an entitlement server. You can use subscription-manager to register.
ta-ki

2023/01/10 02:43

オンライン環境でyumを実行しております。 RHELサブスクリプション登録ですね。 試してみます。ご丁寧にありがとうございます。
novelistory

2023/01/10 09:44

すみません、きちんとエラー文を読めていなかったため、補足です。 >1.yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm >3.yum install https://rpms.remirepo.net/enterprise/remi-release-7.rpm ⇒「does not update installed package.」と出力されているので既にリポジトリがインストールされているのではないでしょうか? > 2.yum install oniguruma ⇒パッケージ名が違うのではないでしょうか? もしくはリポジトリが無効になっていないでしょうか?  パッケージ名をお確かめの上、リポジトリを明示的に有効に指定してコマンドを実行してみてはいかがでしょうか? >4.yum --enablerepo=remi install libzip5 ⇒libzip5の依存関係のエラーとなっています。  libzip5をインストールするのに必要なパッケージが見つからないようです。  依存関係を解消してください。  BaseOS/AppStreamリポジトリのパッケージかつオンラインで取りに行くにはサブスクリプション設定が必要かと思います。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

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

ただいまの回答率
85.48%

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

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

質問する

関連した質問