centos6安装了epel 7的处理办法
2016-05-24 14:11
351 查看
`#系统是Centos 6.6, 这里错误了安装 epel
[root@ip-127-0-0-1 softs] rpm -ivh http://mirrors.ustc.edu.cn/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
#使用 yum search munin 时提示了错误信息
[root@ip-127-0-0-1 softs] yum search munin
Loaded plugins: amazon-id, rhui-lb, security
Error: xz compression not available
Loaded plugins: amazon-id, rhui-lb, security
Setting up Remove Process
Resolving Dependencies
.....
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Erasing : epel-release-7-5.noarch 1/1
Verifying : epel-release-7-5.noarch 1/1
Removed:
epel-release.noarch 0:7-5
Complete!
Loaded plugins: amazon-id, rhui-lb, security
epel/metalink | 13 kB 00:00
epel | 4.4 kB 00:00
epel/primary_db | 6.7 MB 00:00
epel/pkgtags | 1.6 MB 00:00
========================= N/S Matched: munin ===============
PyMunin.noarch : Python Module for developing Munin Multigraph Monitoring Plugins
munin-java-plugins.noarch : java-plugins for munin
munin-ruby-plugins.noarch : ruby-plugins for munin
unbound-munin.noarch : Plugin for the munin / munin-node monitoring package
munin.noarch : Network-wide graphing framework (grapher/gatherer)
munin-async.noarch : Network-wide graphing framework (asynchronous client tools)
munin-cgi.noarch : Network-wide graphing framework (cgi files for apache)
munin-common.noarch : Network-wide graphing framework (common files)
munin-netip-plugins.noarch : Network-wide graphing framework (dhcpd3 and ntp plugins)
munin-nginx.noarch : Network-wide graphing framework (cgi files for nginx)
munin-node.noarch : Network-wide graphing framework (node)
Name and summary matches only, use "search all" for everything.`
[root@ip-127-0-0-1 softs] rpm -ivh http://mirrors.ustc.edu.cn/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
#使用 yum search munin 时提示了错误信息
[root@ip-127-0-0-1 softs] yum search munin
Loaded plugins: amazon-id, rhui-lb, security
Error: xz compression not available
开始解决Error, remove 错误的epel
[root@ip-127-0-0-1 softs] yum remove epel-releaseLoaded plugins: amazon-id, rhui-lb, security
Setting up Remove Process
Resolving Dependencies
.....
中间提示时 输入 y (yes)
Installed size: 22 kIs this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Erasing : epel-release-7-5.noarch 1/1
Verifying : epel-release-7-5.noarch 1/1
Removed:
epel-release.noarch 0:7-5
Complete!
清理epel 缓存
[root@ip-127-0-0-1 softs]# rm -rf /var/cache/yum/x86_64/6Server/epel/重新安装正确的epel
[root@ip-127-0-0-1 softs]# rpm -ivh epel-release-6-8.noarch.rpm再次确认,成功完成
[root@ip-127-0-0-1 softs]# yum search muninLoaded plugins: amazon-id, rhui-lb, security
epel/metalink | 13 kB 00:00
epel | 4.4 kB 00:00
epel/primary_db | 6.7 MB 00:00
epel/pkgtags | 1.6 MB 00:00
========================= N/S Matched: munin ===============
PyMunin.noarch : Python Module for developing Munin Multigraph Monitoring Plugins
munin-java-plugins.noarch : java-plugins for munin
munin-ruby-plugins.noarch : ruby-plugins for munin
unbound-munin.noarch : Plugin for the munin / munin-node monitoring package
munin.noarch : Network-wide graphing framework (grapher/gatherer)
munin-async.noarch : Network-wide graphing framework (asynchronous client tools)
munin-cgi.noarch : Network-wide graphing framework (cgi files for apache)
munin-common.noarch : Network-wide graphing framework (common files)
munin-netip-plugins.noarch : Network-wide graphing framework (dhcpd3 and ntp plugins)
munin-nginx.noarch : Network-wide graphing framework (cgi files for nginx)
munin-node.noarch : Network-wide graphing framework (node)
Name and summary matches only, use "search all" for everything.`
相关文章推荐
- linux命令之seq
- centos7.1安装部署Hadoop
- linux基础命令学习(六)文件的特殊属性
- Linux 文件与文件夹操作命令
- RedHat Linux文件的复制、删除和移动命令使用说明
- Linux如何查看JDK的安装路径
- linux crontab定时任务调用CI框架PHP代码
- Ubantu安装cuda驱动教程
- xshell登录Linux太慢解决方法
- Linux权限管理及用户
- Linux下openoffice安装以及启动服务
- Linux文件权限详解
- 史上最全linux内核配置详解
- Linux内核配置和编译过程详解
- 《linux内核设计与实现》实践之模块及深入
- 重置CentOS 7的root密码
- Linux环境通过java虚拟机定位程序问题位置的方法
- linux下利用dd命令测试磁盘读写速度
- 强悍的 Linux —— 强悍的命令行 (二)
- ZYNQ-7000 QSPI Flash和SD卡启动Linux的方式