文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Error: Cannot retrieve repository..

Error: Cannot retrieve repository..

时间:2010-09-28  来源:varynerd

 由于一不小心更改了DNS,导致yum install PackageName报错“Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again”看了下fedora.repo没什么异常啊。google下,说在/etc/hosts里添加

80.239.156.215         mirrors.fedoraproject.org 213.129.242.84         mirrors.rpmfusion.org 再用yum install PacgageName还报错。PYCURL ERROR 6郁闷啊,找了半天才找到http://curl.haxx.se/libcurl/c/libcurl-errors.html “CURLE_COULDNT_RESOLVE_HOST (6) Couldn't resolve host. The given remote host was not resolved."。一想不对啊,在hosts里添加了应该不解析啊。估计hosts没起作用。service network restart 。在次安装报PYCURL ERROR 7。唉, ”Failed to connect() to host or proxy.” Loaded plugins: presto, refresh-packagekit Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-13&arch=i386 error was 14: PYCURL ERROR 7 - "" Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmfusion-free. Please verify its path and try again 把hosts里的rpmfusion注释掉.OK了,不容易啊,就之小问题搞了半天。DNS 8.8.8.8很好 说下rpmfusion基本上你所需的软件里面都有,很好,这个源不错的说。  
相关阅读 更多 +
排行榜 更多 +
雷电觉醒安卓版

雷电觉醒安卓版

飞行射击 下载
3D幻影飞车最新版

3D幻影飞车最新版

飞行射击 下载
乡村拼图

乡村拼图

休闲益智 下载