打印

LNMP安装出错

LNMP安装出错

CentOS release 6.4 (Final)
附件: 您所在的用户组无法下载或查看附件

TOP

引用:
Error: Cannot retrieve repository metadata (repomd.xml) for repository: c6-media. Please verify its path and try again
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.tuna.tsinghua.edu.cn
* epel: mirrors.tuna.tsinghua.edu.cn
* extras: mirrors.cqu.edu.cn
* updates: mirrors.tuna.tsinghua.edu.cn
file:///mnt/cdrom/repodata/repomd.xml: [Errno 14] Could not open/read file:///mnt/cdrom/repodata/repomd.xml
Trying other mirror.
你系统源设置有问题,yum都无法正常工作肯定无法安装。
把你设置的本地源去掉,将/etc/yum.repos.d/CentOS-Media.repo里面的enabled=1改成enabled=0 保存
yum install gcc 确定yum能正常工作后再重新安装

TOP