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

Failed to parse yum check-update #32

Closed
amartorelli opened this issue Apr 14, 2016 · 7 comments
Closed

Failed to parse yum check-update #32

amartorelli opened this issue Apr 14, 2016 · 7 comments
Labels

Comments

@amartorelli
Copy link

I'm running a normal vuls scan on a centos host. I'm getting the following:
[Apr 14 16:57:00] ERROR [localhost] Failed to scan. err: user@myserver:22: Failed to parse yum check-update. err: Failed to parse yum check update line: Percona-Server-shared-51--

The command that gave a problem is:
[Apr 14 16:57:00] DEBUG [sft007:22] SSH executed. cmd: set -o pipefail; echo xxxxxx | sudo -S yum check-update, status: <nil>

Please do let me know if I can give you more details.

@kotakanbe
Copy link
Member

Thanks for reporting.
It's a bug.
Please paste the result of yum check-update on the server.
I will fix it within a few days.

@amartorelli
Copy link
Author

Sorry for the late reply. Here it is:

[amartorelli@server:~]$ sudo yum check-update
[sudo] password for amartorelli: 
Loaded plugins: changelog, fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirrors.coreix.net
 * epel: epel.check-update.co.uk
 * extras: mirrors.coreix.net
 * updates: mirrors.coreix.net
repo-build                                                                       | 2.5 kB     00:00     
repo-build-generic                                                               | 2.5 kB     00:00     

Django14.noarch                                  1.4.21-1.el6                                 epel                 
GeoIP.x86_64                                     1.6.5-1.el6                                  epel                 
Percona-Server-shared-56.x86_64                  5.6.21-rel70.1.el6                           repo-base          
abrt.x86_64                                      2.0.8-34.el6.centos                          base                 
abrt-addon-ccpp.x86_64                           2.0.8-34.el6.centos                          base                 
abrt-addon-kerneloops.x86_64                     2.0.8-34.el6.centos                          base                 
abrt-addon-python.x86_64                         2.0.8-34.el6.centos                          base                 
abrt-cli.x86_64                                  2.0.8-34.el6.centos                          base                 
abrt-libs.x86_64                                 2.0.8-34.el6.centos                          base                 
abrt-tui.x86_64                                  2.0.8-34.el6.centos                          base                 
alsa-utils.x86_64                                1.0.22-9.el6_6                               base                 
at.x86_64                                        3.1.10-48.el6                                base                 
atk.x86_64                                       1.30.0-1.el6                                 base                 
audit.x86_64                                     2.3.7-5.el6                                  base                 
audit-libs.x86_64                                2.3.7-5.el6                                  base                 
authconfig.x86_64                                6.1.12-23.el6                                base                 
avahi-libs.x86_64                                0.6.25-15.el6                                base                 
b43-openfwwf.noarch                              5.2-10.el6                                   base                 
bash.x86_64                                      4.1.2-33.el6_7.1                             updates              
bfa-firmware.noarch                              3.2.23.0-2.el6                               base                 
bind-libs.x86_64                                 32:9.8.2-0.37.rc1.el6_7.7                    updates              
bind-utils.x86_64                                32:9.8.2-0.37.rc1.el6_7.7                    updates              
binutils.x86_64                                  2.20.51.0.2-5.43.el6                         base                 
biosdevname.x86_64                               0.6.2-1.el6                                  base                 
btparser.x86_64                                  0.17-2.el6                                   base                 
busybox.x86_64                                   1:1.15.1-21.el6_6                            base                 
c-ares19.x86_64                                  1.9.1-5.el6.3                                epel                 
ca-certificates.noarch                           2015.2.6-65.0.1.el6_7                        updates              
cairo.x86_64                                     1.8.8-6.el6_6                                base                 
centos-indexhtml.noarch                          6-2.el6.centos                               base                 
centos-release.x86_64                            6-7.el6.centos.12.3                          base                 
chkconfig.x86_64                                 1.3.49.3-5.el6_7.2                           updates              
colordiff.noarch                                 1.0.13-1.el6                                 epel                 
coreutils.x86_64                                 8.4-37.el6_7.3                               updates              
coreutils-libs.x86_64                            8.4-37.el6_7.3                               updates              
cpio.x86_64                                      2.10-12.el6_5                                base                 
cpp.x86_64                                       4.4.7-16.el6                                 base                 
cpuspeed.x86_64                                  1:1.5-22.el6                                 base                 
crda.x86_64                                      1.1.3_2014.06.13-1.el6                       base                 
cronie.x86_64                                    1.4.4-15.el6_7.1                             updates              
cronie-anacron.x86_64                            1.4.4-15.el6_7.1                             updates              
cryptsetup-luks.x86_64                           1.2.0-11.el6                                 base                 
cryptsetup-luks-libs.x86_64                      1.2.0-11.el6                                 base                 
cups-libs.x86_64                                 1:1.4.2-72.el6                               base                 
curl.x86_64                                      7.19.7-46.el6                                base                 
cyrus-sasl.x86_64                                2.1.23-15.el6_6.2                            base                 
cyrus-sasl-lib.x86_64                            2.1.23-15.el6_6.2                            base                 
cyrus-sasl-plain.x86_64                          2.1.23-15.el6_6.2                            base                 
db4.x86_64                                       4.7.25-20.el6_7                              updates              
db4-utils.x86_64                                 4.7.25-20.el6_7                              updates              
dbus.x86_64                                      1:1.2.24-8.el6_6                             base                 
dbus-glib.x86_64                                 0.86-6.el6                                   base                 
dbus-libs.x86_64                                 1:1.2.24-8.el6_6                             base                 
device-mapper.x86_64                             1.02.95-3.el6_7.4                            updates              
device-mapper-event.x86_64                       1.02.95-3.el6_7.4                            updates              
device-mapper-event-libs.x86_64                  1.02.95-3.el6_7.4                            updates              
device-mapper-libs.x86_64                        1.02.95-3.el6_7.4                            updates              
device-mapper-persistent-data.x86_64             0.3.2-1.el6                                  base                 
dhclient.x86_64                                  12:4.1.1-49.P1.el6.centos                    base                 
dhcp-common.x86_64                               12:4.1.1-49.P1.el6.centos                    base                 
diamond.x86_64                                   4.0.195-ds2                                  repo-base          
dmidecode.x86_64                                 1:2.12-6.el6                                 base                 
dracut.noarch                                    004-388.el6                                  base                 
dracut-kernel.noarch                             004-388.el6                                  base                 
dstat.noarch                                     0.7.0-2.el6                                  base                 
e2fsprogs.x86_64                                 1.41.12-22.el6                               base                 
e2fsprogs-libs.x86_64                            1.41.12-22.el6                               base                 
efibootmgr.x86_64                                0.5.4-13.el6                                 base                 
elfutils.x86_64                                  0.161-3.el6                                  base                 
elfutils-libelf.x86_64                           0.161-3.el6                                  base                 
elfutils-libs.x86_64                             0.161-3.el6                                  base                 
ethtool.x86_64                                   2:3.5-6.el6                                  base                 
fcgi.x86_64                                      2.4.0-12.el6                                 epel                 
file.x86_64                                      5.04-21.el6                                  base                 
file-libs.x86_64                                 5.04-21.el6                                  base                 
flac.x86_64                                      1.2.1-7.el6_6                                base                 
fontconfig.x86_64                                2.8.0-5.el6                                  base                 
fprintd.x86_64                                   0.1-22.git04fd09cfa.el6                      base                 
fprintd-pam.x86_64                               0.1-22.git04fd09cfa.el6                      base                 
freetype.x86_64                                  2.3.11-15.el6_6.1                            base                 
gawk.x86_64                                      3.1.7-10.el6_7.3                             updates              
gcc.x86_64                                       4.4.7-16.el6                                 base                 
gcc-c++.x86_64                                   4.4.7-16.el6                                 base                 
gdb.x86_64                                       7.2-83.el6                                   base                 
gdbm.x86_64                                      1.8.0-38.el6                                 base                 
glib2.x86_64                                     2.28.8-4.el6                                 base                 
glibc.i686                                       2.12-1.166.el6_7.7                           updates              
glibc.x86_64                                     2.12-1.166.el6_7.7                           updates              
glibc-common.x86_64                              2.12-1.166.el6_7.7                           updates              
glibc-devel.x86_64                               2.12-1.166.el6_7.7                           updates              
glibc-headers.x86_64                             2.12-1.166.el6_7.7                           updates              
gnupg2.x86_64                                    2.0.14-8.el6                                 base                 
gnutls.x86_64                                    2.8.5-19.el6_7                               updates              
grep.x86_64                                      2.20-3.el6_7.1                               updates              
grub.x86_64                                      1:0.97-94.el6_7.1                            updates              
grubby.x86_64                                    7.0.15-7.el6                                 base                 
gtk2.x86_64                                      2.24.23-6.el6                                base                 
gzip.x86_64                                      1.3.12-22.el6                                base                 
hal.x86_64                                       0.5.14-14.el6                                base                 
hal-info.noarch                                  20090716-5.el6                               base                 
hal-libs.x86_64                                  0.5.14-14.el6                                base                 
hdparm.x86_64                                    9.43-4.el6                                   base                 
hp-ams.x86_64                                    2.2.0-1688.44.rhel6                          hp-mcp               
hp-health.x86_64                                 10.20-1723.28.rhel6                          hp-mcp               
hp-smh-templates.noarch                          10.2.0-1429.26                               hp-mcp               
hp-snmp-agents.x86_64                            10.20-2789.26.rhel6                          hp-mcp               
hpdiags.x86_64                                   10.34.1914-1896                              hp-mcp               
hponcfg.x86_64                                   4.5.0-0                                      hp-mcp               
hpsmh.x86_64                                     7.5.0-4                                      hp-mcp               
httpd.x86_64                                     2.2.15-47.el6.centos.4                       updates              
httpd-tools.x86_64                               2.2.15-47.el6.centos.4                       updates              
hwdata.noarch                                    0.233-14.1.el6                               base                 
initscripts.x86_64                               9.03.49-1.el6.centos.4                       updates              
iproute.x86_64                                   2.6.32-45.el6                                base                 
iptables.x86_64                                  1.4.7-16.el6                                 base                 
iptables-ipv6.x86_64                             1.4.7-16.el6                                 base                 
iputils.x86_64                                   20071127-20.el6                              base                 
irqbalance.x86_64                                2:1.0.7-5.el6                                base                 
iw.x86_64                                        3.10-1.1.el6                                 base                 
jasper-libs.x86_64                               1.900.1-16.el6_6.3                           base                 
java-1.6.0-openjdk.x86_64                        1:1.6.0.38-1.13.10.0.el6_7                   updates              
java-1.6.0-openjdk-devel.x86_64                  1:1.6.0.38-1.13.10.0.el6_7                   updates              
java-1.8.0-openjdk.x86_64                        1:1.8.0.77-0.b03.el6_7                       updates              
java-1.8.0-openjdk-devel.x86_64                  1:1.8.0.77-0.b03.el6_7                       updates              
java-1.8.0-openjdk-headless.x86_64               1:1.8.0.77-0.b03.el6_7                       updates              
jpackage-utils.noarch                            1.7.5-3.14.el6                               base                 
kernel.x86_64                                    2.6.32-573.22.1.el6                          updates              
kernel-devel.x86_64                              2.6.32-573.22.1.el6                          updates              
kernel-firmware.noarch                           2.6.32-573.22.1.el6                          updates              
kernel-headers.x86_64                            2.6.32-573.22.1.el6                          updates              
kexec-tools.x86_64                               2.0.0-286.el6_7.2                            updates              
keyutils-libs.x86_64                             1.4-5.el6                                    base                 
kmod-hpsa.x86_64                                 3.4.14-115.rhel6u7                           hp-spp               
kpartx.x86_64                                    0.4.9-87.el6                                 base                 
krb5-libs.x86_64                                 1.10.3-42z1.el6_7                            updates              
ledmon.x86_64                                    0.79-1.el6                                   base                 
less.x86_64                                      436-13.el6                                   base                 
libX11.x86_64                                    1.6.0-6.el6                                  base                 
libX11-common.noarch                             1.6.0-6.el6                                  base                 
libXcursor.x86_64                                1.1.14-2.1.el6                               base                 
libXext.x86_64                                   1.3.2-2.1.el6                                base                 
libXfixes.x86_64                                 5.0.1-2.1.el6                                base                 
libXfont.x86_64                                  1.4.5-5.el6_7                                updates              
libXi.x86_64                                     1.7.2-2.2.el6                                base                 
libXinerama.x86_64                               1.1.3-2.1.el6                                base                 
libXrandr.x86_64                                 1.4.1-2.1.el6                                base                 
libXrender.x86_64                                0.9.8-2.1.el6                                base                 
libXt.x86_64                                     1.1.4-6.1.el6                                base                 
libXtst.x86_64                                   1.2.2-2.1.el6                                base                 
libblkid.x86_64                                  2.17.2-12.18.el6                             base                 
libboost.x86_64                                  1.57.0-ds1.el6                               repo-base          
libboost-1_52_0.x86_64                           1.52.0-ds20130313T1434.el6                   repo-base          
libcom_err.x86_64                                1.41.12-22.el6                               base                 
libcurl.x86_64                                   7.19.7-46.el6                                base                 
libdrm.x86_64                                    2.4.59-2.el6                                 base                 
libgcc.x86_64                                    4.4.7-16.el6                                 base                 
libgcrypt.x86_64                                 1.4.5-11.el6_4                               base                 
libgomp.x86_64                                   4.4.7-16.el6                                 base                 
libicu.x86_64                                    4.2.1-12.el6                                 base                 
libjpeg-turbo.x86_64                             1.2.1-3.el6_5                                base                 
libnl.x86_64                                     1.1.4-2.el6                                  base                 
libpcap.x86_64                                   14:1.4.0-4.20130826git2dbcaa1.el6            base                 
libpciaccess.x86_64                              0.13.3-0.1.el6                               base                 
libpng.x86_64                                    2:1.2.49-2.el6_7                             updates              
libproxy.x86_64                                  0.3.0-10.el6                                 base                 
libproxy-bin.x86_64                              0.3.0-10.el6                                 base                 
libproxy-python.x86_64                           0.3.0-10.el6                                 base                 
libreport.x86_64                                 2.0.9-25.el6.centos                          updates              
libreport-cli.x86_64                             2.0.9-25.el6.centos                          updates              
libreport-compat.x86_64                          2.0.9-25.el6.centos                          updates              
libreport-plugin-kerneloops.x86_64               2.0.9-25.el6.centos                          updates              
libreport-plugin-logger.x86_64                   2.0.9-25.el6.centos                          updates              
libreport-plugin-mailx.x86_64                    2.0.9-25.el6.centos                          updates              
libreport-plugin-reportuploader.x86_64           2.0.9-25.el6.centos                          updates              
libreport-plugin-rhtsupport.x86_64               2.0.9-25.el6.centos                          updates              
libreport-python.x86_64                          2.0.9-25.el6.centos                          updates              
libselinux.x86_64                                2.0.94-5.8.el6                               base                 
libselinux-utils.x86_64                          2.0.94-5.8.el6                               base                 
libsemanage.x86_64                               2.0.43-5.1.el6                               base                 
libss.x86_64                                     1.41.12-22.el6                               base                 
libssh2.x86_64                                   1.4.2-2.el6_7.1                              updates              
libstdc++.x86_64                                 4.4.7-16.el6                                 base                 
libstdc++-devel.x86_64                           4.4.7-16.el6                                 base                 
libtar.x86_64                                    1.2.11-17.el6_4.1                            base                 
libtasn1.x86_64                                  2.3-6.el6_5                                  base                 
libtiff.x86_64                                   3.9.4-10.el6_5                               base                 
libudev.x86_64                                   147-2.63.el6_7.1                             updates              
libuser.x86_64                                   0.56.13-8.el6_7                              updates              
libuuid.x86_64                                   2.17.2-12.18.el6                             base                 
libuv.x86_64                                     1:0.10.34-1.el6                              epel                 
libxcb.x86_64                                    1.9.1-3.el6                                  base                 
libxml2.x86_64                                   2.7.6-20.el6_7.1                             updates              
libxml2-python.x86_64                            2.7.6-20.el6_7.1                             updates              
links.x86_64                                     1:2.8-4.el6                                  epel                 
lmdb-libs.x86_64                                 0.9.18-1.el6                                 epel                 
logrotate.x86_64                                 3.7.8-26.el6_7                               updates              
lsof.x86_64                                      4.82-5.el6                                   base                 
lvm2.x86_64                                      2.02.118-3.el6_7.4                           updates              
lvm2-libs.x86_64                                 2.02.118-3.el6_7.4                           updates              
mailx.x86_64                                     12.4-8.el6_6                                 base                 
man-pages-overrides.noarch                       6.7.5-1.el6                                  base                 
mcollective-common.noarch                        2.2.3-2.el6                                  epel                 
mdadm.x86_64                                     3.3.2-5.el6                                  base                 
microcode_ctl.x86_64                             1:1.17-20.el6                                base                 
mlocate.x86_64                                   0.22.2-6.el6                                 base                 
mod_wsgi.x86_64                                  3.2-7.el6                                    base                 
module-init-tools.x86_64                         3.9-25.el6                                   base                 
multitail.x86_64                                 6.2.1-1.el6                                  epel                 
mysql-libs.x86_64                                5.1.73-5.el6_7.1                             updates              
nc.x86_64                                        1.84-24.el6                                  base                 
ncurses.x86_64                                   5.7-4.20090207.el6                           base                 
ncurses-base.x86_64                              5.7-4.20090207.el6                           base                 
ncurses-libs.x86_64                              5.7-4.20090207.el6                           base                 
net-snmp.x86_64                                  1:5.5-54.el6_7.1                             updates              
net-snmp-libs.x86_64                             1:5.5-54.el6_7.1                             updates              
ngrep.x86_64                                     1.45-8.git20131221.16ba99a.el6               epel                 
nodejs.x86_64                                    0.10.42-4.el6                                epel                 
nspr.x86_64                                      4.11.0-0.1.el6_7                             updates              
nss.x86_64                                       3.21.0-0.3.el6_7                             updates              
nss-softokn.x86_64                               3.14.3-23.el6_7                              updates              
nss-softokn-freebl.i686                          3.14.3-23.el6_7                              updates              
nss-softokn-freebl.x86_64                        3.14.3-23.el6_7                              updates              
nss-sysinit.x86_64                               3.21.0-0.3.el6_7                             updates              
nss-tools.x86_64                                 3.21.0-0.3.el6_7                             updates              
nss-util.x86_64                                  3.21.0-0.3.el6_7                             updates              
nss_compat_ossl.x86_64                           0.9.6-2.el6_7                                updates              
ntp.x86_64                                       4.2.6p5-5.el6.centos.4                       updates              
ntpdate.x86_64                                   4.2.6p5-5.el6.centos.4                       updates              
ntsysv.x86_64                                    1.3.49.3-5.el6_7.2                           updates              
numactl.x86_64                                   2.0.9-2.el6                                  base                 
openldap.x86_64                                  2.4.40-7.el6_7                               updates              
openssh.x86_64                                   5.3p1-114.el6_7                              updates              
openssh-clients.x86_64                           5.3p1-114.el6_7                              updates              
openssh-server.x86_64                            5.3p1-114.el6_7                              updates              
openssl.x86_64                                   1.0.1e-42.el6_7.4                            updates              
openssl098e.x86_64                               0.9.8e-20.el6.centos.1                       updates              
pam.x86_64                                       1.1.1-20.el6_7.1                             updates              
pam_passwdqc.x86_64                              1.0.5-8.el6                                  base                 
pango.x86_64                                     1.28.1-10.el6                                base                 
parted.x86_64                                    2.1-29.el6                                   base                 
pciutils.x86_64                                  3.1.10-4.el6                                 base                 
pciutils-libs.x86_64                             3.1.10-4.el6                                 base                 
pcre.x86_64                                      7.8-7.el6                                    base                 
perf.x86_64                                      2.6.32-573.22.1.el6                          updates              
perl.x86_64                                      4:5.10.1-141.el6_7.1                         updates              
perl-Module-Pluggable.x86_64                     1:3.90-141.el6_7.1                           updates              
perl-Pod-Escapes.x86_64                          1:1.04-141.el6_7.1                           updates              
perl-Pod-Simple.x86_64                           1:3.13-141.el6_7.1                           updates              
perl-libs.x86_64                                 4:5.10.1-141.el6_7.1                         updates              
perl-version.x86_64                              3:0.77-141.el6_7.1                           updates              
php53.x86_64                                     5.3.29-ds1.el6                               repo-base          
php53-fpm.x86_64                                 5.3.29-ds1.el6                               repo-base          
pinentry.x86_64                                  0.7.6-8.el6                                  base                 
pixman.x86_64                                    0.32.4-4.el6                                 base                 
plymouth.x86_64                                  0.8.3-27.el6.centos.1                        base                 
plymouth-core-libs.x86_64                        0.8.3-27.el6.centos.1                        base                 
plymouth-scripts.x86_64                          0.8.3-27.el6.centos.1                        base                 
pm-utils.x86_64                                  1.2.5-11.el6                                 base                 
policycoreutils.x86_64                           2.0.83-24.el6                                base                 
polkit.x86_64                                    0.96-11.el6                                  base                 
postfix.x86_64                                   2:2.6.6-6.el6_7.1                            updates              
postgresql.x86_64                                8.4.20-5.el6_7                               updates              
postgresql-libs.x86_64                           8.4.20-5.el6_7                               updates              
prelink.x86_64                                   0.4.6-3.1.el6_4                              base                 
procps.x86_64                                    3.2.8-35.el6_7                               updates              
psmisc.x86_64                                    22.6-19.el6_5                                base                 
pulseaudio-libs.x86_64                           0.9.21-21.el6                                base                 
pyOpenSSL.x86_64                                 0.13.1-2.el6                                 base                 
python.x86_64                                    2.6.6-64.el6                                 base                 
python-argparse.noarch                           1.2.1-2.1.el6                                base                 
python-devel.x86_64                              2.6.6-64.el6                                 base                 
python-ethtool.x86_64                            0.6-5.el6                                    base                 
python-libs.x86_64                               2.6.6-64.el6                                 base                 
python-urlgrabber.noarch                         3.9.1-9.el6                                  base                 
python27-python-setuptools.noarch                16.0-1                                       repo-base-generic  
ql2400-firmware.noarch                           7.03.00-1.el6_5                              base                 
ql2500-firmware.noarch                           7.03.00-1.el6_5                              base                 
quota.x86_64                                     1:3.17-23.el6                                base                 
readahead.x86_64                                 1:1.5.6-2.el6                                base                 
rng-tools.x86_64                                 5-2.el6_7                                    updates              
rpm.x86_64                                       4.8.0-47.el6                                 base                 
rpm-libs.x86_64                                  4.8.0-47.el6                                 base                 
rpm-python.x86_64                                4.8.0-47.el6                                 base                 
rsync.x86_64                                     3.0.6-12.el6                                 base                 
rsyslog.x86_64                                   5.8.10-10.el6_6                              base                 
ruby.x86_64                                      1.8.7.374-4.el6_6                            base                 
ruby-devel.x86_64                                1.8.7.374-4.el6_6                            base                 
ruby-irb.x86_64                                  1.8.7.374-4.el6_6                            base                 
ruby-libs.x86_64                                 1.8.7.374-4.el6_6                            base                 
ruby-rdoc.x86_64                                 1.8.7.374-4.el6_6                            base                 
scl-utils.x86_64                                 20120927-27.el6_6                            base                 
screen.x86_64                                    4.0.3-18.el6                                 base                 
selinux-policy.noarch                            3.7.19-279.el6_7.8                           updates              
selinux-policy-targeted.noarch                   3.7.19-279.el6_7.8                           updates              
setup.noarch                                     2.8.14-20.el6_4.1                            base                 
setuptool.x86_64                                 1.19.9-4.el6                                 base                 
sg3_utils-libs.x86_64                            1.28-10.el6_7                                updates              
shadow-utils.x86_64                              2:4.1.4.2-19.el6_6.1                         base                 
sos.noarch                                       3.2-28.el6.centos.2                          updates              
sqlite.x86_64                                    3.6.20-1.el6_7.2                             updates              
strace.x86_64                                    4.8-10.el6                                   base                 
sudo.x86_64                                      1.8.6p3-20.el6_7                             updates              
supermann.noarch                                 1:3.0.1-ds1.el6                              repo-base-generic  
supervisor.noarch                                3.0-5.el6                                    repo-base          
supervisor-scripts.noarch                        1.1.1-1                                      repo-base-generic  
sysstat.x86_64                                   9.0.4-27.el6                                 base                 
system-config-firewall-base.noarch               1.2.27-7.2.el6_6                             base                 
system-config-firewall-tui.noarch                1.2.27-7.2.el6_6                             base                 
systemtap-runtime.x86_64                         2.7-2.el6                                    base                 
sysvinit-tools.x86_64                            2.87-6.dsf.el6                               base                 
tar.x86_64                                       2:1.23-13.el6                                base                 
tcpdump.x86_64                                   14:4.0.0-5.20090921gitdf3cb4.2.el6           base                 
tcsh.x86_64                                      6.17-25.el6_6                                base                 
telnet.x86_64                                    1:0.17-48.el6                                base                 
time.x86_64                                      1.7-38.el6                                   base                 
tmpwatch.x86_64                                  2.9.16-5.el6_7                               updates              
tzdata.noarch                                    2016c-1.el6                                  updates              
tzdata-java.noarch                               2016c-1.el6                                  updates              
udev.x86_64                                      147-2.63.el6_7.1                             updates              
unixODBC.x86_64                                  2.2.14-14.el6                                base                 
unzip.x86_64                                     6.0-2.el6_6                                  base                 
upstart.x86_64                                   0.6.5-13.el6_5.3                             base                 
util-linux-ng.x86_64                             2.17.2-12.18.el6                             base                 
v8.x86_64                                        1:3.14.5.10-17.el6                           epel                 
vim-common.x86_64                                2:7.4.629-5.el6                              base                 
vim-enhanced.x86_64                              2:7.4.629-5.el6                              base                 
vim-minimal.x86_64                               2:7.4.629-5.el6                              base                 
wget.x86_64                                      1.12-5.el6_6.1                               base                 
wireless-tools.x86_64                            1:29-6.el6                                   base                 
xmlrpc-c.x86_64                                  1.16.24-1210.1840.el6                        base                 
xmlrpc-c-client.x86_64                           1.16.24-1210.1840.el6                        base                 
xorg-x11-drv-ati-firmware.noarch                 7.5.99-3.el6                                 base                 
xz.x86_64                                        4.999.9-0.5.beta.20091007git.el6             base                 
xz-libs.x86_64                                   4.999.9-0.5.beta.20091007git.el6             base                 
xz-lzma-compat.x86_64                            4.999.9-0.5.beta.20091007git.el6             base                 
yum.noarch                                       3.2.29-69.el6.centos                         base                 
yum-plugin-fastestmirror.noarch                  1.1.30-30.el6                                base                 
yum-plugin-security.noarch                       1.1.30-30.el6                                base                 
yum-utils.noarch                                 1.1.30-30.el6                                base                 
zeromq3.x86_64                                   3.2.5-1.el6                                  epel                 
zip.x86_64                                       3.0-1.el6_7.1                                updates              
zsh.x86_64                                       4.3.11-4.el6.centos.2                        updates              
Obsoleting Packages
Percona-Server-shared-51.x86_64                  5.1.63-rel13.4.443.rhel6                     repo-base          
    mysql-libs.x86_64                            5.1.66-2.el6_3                               @CentOS/6.4

@kotakanbe
Copy link
Member

Thanks @AlessioMartorelli

There is one more thing that I want to ask.
Would you paste the result of following command?

rpm -qa --queryformat '%{NAME}\t%{VERSION}\t%{RELEASE}\n' | grep Percona-Server-shared

@kotakanbe kotakanbe added the bug label Apr 18, 2016
@amartorelli
Copy link
Author

$ rpm -qa --queryformat '%{NAME}\t%{VERSION}\t%{RELEASE}\n' | grep Percona-Server-shared Percona-Server-shared-56 5.6.19 rel67.0.el6

Thanks

@trocster
Copy link

trocster commented Apr 19, 2016

ugly but works, edit redhat.go as below, and "go build github.com/future-architect/vuls" did the trick for me.

diff --git a/scan/redhat.go b/scan/redhat.go
index 97042d7..6f6245f 100644
--- a/scan/redhat.go
+++ b/scan/redhat.go
@@ -504,7 +504,7 @@ func (o *redhat) scanUnsecurePackagesUsingYumPluginSecurity() (CvePacksList, err
        advIDPackNamesList, err := o.parseYumUpdateinfoListAvailable(r.Stdout)

        // get package name, version, rel to be upgrade.
-       cmd = "yum check-update --security"
+       cmd = "yum check-update --security | sed '/Obsoleting/,$d'"
        r = o.ssh(util.PrependProxyEnv(cmd), sudo)
        if !r.isSuccess(0, 100) {
                //returns an exit code of 100 if there are available updates.```

@kotakanbe
Copy link
Member

kotakanbe commented Apr 20, 2016

Hi @AlessioMartorelli
Sorry for late reply.
I fixed the problem.
I want to test but it is difficult to test in the same environment as your server.
So, Would you execute following command on your environment?
If testing on your environment is successful , I 'm going to merge to master.

$ go get -u github.com/future-architect/vuls
$ go get -u github.com/kotakanbe/go-cve-dictionary

$ go-cve-dictionary  server

$ cd $GOPATH/src/github.com/future-architect/vuls/
$ git checkout -b fix_parse_yum_check_update origin/fix_parse_yum_check_update
$ cd $HOME
$ go build github.com/future-architect/vuls
$ ls -alh vuls
-rwxrwxr-x 1 ec2-user ec2-user 18M  4月 20 00:30 vuls
$ ./vuls scan -config=$PWD/config.toml

Hi @trocster
Thanks. The bug was fixed. ( see #30 )
Please update vuls and go-cve-dictionary.

$ go get -u github.com/future-architect/vuls
$ go get -u github.com/kotakanbe/go-cve-dictionary

@kotakanbe
Copy link
Member

kotakanbe commented Apr 21, 2016

Hi, @AlessioMartorelli

Merged to master.
Please test on master branch, if you have time.

$ go get -u github.com/kotakanbe/go-cve-dictionary
$ go get -u github.com/future-architect/vuls

Thanks.

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

3 participants