使用linux系统的yum 安装 lrzsz报以下错误
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrorsYumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. </html>/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
发现原有的yum源不可用 改用aliyun的yum
aliyun yum文件配置网站 http://mirrors.aliyun.com/repo/
备份
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.back
下载配置文件
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
生成缓存
yum makecache