早就该更新的“yum update”出现多个“需要”错误

早就该更新的“yum update”出现多个“需要”错误

在对我的 VPS(当前运行的是 CentOS 7.4.1708)进行了大量的忽视之后,我尝试运行yum update,但是在经过一长串“正在处理依赖关系...”行之后,输出的结尾如下所示:

...
---> Package nginx-mod-mail.x86_64 1:1.20.1-9.el7 will be an update
--> Processing Dependency: nginx(abi) = 1.20.1 for package: 1:nginx-mod-mail-1.20.1-9.el7.x86_64
---> Package nginx-mod-stream.x86_64 1:1.20.1-9.el7 will be an update
--> Processing Dependency: nginx(abi) = 1.20.1 for package: 1:nginx-mod-stream-1.20.1-9.el7.x86_64
--> Finished Dependency Resolution
Error: Package: libzip5-1.8.0-2.el7.remi.x86_64 (remi)
           Requires: libzstd(x86-64) >= 1.3.6
           Installing: libzstd-1.3.4-1.el7.x86_64 (MariaDB)
               libzstd(x86-64) = 1.3.4-1.el7
Error: Package: 1:nginx-1.10.2-1.el7.x86_64 (@epel)
           Requires: nginx-all-modules = 1:1.10.2-1.el7
           Removing: 1:nginx-all-modules-1.10.2-1.el7.noarch (@epel)
               nginx-all-modules = 1:1.10.2-1.el7
           Updated By: 1:nginx-all-modules-1.20.1-9.el7.noarch (epel)
               nginx-all-modules = 1:1.20.1-9.el7
Error: Package: 1:nginx-mod-stream-1.20.1-9.el7.x86_64 (epel)
           Requires: nginx(abi) = 1.20.1
Error: Package: libzip5-1.8.0-2.el7.remi.x86_64 (remi)
           Requires: libzstd(x86-64) >= 1.3.6
           Available: libzstd-1.3.4-1.el7.x86_64 (MariaDB)
               libzstd(x86-64) = 1.3.4-1.el7
Error: Package: 1:nginx-mod-http-image-filter-1.20.1-9.el7.x86_64 (epel)
           Requires: nginx(abi) = 1.20.1
Error: Package: 1:nginx-mod-mail-1.20.1-9.el7.x86_64 (epel)
           Requires: nginx(abi) = 1.20.1
Error: Package: 1:nginx-1.10.2-1.el7.x86_64 (@epel)
           Requires: nginx-filesystem = 1:1.10.2-1.el7
           Removing: 1:nginx-filesystem-1.10.2-1.el7.noarch (@epel)
               nginx-filesystem = 1:1.10.2-1.el7
           Updated By: 1:nginx-filesystem-1.20.1-9.el7.noarch (epel)
               nginx-filesystem = 1:1.20.1-9.el7
Error: Package: 1:nginx-mod-http-perl-1.20.1-9.el7.x86_64 (epel)
           Requires: nginx(abi) = 1.20.1
Error: Package: 1:nginx-mod-http-xslt-filter-1.20.1-9.el7.x86_64 (epel)
           Requires: nginx(abi) = 1.20.1
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

网络搜索会显示有关特定软件包的特定错误的问题,但这是否意味着我必须逐一解决这些问题?还是--skip-broken像它所说的那样可以安全地使用它?

我也安装了 Webmin,它显示 391 个软件包有更新,其中 35 个是安全更新。它正在提供更新,但我能相信它不会把事情搞砸吗?我相信yum,但是……

编辑:我决定继续运行yum update --skip-broken并让它做它能做的事情。在“已安装”、“依赖项已安装”和“已更新”阶段之后,输出结果如下:

Skipped (dependency problems):
  gd.x86_64 0:2.0.35-27.el7_9                 libzip5.x86_64 0:1.8.0-2.el7.remi                  libzstd.x86_64 0:1.3.4-1.el7
  nginx-all-modules.noarch 1:1.20.1-9.el7     nginx-filesystem.noarch 1:1.20.1-9.el7             nginx-mod-http-image-filter.x86_64 1:1.20.1-9.el7
  nginx-mod-http-perl.x86_64 1:1.20.1-9.el7   nginx-mod-http-xslt-filter.x86_64 1:1.20.1-9.el7   nginx-mod-mail.x86_64 1:1.20.1-9.el7
  nginx-mod-stream.x86_64 1:1.20.1-9.el7      php-pecl-zip.x86_64 0:1.20.0-1.el7.remi.7.1

Replaced:
  grub2.x86_64 1:2.02-0.64.el7.centos             grub2-tools.x86_64 1:2.02-0.64.el7.centos       grub2-tools-efi.x86_64 1:2.02-0.64.el7.centos
  iwl7265-firmware.noarch 0:22.0.7.0-56.el7       python-parsedatetime.noarch 0:1.5-3.el7         python2-requests.noarch 0:2.6.0-0.el7

Complete!

现在 Webmin 中的视图如下所示 - 10 个包(其中 7 个与 nginx 相关的包被视为“安全更新”):

在此处输入图片描述

相关内容