« Pixel4 開発用 USB Type C Type B 変換ケーブル | メイン | DELL vostro 3491 の BIOS 1.11.0 »

Git

CentOS6 での Git2.*

 2017年ごろ CentOS6.9 サーバへインストールしたGit。
$ wget http://wing-repo.net/wing/6/EL6.wing.repo
$ sudo mv EL6.wing.repo /etc/yum.repos.d/.
$ sudo yum -y --enablerepo=wing install git
$ git --version
git version 2.3.7
 その後 2018年ごろから リポジトリー wing がなくなり ius に。
$ sudo yum install https://repo.ius.io/ius-release-el6.rpm
$ sudo yum install git2u
ところが、本日現在
https://repo.ius.io/6/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
他のミラーを試します。
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.

エラー: Cannot retrieve repository metadata (repomd.xml) for repository: ius. Please verify its path and try again
 もはや yum コマンドでインストールできない?
https://repo.ius.io/6/x86_64/repodata/repomd.xml
は、存在しているのだけど・・・。
 開発環境で急いでいたため、稼働中の リポジトリー wing でインストールした
$ ll /usr/bin/git
-rwxr-xr-x 113 root root 1683312  4月 28 11:11 2015 /usr/bin/git
$ ll /usr/share/git-core
drwxr-xr-x 4 root root 4096  3月 10 09:35 2018 contrib
drwxr-xr-x 5 root root 4096  3月 10 09:35 2018 templates
をそのままコピー&実行権限をつけて回避。

トラックバック

このエントリーのトラックバックURL:
https://www.remix.asia/cgi/mt/mt-tb.cgi/7699

コメントを投稿

(いままで、ここでコメントしたことがないときは、コメントを表示する前にこのブログのオーナーの承認が必要になることがあります。承認されるまではコメントは表示されません。そのときはしばらく待ってください。)