Ask Your Question
1

Can't run yum or dnf - Failed to synchronize cache for repo

asked 2016-04-02 14:43:13 -0500

square_eyes gravatar image

Trying to run updates from my fedora/amahi server and I am getting:

Error: Failed to synchronize cache for repo 'fedora' from 'https://mirrors.fedoraproject.org/metalink?repo=fedora-23&arch=x86_64': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/met... [Could not resolve host: mirrors.fedoraproject.org]

Am new to linux. I have local access at least since I am SSH'd in from my laptop at home.

For example: yum -y install mysql-server php php-mysql php-mbstring php-intl samba samba-common php-pear rsync lsof

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-04-02 16:29:51 -0500

genodeftest gravatar image

Can you ping mirrors.fedoraproject.org? If yes, the server probably just has hiccups. Wait some time, it might take a few hours to be resolved. If not, your network connection seems to be broken or misconfigured.

edit flag offensive delete link more

Comments

helped to understand why it was happening, had network issues

skalarock24 gravatar imageskalarock24 ( 2016-05-18 14:23:34 -0500 )edit

Question Tools

Stats

Asked: 2016-04-02 14:43:13 -0500

Seen: 13,866 times

Last updated: Apr 02 '16