<div dir="ltr"><div style>problem log:</div><div style><br></div><div style><div>[root@mlab-rh6-01 yum.repos.d]# cat /etc/redhat-release</div><div>Red Hat Enterprise Linux Server release 6.4 (Santiago)</div><div>[root@mlab-rh6-01 yum.repos.d]#</div>
<div><div>[root@mlab-rh6-01 yum.repos.d]# yum search libreswan</div><div>Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager</div><div>This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.</div>
<div>This system is receiving updates from RHN Classic or RHN Satellite.</div><div><a href="http://download.libreswan.org/binaries/rhel/6Server/x86_64/repodata/repomd.xml">http://download.libreswan.org/binaries/rhel/6Server/x86_64/repodata/repomd.xml</a>: [Errno 14] PYCURL ERROR 22 - &quot;The requested URL returned error: 404 Not Found&quot;</div>
<div>Trying other mirror.</div><div style>&lt;snipped&gt;</div><div>[root@mlab-rh6-01 yum.repos.d]#</div></div><div><br></div></div><div style><br></div><div style>workaround fix</div><br clear="all"><div><div><br></div></div>
<div><div>[root@mlab-rh6-01 yum.repos.d]# diff -u rhel-libreswan.repo.orig  rhel-libreswan.repo</div><div>--- rhel-libreswan.repo.orig    2013-03-16 11:47:50.749800381 -0500</div><div>+++ rhel-libreswan.repo 2013-03-16 11:48:05.603803447 -0500</div>
<div>@@ -1,7 +1,7 @@</div><div> [libreswan]</div><div> name=Libreswan $releasever - $basearch</div><div> failovermethod=priority</div><div>-baseurl=<a href="http://download.libreswan.org/binaries/rhel/$releasever/$basearch/">http://download.libreswan.org/binaries/rhel/$releasever/$basearch/</a></div>
<div>+baseurl=<a href="http://download.libreswan.org/binaries/rhel/6/$basearch/">http://download.libreswan.org/binaries/rhel/6/$basearch/</a></div><div> enabled=1</div><div> metadata_expire=1d</div><div> skip_if_unavailable=1</div>
<div>[root@mlab-rh6-01 yum.repos.d]#</div></div><div><br></div>-- <br>T.J. Yang
</div>