yumのius(iuscommunity.org)でエラーが出る場合
CentOS6やCentOS7で最新のパッケージをインストールするために、ius.repoを使用することがあります。
[参考記事] iusリポジトリで公開されているパッケージの一覧
yum -y install https://centos7.iuscommunity.org/ius-release.rpm
このときリポジトリ追加をしようとすると、次のようなエラーが出ます。
Loaded plugins: auto-update-debuginfo, fastestmirror Cannot open: https://centos7.iuscommunity.org/ius-release.rpm. Skipping. Error: Nothing to do
またyumに、「 --enablerepo=ius」オプションをつけて、iusを指定した場合など、次のようなエラーが出ることがあります。
Error: Cannot find a valid baseurl for repo: ius/x86_64
これはiuscommunity.orgのURLが変更になったためです。
移行期間で旧URLから新URLへのリダイレクトがされていましたが、2020年6月1日よりリダイレクトが終了しています。
変更前
https://rhel6.iuscommunity.org/ius-release.rpm
https://centos6.iuscommunity.org/ius-release.rpm
↓
変更後
https://repo.ius.io/ius-release-el6.rpm
変更前
https://rhel7.iuscommunity.org/ius-release.rpm
https://centos7.iuscommunity.org/ius-release.rpm
↓
変更後
https://repo.ius.io/ius-release-el7.rpm
リポジトリの設定ファイル
/etc/yum.repos.d/ius.repo
変更後は下記のようになっています。
[ius] name = IUS for Enterprise Linux 7 - $basearch baseurl = https://repo.ius.io/7/$basearch/ enabled = 1 repo_gpgcheck = 0 gpgcheck = 1 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-IUS-7 [ius-debuginfo] name = IUS for Enterprise Linux 7 - $basearch - Debug baseurl = https://repo.ius.io/7/$basearch/debug/ enabled = 0 repo_gpgcheck = 0 gpgcheck = 1 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-IUS-7 [ius-source] name = IUS for Enterprise Linux 7 - Source baseurl = https://repo.ius.io/7/src/ enabled = 0 repo_gpgcheck = 0 gpgcheck = 1 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-IUS-7
URL変更のアナウンスは、公式のGitHubにて行われています。
2020/04/12
https://github.com/iusrepo/announce/issues/18
IUS has always maintained links that get users the latest release of the ius-release package. Currently those links are served by our CDN.
(IUSは、ユーザーにius-releaseパッケージの最新リリースを取得するリンクを常に維持しています。現在、これらのリンクはCDNによって提供されています。)
https://repo.ius.io/ius-release-el6.rpm
https://repo.ius.io/ius-release-el7.rpm
Before we started using the ius.io domain, we pointed users to different URLs.
(ius.ioドメインの使用を開始する前に、ユーザーに別のURLを指定しました。)
https://rhel6.iuscommunity.org/ius-release.rpm
https://rhel7.iuscommunity.org/ius-release.rpm
https://centos6.iuscommunity.org/ius-release.rpm
https://centos7.iuscommunity.org/ius-release.rpm
The server handling the *.iuscommunity.org redirects will be decommissioned on 2020-06-01. The website has pointed users to the new URLs for some time now. Please update any automation, scripts, or notes that is still reference the old URLs.
(* .iuscommunity.orgリダイレクトを処理するサーバーは、2020-06-01に廃止されます。このWebサイトでは、しばらくの間、ユーザーに新しいURLを紹介しています。古いURLを参照しているオートメーション、スクリプト、またはメモを更新してください。)
関連記事
- Gitの最新版をインストールする方法(CentOS7に2系をインストール)
- iusリポジトリで公開されているパッケージの一覧
- MySQLやMariaDBは標準ではログローテートされない
- ImageMagick更新で『PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/imagick.so'』エラーが出る場合
- kernel-develのインストール
- LinuxサーバでWindowsのファイルシステムNTFSを読み込む方法
- 拡張リポジトリEPELを使用する方法(インストール)
- PDO_MYSQLをインストールする方法
- Remi 基本リポジトリで提供されていないパッケージのyumインストール
- Repoforge(RPMForge) 基本リポジトリで提供されていないパッケージのyumインストール
- yumでupdateするときにconflictsエラーが出る場合 file xxx from install of xxx-jason conflicts with file from package xx.remi
- Gitをyumでインストールする方法
- yum コマンドでTransaction Check Error
- yumを自動で更新チェックする、自動で更新する
- Apacheをyumでインストールする
- PHPをyumでインストールする
- memcachedのインストール
- MySQLのインストール
- Another app is currently holding the yum lockとは
- yumで、より新しいパッケージをインストールする方法(CentOS)
- yum パッケージを取得してインストール/アップデートをする
- Linux [Red Hat/CentOSなど]
- PHP
- MySQL MariaDB
- Ruby
- Git
- 個体識別情報・UIDの取得方法
- Ubuntu/Debian/Raspberry PiでChia Network(XCH)をHDDマイニングする方法
- Wordpress
- PHP Strict Standards: Non-static method と出る場合の対処法
- 携帯サイトのmailtoを端末ごとに書き換える関数
- 別テーブルでSELECT JOINしながらUPDATEする方法(SELECTした結果でUPDATEする)
- ディレクトリが存在するにもかかわらず、『No such file or directory』エラーが出る
- PHPでfacebook投稿時に公開範囲を指定する方法
- str関数、preg関数、ereg関数の速度比較
スポンサーリンク