2017年ごろ CentOS6.9 サーバへインストールしたGit。
https://repo.ius.io/6/x86_64/repodata/repomd.xml
は、存在しているのだけど・・・。
$ 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をそのままコピー&実行権限をつけて回避。