Ask Your Question

Timeout errors in DNF

asked 2015-09-10 09:13:11 -0600

Droidge gravatar image

While trying to install anything through DNF, I will either end up having a timeout error, or a error that says I "encountered the end of file". I have therefore not been able to install anything through the terminal, and "Software" isn't working properly either.

What is the problem? Unfortunately, I cannot change my DNS as outlined in an answer to a similar question, and am therefore looking for another solution.


edit retag flag offensive close merge delete


Normally it is a network issue, sometimes works after a little while

aeperezt gravatar imageaeperezt ( 2015-09-10 09:22:43 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-09-10 09:33:42 -0600

updated 2015-09-10 09:35:15 -0600

It sounds like you have some network connectivity issues with the repositories your system is attempting to use. You might try this to resolve that issue:

1) Enable fastest mirror determination in dnf:

  $ sudo vim /etc/dnf/dnf.conf
  #Add "fastestmirror=true" to the bottom of the config file's [main] stanza (which should be the only stanza present by default)

2) Clean out your metadata so you can start fresh, with a brand new determination of the fastest mirrors available for your use:

  $ sudo dnf clean all
  Cleaning repos: fedora fedora-steam updates adobe-linux-x86_64
  Cleaning up Everything

3) Perform an upgrade and observe the fastest mirror determination. Hopefully, this resolves your issue:

  $ sudo dnf upgrade
  determining the fastest mirror (79 hosts).. done.

Let me know how it goes!

edit flag offensive delete link more


Thank you so much! It worked like a charm. DNF now instantly connects to the mirror, and downloading packages is faster than ever.

Droidge gravatar imageDroidge ( 2015-09-10 12:27:20 -0600 )edit

Hey, great! Glad I could help.

bitwiseoperator gravatar imagebitwiseoperator ( 2015-09-10 12:29:14 -0600 )edit

Question Tools

1 follower


Asked: 2015-09-10 09:13:11 -0600

Seen: 2,512 times

Last updated: Sep 10 '15