咨询热线:4006-75-4006

售前:9:00-23:30    备案:9:00-18:00    技术:7*24h

如何解决:you could try using --skip-broken to work around the problem

2016-11-21 14:27:31 11388次

在执行yum -y update更新软件包的时候出现错误:you could try using --skip-broken to work around the problem|You could try running: rpm -Va --nofiles --nodigest

解决方法如下:

yum clean all

rpm --rebuilddb

yum update

 

如果以上不行那么尝试更换yum.

进入yum源配置目录

cd /etc/yum.repos.d

备份系统自带的yum

mv CentOS-Base.repo CentOS-Base.repo.bk

下载163网易的yum源:

wget http://www.landui.com/.help/CentOS6-Base-163.repo

更新玩yum源后,执行下边命令更新yum配置,使操作立即生效

yum makecache


首页
最新活动
个人中心