<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal">I’m currently trying to fresh install stock eprints (3.3.15) on a dev server built with RHEL 7 using the instructions here:
<a href="http://wiki.eprints.org/w/index.php?title=Installing_EPrints_3_via_Redhat_RPM">
http://wiki.eprints.org/w/index.php?title=Installing_EPrints_3_via_Redhat_RPM</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Yum works fine for everything I need right up until I add the rpm repository and then it just doesn’t.<o:p></o:p></p>
<p class="MsoNormal">I can wget e.g. <a href="http://www.bbc.co.uk">www.bbc.co.uk</a> having set http_proxy , https_proxy and ftp_proxy, but trying to ‘yum install eprints’ just times out and tries other mirrors before finally failing with
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">One of the configured repositories failed (EPrints Repository Software),<o:p></o:p></p>
<p class="MsoNormal">and yum doesn't have enough cached data to continue. At this point the only<o:p></o:p></p>
<p class="MsoNormal">safe thing yum can do is fail. There are a few ways to work "fix" this:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> 1. Contact the upstream for the repository and get them to fix the problem.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> 2. Reconfigure the baseurl/etc. for the repository, to point to a working<o:p></o:p></p>
<p class="MsoNormal"> upstream. This is most often useful if you are using a newer<o:p></o:p></p>
<p class="MsoNormal"> distribution release than is supported by the repository (and the<o:p></o:p></p>
<p class="MsoNormal"> packages for the previous distribution release still work).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> 3. Disable the repository, so yum won't use it by default. Yum will then<o:p></o:p></p>
<p class="MsoNormal"> just ignore the repository until you permanently enable it again or use<o:p></o:p></p>
<p class="MsoNormal"> --enablerepo for temporary usage:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> yum-config-manager --disable rpm-eprints-org<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> 4. Configure the failing repository to be skipped, if it is unavailable.<o:p></o:p></p>
<p class="MsoNormal"> Note that yum will try to contact the repo. when it runs most commands,<o:p></o:p></p>
<p class="MsoNormal"> so will have to try and fail each time (and thus. yum will be be much<o:p></o:p></p>
<p class="MsoNormal"> slower). If it is a very temporary problem though, this is often a nice<o:p></o:p></p>
<p class="MsoNormal"> compromise:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> yum-config-manager --save --setopt=rpm-eprints-org.skip_if_unavailable=true<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">failure: repodata/repomd.xml from rpm-eprints-org: [Errno 256] No more mirrors to try.<o:p></o:p></p>
<p class="MsoNormal">http://rpm.eprints.org/eprints/repodata/repomd.xml: [Errno 14] curl#56 - "Network error recv()"<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Disabling as per step 3 allows yum to work again for other stuff, but obviously not install eprints. Any clues?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#44546A;mso-fareast-language:EN-GB">Alan Stiles<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A;mso-fareast-language:EN-GB">Digital Repository Developer<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A;mso-fareast-language:EN-GB">Library Services, The Open University<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB"><a href="alan.stiles@open.ac.uk">alan.stiles@open.ac.uk</a></span><span style="mso-fareast-language:EN-GB">
<span style="color:#44546A">|<a href="http://oro.open.ac.uk/"> oro.open.ac.uk</a><o:p></o:p></span></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority.
</body>
</html>