云服务器如何解决-you could try using
技术问题
云服务器如何解决-you could try using
2024-12-09 10:15
云服务器如何解决-you could try using
云服务器在执行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
標簽:
- 云服务器如何解决-you could try using