<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 29 June 2015 at 13:57, Patrick O&#39;Callaghan <span dir="ltr">&lt;<a href="mailto:pocallaghan@gmail.com" target="_blank">pocallaghan@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">On Mon, <a href="tel:2015-06-29" value="+4520150629">2015-06-29</a> at 13:12 +0200, Martin Møller Skarbiniks Pedersen<br>
wrote:<br>
<span class="">&gt;   I am having big problems install new software and upgrading my<br>
&gt; current<br>
&gt; F22 using DNF.<br>
&gt;   Maybe I am wrong but I think that if I could force dnf to use<br>
&gt; http(s)<br>
&gt; instead of ftp, then my<br>
&gt; problems would be solved.<br>
<br>
</span>AFAIK there is no guarantee that repos will even support HTTP(S).<br></blockquote><div><br></div><div>Hmm. Has that always been the case. I think our firewall only supports passive ftp.  </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Check your version of librepo. If it&#39;s less than 1.17.6 then update it<br>
before trying anything else. I also had frequent timeout problems with<br>
dnf before this was fixed.<br>
<span class=""><font color="#888888"><br></font></span></blockquote><div><br></div><div>Thanks for that advise. However it looks like </div><div>I already have version 1.17.6 of librepo<br></div><div><div>$ rpm -qi librepo | grep Version</div><div>Version     : 1.7.16</div></div><div><br></div><div>Is something changed from F21 (yum) to F22 (dnf) ? </div><div>Everything was working great in F21 and now dnf is very slow.</div><div><br></div><div>dnf install tmux took more than 5 minutes and a simple dnf update takes up to one hour!</div><div><br></div><div><div># dnf -v -y install tmux</div><div>cachedir: /var/cache/dnf/x86_64/22</div><div>Loaded plugins: protected_packages, download, needs-restarting, copr, playground, builddep, langpacks, kickstart, debuginfo-install, migrate, config-manager, reposync, generate_completion_cache, noroot, Query</div><div>initialized Langpacks plugin</div><div>DNF version: 1.0.1</div><div>repo: using cache for: fedora</div><div>not found deltainfo for: Fedora 22 - x86_64</div><div>not found updateinfo for: Fedora 22 - x86_64</div><div>repo: using cache for: rpmfusion-free-updates</div><div>not found deltainfo for: RPM Fusion for Fedora 22 - Free - Updates</div><div>not found updateinfo for: RPM Fusion for Fedora 22 - Free - Updates</div><div>repo: using cache for: adobe-linux-x86_64</div><div>not found deltainfo for: Adobe Systems Incorporated</div><div>not found updateinfo for: Adobe Systems Incorporated</div><div>repo: using cache for: rpmfusion-nonfree-updates</div><div>not found deltainfo for: RPM Fusion for Fedora 22 - Nonfree - Updates</div><div>not found updateinfo for: RPM Fusion for Fedora 22 - Nonfree - Updates</div><div>repo: using cache for: rpmfusion-free</div><div>not found deltainfo for: RPM Fusion for Fedora 22 - Free</div><div>not found updateinfo for: RPM Fusion for Fedora 22 - Free</div><div>reviving: failed for &#39;updates&#39;, mismatched sha256 sum.</div></div><div><div>Curl error (28): Timeout was reached for <a href="ftp://mirror.easyspeedy.com/fedora/updates/22/x86_64/repodata/repomd.xml">ftp://mirror.easyspeedy.com/fedora/updates/22/x86_64/repodata/repomd.xml</a> [Connection time-out] (<a href="ftp://mirror.easyspeedy.com/fedora/updates/22/x86_64/repodata/repomd.xml">ftp://mirror.easyspeedy.com/fedora/updates/22/x86_64/repodata/repomd.xml</a>).</div><div>error: Status code: 500 for <a href="http://ftp.informatik.uni-frankfurt.de/fedora/updates/22/x86_64/repodata/repomd.xml">http://ftp.informatik.uni-frankfurt.de/fedora/updates/22/x86_64/repodata/repomd.xml</a> (<a href="http://ftp.informatik.uni-frankfurt.de/fedora/updates/22/x86_64/repodata/repomd.xml">http://ftp.informatik.uni-frankfurt.de/fedora/updates/22/x86_64/repodata/repomd.xml</a>).</div></div><div><br></div><div>[...]</div><div><br></div><div>Regards</div><div>Martin</div><div><br></div></div>
</div></div>