Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
kotakanbe opened this issue Mar 7, 2017 · 0 comments
Labels
Milestone

Comments

@kotakanbe
Copy link
Member

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": ""
    },

@kotakanbe kotakanbe added the bug label Mar 7, 2017
@kotakanbe kotakanbe added this to the v0.3.0 milestone Mar 7, 2017
kotakanbe added a commit that referenced this issue Mar 7, 2017
kotakanbe added a commit that referenced this issue Mar 7, 2017
lapthorn pushed a commit to lapthorn/vuls that referenced this issue May 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant