Ask Your Question

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 '': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for [Could not resolve host:]

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

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

genodeftest gravatar image

Can you ping 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


helped to understand why it was happening, had network issues

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

Question Tools


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

Seen: 13,866 times

Last updated: Apr 02 '16