centos本地yum源错误引起问题

yum install ftp

--> 处理依赖关系 libc.so.6(GLIBC_2.2),它被软件包 ftp-0.17-38.el5.i386 需要



yum clean all


#更新yum源吧包

yum -y install  epel-release 

——————————————————————————————————————

配置本地yum源,系统


 cat /etc/issue 

CentOS release 6.7 (Final)


/etc/yum.repos.d  下文件CentOS-Base.repo



[base]


name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
baseurl=http://centos.ustc.edu.cn/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6








你可能感兴趣的:(centos本地yum源错误引起问题)