お世話になっております。
CentOSでPostgresqlを用いようと、下記のサイトさまを参考にしました。
http://qiita.com/SOJO/items/a1d97887d24c3e44596f
打ち込んだコマンドは上記サイト様のうちの以下のとなっております。
wget yum.postgresql.org/9.5/redhat/rhel-7-x86_64/pgdg-centos95-9.5-2.noarch.rpm rpm -ivh pgdg-centos95-9.5-2.noarch.rpm yum -y install postgresql95-server postgresql95-devel postgresql95-contrib
そして、最後のコマンドでエラー発生
yum -y install postgresql95-server postgresql95-devel postgresql95-contrib Loaded plugins: fastestmirror base | 3.6 kB 00:00:00 centos-kernel | 2.9 kB 00:00:00 extras | 2.9 kB 00:00:00 https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-armhfp/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found Trying other mirror. 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 create a bug on https://bugs.centos.org/ One of the configured repositories failed (PostgreSQL 9.5 7 - armhfp), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail. There are a few ways to work "fix" this: 1. Contact the upstream for the repository and get them to fix the problem. 2. Reconfigure the baseurl/etc. for the repository, to point to a working upstream. This is most often useful if you are using a newer distribution release than is supported by the repository (and the packages for the previous distribution release still work). 3. Run the command with the repository temporarily disabled yum --disablerepo=pgdg95 ... 4. Disable the repository permanently, so yum won't use it by default. Yum will then just ignore the repository until you permanently enable it again or use --enablerepo for temporary usage: yum-config-manager --disable pgdg95 or subscription-manager repos --disable=pgdg95 5. Configure the failing repository to be skipped, if it is unavailable. Note that yum will try to contact the repo. when it runs most commands, so will have to try and fail each time (and thus. yum will be be much slower). If it is a very temporary problem though, this is often a nice compromise: yum-config-manager --save --setopt=pgdg95.skip_if_unavailable=true failure: repodata/repomd.xml from pgdg95: [Errno 256] No more mirrors to try. https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-armhfp/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
以後は他のパッケージに対してyumコマンドを打っても同じような形のエラー文が出てしまいます。
ntpのインストールを試みたところ
1yum install ntp 2Loaded plugins: fastestmirror 3base | 3.6 kB 00:00:00 4centos-kernel | 2.9 kB 00:00:00 5extras | 2.9 kB 00:00:00 6https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-armhfp/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found 7Trying other mirror. 8To address this issue please refer to the below knowledge base article 9 10https://access.redhat.com/articles/1320623 11 12If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/ 13 14 15 16 One of the configured repositories failed (PostgreSQL 9.5 7 - armhfp), 17 and yum doesn't have enough cached data to continue. At this point the only 18 safe thing yum can do is fail. There are a few ways to work "fix" this: 19 20 1. Contact the upstream for the repository and get them to fix the problem. 21 22 2. Reconfigure the baseurl/etc. for the repository, to point to a working 23 upstream. This is most often useful if you are using a newer 24 distribution release than is supported by the repository (and the 25 packages for the previous distribution release still work). 26 27 3. Run the command with the repository temporarily disabled 28 yum --disablerepo=pgdg95 ... 29 30 4. Disable the repository permanently, so yum won't use it by default. Yum 31 will then just ignore the repository until you permanently enable it 32 again or use --enablerepo for temporary usage: 33 34 yum-config-manager --disable pgdg95 35 or 36 subscription-manager repos --disable=pgdg95 37 38 5. Configure the failing repository to be skipped, if it is unavailable. 39 Note that yum will try to contact the repo. when it runs most commands, 40 so will have to try and fail each time (and thus. yum will be be much 41 slower). If it is a very temporary problem though, this is often a nice 42 compromise: 43 44 yum-config-manager --save --setopt=pgdg95.skip_if_unavailable=true 45 46failure: repodata/repomd.xml from pgdg95: [Errno 256] No more mirrors to try. 47https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-armhfp/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
英文を読んでみましたが、解決策がよくわかりません…
どうも、yumでpostgresqlを入れた際にやらかしていてyum自体が使えなくなってしまっている状態なのでしょうか…
よろしくお願いします。