yum安装mysql出现错误及解决方案
2017-10-14 10:14
281 查看
出现错误如下
file:///media/CentOS/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/CentOS/repodata/repomd.xml
Trying other mirror.
file:///media/cdrecorder/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrecorder/repodata/repomd.xml
Trying other mirror.
file:///media/cdrom/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrom/repodata/repomd.xml
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: c6-media. Please verify its path and try again
解决办法就是把本地源关闭:
将/etc/yum.repos.d/CentOS-Media.repo里面的enabled=1改成enabled=0即可
因为yum 寻包的顺序应该先是本地源,再寻网络源。
file:///media/CentOS/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/CentOS/repodata/repomd.xml
Trying other mirror.
file:///media/cdrecorder/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrecorder/repodata/repomd.xml
Trying other mirror.
file:///media/cdrom/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrom/repodata/repomd.xml
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: c6-media. Please verify its path and try again
解决办法就是把本地源关闭:
将/etc/yum.repos.d/CentOS-Media.repo里面的enabled=1改成enabled=0即可
因为yum 寻包的顺序应该先是本地源,再寻网络源。
相关文章推荐
- Linux下使用yum安装软件时出现HTTP Error 404: NOT FOUND错误解决方案
- mysql的安装出现”错误 1067: 进程意外终止”问题的最终解决方案
- linux安装jdk出现java/lang/NoClassDefFoundError: java/lang/Object错误的解决方案
- JDBC连接mysql免安装版出现中文乱码解决方案
- MySQL5.5安装出现CMake错误找不到CMakelists.txt原因
- 安装mysql时出现 mysql Install/Remove of the Service Denied! 错误的解决办法
- 安装MySQL出现Apply Security Settings错误的解决办法
- MYSQL电脑客户端免安装教程以及出现问题解决方案
- yum 安装mysql5.7 是 出现无法登陆问题以及mysql error You must reset your password using ALTER USER statement befor
- Mysql安装过程中出现apply security settings错误的解决方法
- VS2005打不开项目(解决方案)怎么办?/安装vs2008中文时出现错误Write error in the file 。。。。。
- 使用yum命令安装软件时出现HTTP Error 404 NOT FOUND错误的解决办法
- win7环境(x64)安装MySQL 5.7.12出现3534错误解决备忘
- 给Eclipse安装eUML2插件以及可能出现的依赖错误解决方案
- 安装mysql,在./configure时出现错误:error: No curses/termcap library found的解决办法
- Mysql在Linux下安装和使用过程中出现的问题及解决方案
- 【Python配置】pip安装出现错误'Premission denied'解决方案
- 安装Adobe 全线产品时出现提示错误终极解决方案
- yum 安装 mysql 错误 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lql/mysql.sock
- 安装MySql以及出现错误的解决方法