Skip to content

The number of Updatable Packages is different from the number of yum check-update #373

Closed
@kotakanbe

Description

@kotakanbe

Environment

Vuls

➜ vuls git:(master) ✗ ./vuls -v
vuls v0.2.0 41f99f2

OS

  • Target Server: CentOS6.8

Go

  • Go version: 1.7

Current Output

One Line Summary
================
vuls-server     centos6.8       0 CVEs  12 updatable packages

yum check-update says 10 updatable pacages

$ yum check-update
...
initscripts.x86_64                                             9.03.53-1.el6.centos.2                                 updates
kernel.x86_64                                                  2.6.32-642.15.1.el6                                    updates
kernel-firmware.noarch                                         2.6.32-642.15.1.el6                                    updates
kernel-headers.x86_64                                          2.6.32-642.15.1.el6                                    updates
kexec-tools.x86_64                                             2.0.0-300.el6_8.2                                      updates
libblkid.x86_64                                                2.17.2-12.24.el6_8.3                                   updates
libuuid.x86_64                                                 2.17.2-12.24.el6_8.3                                   updates
selinux-policy.noarch                                          3.7.19-292.el6_8.3                                     updates
selinux-policy-targeted.noarch                                 3.7.19-292.el6_8.3                                     updates
util-linux-ng.x86_64                                           2.17.2-12.24.el6_8.3                                   updates
  • Three kernel packages are installed, and it turned out that this is counted duplicately.
{
      "Name": "kernel",
      "Version": "2.6.32",
      "Release": "642.4.2.el6",
      "NewVersion": "2.6.32",
      "NewRelease": "642.15.1.el6",
      "Repository": ""
    },

    {
      "Name": "kernel",
      "Version": "2.6.32",
      "Release": "642.13.1.el6",
      "NewVersion": "2.6.32",
      "NewRelease": "642.15.1.el6",
      "Repository": ""
    },

   {
      "Name": "kernel",
      "Version": "2.6.32",
      "Release": "642.13.2.el6",
      "NewVersion": "2.6.32",
      "NewRelease": "642.15.1.el6",
      "Repository": ""
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions