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

yum check-update error occurred when no reboot after kernel updating #165

Closed
pabroff opened this issue Sep 5, 2016 · 2 comments
Closed
Labels

Comments

@pabroff
Copy link

pabroff commented Sep 5, 2016

If you only yum update Kernel, become a blank line is 3 or more columns to fail parse.

@kotakanbe
Copy link
Member

Thanks for reporting :)

@kotakanbe
Copy link
Member

kotakanbe commented Sep 6, 2016

Memo: How to reproduce the issue.

Amazon Linux, RHEL

$ sudo yum update --security
$ LANG=en_US.UTF-8 yum --color=never check-update
....

aws-cfn-bootstrap.noarch  1.4-11.6.amzn1      amzn-updates
.....
Security: kernel-4.4.19-29.55.amzn1.x86_64 is an installed security update
Security: kernel-4.1.10-17.31.amzn1.x86_64 is the currently running version
  • vuls
[Sep  6 09:43:49] ERROR [ama1] Failed to scan vulnerable packages
[Sep  6 09:43:49] ERROR [localhost] Failed to scan. err: ec2-user@**.**.**.**: Failed to parse LANG=en_US.UTF-8 yum --color=never check-update. err: Unknown format: Security: kernel-4.4.19-29.55.amzn1.x86_64 is an installed security update

CentOS

works fine

@kotakanbe kotakanbe added the bug label Sep 6, 2016
@kotakanbe kotakanbe changed the title If the blank line of three or more lines "yum check-update" to fail . yum check-update error occurred when no reboot after kernel updating Sep 6, 2016
kotakanbe added a commit that referenced this issue Sep 6, 2016
Fix parse Error for yum check-update #165
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

2 participants