English
Ask Your Question
2

Fedora 22 DNF timeout

asked 2015-07-19 21:34:16 +0000

Richard87 gravatar image

I just installad Fedora 22 and DNF (yum's replacement) is performing terrible.

9 out of 10 request fails out of timeout, with random effect specifying IPv4 or not. The problem seems to be that DNF can't pick a proper mirror nad often pick a non-responding one, or a terribly slow one.

Feil: Error downloading packages:
Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f22&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]

Also, I think IPv6 is caussing some trouble, so it has been deactivated on my system. Restarts dosn't change anything either...

(Before I found ask.fedoraproject.org I asked the same question on stackexhange first: http://serverfault.com/questions/7069... )

edit retag flag offensive close merge delete

Comments

curl http://icanhaztrace.com may show up some issues. I too suspect your DNS provider sucks. It may be time to ditch them, or host your own dns cache.

NuuN ( 2015-07-19 22:05:20 +0000 )edit

I agree with the posting, dnf is much slower than yum. Further it often tries to connect to a high/random port on the mirror server, which our company firewall doesn't allow. I never had this problem with yum.

polywogsys ( 2015-07-24 16:12:15 +0000 )edit

@polywogsys, I am quite new to Fedora. Haven't used an RPM tool since Mandrake's urpmi. But, dnf is always trying to connect in order to keep metadata fresh. Unless they are doing strict whitelisting, your company firewall is dumb. If they allow any <1024 to go through but do not allow any >9000, they are being lazy.

dnf has proxy options for such cases. man dnf.plugin.config-manager

NuuN ( 2015-07-24 16:33:22 +0000 )edit

2 answers

Sort by ยป oldest newest most voted
2

answered 2015-07-20 08:08:10 +0000

NikTh gravatar image

updated 2015-07-20 08:10:27 +0000

(Before I found ask.fedoraproject.org I asked the same question on stackexhange first: http://serverfault.com/questions/7069.. . )

So, you have already found the answer , right?

Updating to googles DNS Servers worked like a charm on the first try! Thank you! If you post an answer I will accept it, also if you have tips on public DNS it would be highly appreciated :)

If you don't know how to permanently change the DNS servers, via NetworkManager, have a look at this answer.

As for DNS service, I'm using OpenDNS(has nothing to do with OpenSource) for some time now and I have no problems.

edit flag offensive delete link more

Comments

Thanks, yup, it was all in my DNS settings...

Richard87 ( 2015-07-20 14:47:35 +0000 )edit

There are many other fast ones to chose from too:

Symantec also offers free, basic DNS.

NuuN ( 2015-07-20 14:49:18 +0000 )edit

Thanks! I'm looking for some good DNS servers, It's a shame that my ISP is not up to the task :/

Richard87 ( 2015-07-20 14:51:03 +0000 )edit

You could mix more them. The traditional maximum are 3 entries. So 1 from OpenDNS, 1 from Yandex, 1 from Google (8.8.8.8; 8.8.4.4).

NuuN ( 2015-07-20 14:53:46 +0000 )edit

Yup, Thinking I should go for OpenNIC as #1, and Google for #2 nd #3... (a little anonymity would be nice :) )

Richard87 ( 2015-07-20 14:59:02 +0000 )edit
0

answered 2016-07-30 09:26:46 +0000

This is just a temporary issue which you are having,keep on repeating the command. Or , it may be that you have a poor internet connection.Also try

dnf clean all
dnf clean packages

keep on trying repeatedly.It may work

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

Follow
1 follower

Stats

Asked: 2015-07-19 21:34:16 +0000

Seen: 3,690 times

Last updated: Jul 20 '15