Ask Your Question
0

Unable to download updates Fedora 29

asked 2018-12-01 11:40:27 -0600

VikeshBaid gravatar image

I have upgraded my fedora workstation from 28 to 29

I am getting following errors

failed to get updates for refresh: cannot update repo 'fedora-modular': Cannot prepare internal mirrorlist: Curl error(6): Couldn't resolve host name for https://mirrors.fedoraproject.org/met... not resolve host: mirrors.fedoraproject.org]; Last error:Curl error(6):Couldn't resolve host name for https://mirrors.fedoraproject.org/met... not resolve host: mirrors.fedoraproject.org]

edit retag flag offensive close merge delete

Comments

as of 11:52 local time for me, all the repos show to be online. are you behind a router that might be blocking. sounds like might be an issue with dns service from your internet service provider.

steveebey73742 gravatar imagesteveebey73742 ( 2018-12-01 11:53:52 -0600 )edit

can you tell me a way to fix it

VikeshBaid gravatar imageVikeshBaid ( 2018-12-01 12:14:41 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2018-12-02 09:32:34 -0600

bivalence gravatar image

First answerer is basically correct; you can't resolve the name 'mirrors.fedoraproject.org' to an IP address. This is probably a local issue on that machine. A few questions:

  1. What DNS server (s) are you configured to use on that machine; 'cat /etc/resolv.conf'? (You don't have to show us, but you need the answer for the next step.)

  2. Can you ping the DNS server(s) in /etc/resolv.conf? You could add the (Google) nameserver mentioned above to /etc/resolv.conf with a line like:

nameserver 8.8.8.8

and retry the update.

  1. To test name resolution, you can do (the 'host' command is included in the 'bind-utils' package, and, unfortunately, is not always installed by default):

host mirrors.fedoraproject.org

If you have another machine that is otherwise working on the network, you could try and resolve this address from that machine and then just add it to the bottom of your local /etc/hosts file:

<resolved_ip> mirrors.fedoraproject.org</resolved_ip>

edit flag offensive delete link more
0

answered 2018-12-01 12:42:09 -0600

ed209 gravatar image

First of all be sure your network works. Can you surf the internet? Can you ping 8.8.8.8 ?

edit flag offensive delete link more

Comments

yes I can ping 8.8.8.8

VikeshBaid gravatar imageVikeshBaid ( 2018-12-02 01:41:50 -0600 )edit

And? Should we wait a couple of months before you decide to answer all questions in order to help you or what?

ed209 gravatar imageed209 ( 2018-12-02 18:17:31 -0600 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-12-01 11:40:27 -0600

Seen: 106 times

Last updated: Dec 01