yum问题收集
2016-04-05 13:09
239 查看
前言
记录平时见到的一些技巧,以备不时之需yum源问题
添加epel源,参考 http://fedoraproject.org/wiki/EPEL 选取对应版本的‘epel-release’,添加源后即可查询到,以EL6为例:yum install http://mirrors.opencas.cn/epel/6/i386/epel-release-6-8.noarch.rpmyum本地源
mkdir -p /mnt/centos mount -o loop CentOS-6.5-x86_64-bin-DVD1.iso /mnt/centos/ cat /etc/yum.repos.d/CentOS-Media.repo # To use this repo, put in your DVD and use it with the other repos too: # yum --enablerepo=c6-media [command] # # or for ONLY the media repo, do this: # # yum --disablerepo=\* --enablerepo=c6-media [command] [c6-media] name=CentOS-$releasever - Media baseurl=file:///media/CentOS/ file:///media/cdrom/ file:///media/cdrecorder/ gpgcheck=0 enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6yum 问题记录
[root@core /]# yum list Loaded plugins: fastestmirror Determining fastest mirrors Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again --->解决方法 yum upgrade ca-certificates --disablerepo=epelyum 系列问题
1. yum install salt-minion .... file /usr/lib64/python2.6/zipfile.pyo from install of python-libs-2.6.6-64.el6.x86_64 conflicts with file from package python-2.6.6-36.el6.x86_64 Error Summary --->缩小范围 2. yum install python-libs 问题一样 最后得出应先升级python yum update python 然后在 yum install salt-minion
相关文章推荐
- Centos6 编译安装Python
- centos下删除用yum安装的软件
- 利用yum安装Redis的方法详解
- CentOS 5.5使用yum来安装LAMP(php运行环境)
- centos6利用yum安装php mysql gd的步骤
- CentOS系统下编译安装MySQL以及设置相关yum源的教程
- 详解Centos 使用YUM安装MariaDB
- Linux下yum常用命令汇总
- CentOS 5 上安装yum的方法
- CentOS 6.5系统中使用yum安装MongoDB 2.6 教程
- centos yum 安装 mongodb 以及php扩展
- 使用光盘配置本地yum源的方法 yum源配置
- 阿里云云服务器Linux系统更新yum源Shell脚本
- CentOS7系统下用YUM安装Nginx详解
- 从Oracle Public Yum为Oracle Linux建立本地的Yum源
- 【笔记】CentOS
- [Linux学习笔记] Linux软件包管理
- CentOS如何将DVD设置为默认yum源以便DVD中软件的下载安装
- yum安装MySQL并设置密码
- 让centos使用国内163源