云服务器在执行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
更新玩yum源后,执行下边命令更新yum配置,使操作立即生效
yum makecache
Copyright ? 2013-2024 8a.hk All Rights Reserved. 八艾云 版权所有 中山市八艾云计算有限公司 粤ICP备14095776号 粤公网安备 44200002445359号
增值电信业务经营许可证编号:B1-20222012
代理域名注册服务机构:西部数码