3
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

yumが使えない・・・!?

Last updated at Posted at 2015-12-25

リポジトリを追加してみる。

参考URL

epel

ansibleやdockerを入れたい場合には必須
ym localinstall http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

[root@jvx3916229 ~]#  yum localinstall http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id, refresh-packagekit, rhui-lb, security,
              : subscription-manager, tmprepo, verify, versionlock
Updating certificate-based repositories.
Loading support for Red Hat kernel ABI
Setting up Local Package Process
epel-release-6-8.noarch.rpm                                                                      |  14 kB     00:00
Examining /var/tmp/yum-root-rfByAN/epel-release-6-8.noarch.rpm: epel-release-6-8.noarch
Marking /var/tmp/yum-root-rfByAN/epel-release-6-8.noarch.rpm to be installed
Could not contact CDS load balancer rhcds1.saitama1.dc.jp.access-cloud.net, tring others.


Could not contact any CDS load balancers: rhcds1.saitama1.dc.jp.access-cloud.net, rhcds1.kinrakuji.dc.jp.access-cloud.net.

ius

Python2.7, PHP5.5、Python3.3、Git 1.8などそこそこ新しいパッケージが入れられる。
yum localinstall http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-11.ius.centos6.noarch.rpm

[root@jvx3916229 ~]# yum localinstall http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-11.ius.centos6.noarch.rpm
Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id, refresh-packagekit, rhui-lb, security,
              : subscription-manager, tmprepo, verify, versionlock
Updating certificate-based repositories.
Loading support for Red Hat kernel ABI
Setting up Local Package Process
ius-release-1.0-11.ius.centos6.noarch.rpm                                                        | 8.1 kB     00:00
Examining /var/tmp/yum-root-rfByAN/ius-release-1.0-11.ius.centos6.noarch.rpm: ius-release-1.0-14.ius.centos6.noarch
Marking /var/tmp/yum-root-rfByAN/ius-release-1.0-11.ius.centos6.noarch.rpm to be installed
Could not contact CDS load balancer rhcds1.saitama1.dc.jp.access-cloud.net, tring others.


Could not contact any CDS load balancers: rhcds1.saitama1.dc.jp.access-cloud.net, rhcds1.kinrakuji.dc.jp.access-cloud.net.

RPMforge

有用なパッケージが数多く配布されている RPMforge を追加します。
yum -y install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

しかし・・・

このエラーが出ることは変わらず。。。

Could not contact any CDS load balancers: rhcds1.saitama1.dc.jp.access-cloud.net, rhcds1.kinrakuji.dc.jp.access-cloud.net.

こんなサイト見つけた

*参考URL*

分からないのは、、、

CDSってなんだ?、rhui-load-balancersってなんだ?
Red Hat Update Infrastructure サービス に関連したものなのだろうか?

rhuiは不要だし、rhui-load-balancersも不要なので、、、と探していると、
機能をオフにする設定ファイルを見つけた。

/etc/yum/pluginconf.d/rhui-lb.conf

[main]

enabled=1
cds_list_file=/etc/yum.repos.d/rhui-load-balancers

それでも、こんなエラーが出るので、、、、

Could not retrieve mirrorlist https://rhcds1.saitama1.dc.jp.access-cloud.net/pulp/mirror//content/dist/rhel/rhui/server/6/6Server/x86_64/debug error was
14: PYCURL ERROR 22 - "The requested URL returned error: 503"
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-rhel-6-server-rhui-debug-rpms. Please verify its path and try again

/etc/yum.repos.d/rh-cloud.repo

ここに登録されている、すべてのレポジトリ設定を無効にした。
【変更前】enabled=1
【変更後】enabled=0

ようやく、yum check-updateがうまく動くようになった。
そして、epelやiusなどのリポジトリ追加は不要!!
で、ようやくGilLabのインストールができた!よかった。

3
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?