| 
                         跟之前类似,你可以只查询那些通过 CVE 释出的系统漏洞: 
# yum updateinfo list cves-  
 Loaded plugins: changelog, package_upload, product-id, search-disabled-repos,              : subscription-manager, verify, versionlockCVE-2018-15688 Important/Sec. NetworkManager-1:1.12.0-8.el7_6.x86_64CVE-2018-15688 Important/Sec. NetworkManager-adsl-1:1.12.0-8.el7_6.x86_64CVE-2018-15688 Important/Sec. NetworkManager-bluetooth-1:1.12.0-8.el7_6.x86_64CVE-2018-15688 Important/Sec. NetworkManager-config-server-1:1.12.0-8.el7_6.noarchCVE-2018-15688 Important/Sec. NetworkManager-glib-1:1.12.0-8.el7_6.x86_64CVE-2018-15688 Important/Sec. NetworkManager-libnm-1:1.12.0-8.el7_6.x86_64CVE-2018-15688 Important/Sec. NetworkManager-ppp-1:1.12.0-8.el7_6.x86_64CVE-2018-15688 Important/Sec. NetworkManager-team-1:1.12.0-8.el7_6.x86_64
  
你也可以查看那些跟 bug 修复相关的更新,运行下面的命令: 
# yum updateinfo list bugfix | less-  
 Loaded plugins: changelog, package_upload, product-id, search-disabled-repos,              : subscription-manager, verify, versionlockRHBA-2018:3349 bugfix NetworkManager-1:1.12.0-7.el7_6.x86_64RHBA-2019:0519 bugfix NetworkManager-1:1.12.0-10.el7_6.x86_64RHBA-2018:3349 bugfix NetworkManager-adsl-1:1.12.0-7.el7_6.x86_64RHBA-2019:0519 bugfix NetworkManager-adsl-1:1.12.0-10.el7_6.x86_64RHBA-2018:3349 bugfix NetworkManager-bluetooth-1:1.12.0-7.el7_6.x86_64RHBA-2019:0519 bugfix NetworkManager-bluetooth-1:1.12.0-10.el7_6.x86_64RHBA-2018:3349 bugfix NetworkManager-config-server-1:1.12.0-7.el7_6.noarchRHBA-2019:0519 bugfix NetworkManager-config-server-1:1.12.0-10.el7_6.noarch
  
要想得到待安装更新的摘要信息,运行这个: 
# yum updateinfo summaryLoaded plugins: changelog, package_upload, product-id, search-disabled-repos, subscription-manager, verify, versionlockrhel-7-server-rpms                                                                                                                            | 2.0 kB  00:00:00Updates Information Summary: updates    13 Security notice(s)         9 Important Security notice(s)         3 Moderate Security notice(s)         1 Low Security notice(s)    35 Bugfix notice(s)     1 Enhancement notice(s)updateinfo summary done
  
如果只想打印出低级别的安全更新,运行下面这个命令。类似的,你也可以只查询重要级别和中等级别的安全更新。 
# yum updateinfo list sec | grep -i "Low"-  
 RHSA-2019:0201 Low/Sec.       libgudev1-219-62.el7_6.3.x86_64RHSA-2019:0201 Low/Sec.       systemd-219-62.el7_6.3.x86_64RHSA-2019:0201 Low/Sec.       systemd-libs-219-62.el7_6.3.x86_64RHSA-2019:0201 Low/Sec.       systemd-sysv-219-62.el7_6.3.x86_64
                          (编辑:泰州站长网) 
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! 
                     |