-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Ubuntu failed to scan vulnerable packages #205
Comments
Also on the cli this is the final error message. [Oct 6 14:27:33] ERROR [localhost] Failed to scan. err: user@x.x.x.x:22: Failed to scan upgradable packages |
Bug is in the stopline regex. I have a bunch of servers on different apt versions. The output is slightly different on the stop line. so on a kali linux VM that i had lying around it has version 1.3 of apt and that works fine and finds the stop line. Using an LTS version of ubuntu on 14.04 & 16.04 they both failed because the versions of apt are different and the stop line outputs slightly differently.
Above is a working regex for myself. because the output looks like this for example
I think more recent versions of apt output like this.
|
I will put a pull request in for a fix with older versions of apt. Cheers |
Thanks:) |
I tried to reproduce the bug, but I couldn't.
|
Has anyone run into the same problem? |
|
Thanks. |
|
Hi, @william20111 I can not reproduce the bug... So, I will promote the work in the test code. |
Thanks. Yes this is very confusing. Im going to test multiple apt releases to figure out why this is happening.... |
I have same problem.
vuls prepare output here
vuls scan output here
|
oh, sorry...
then change shell to bash, works fine.
works fine. Thanks. |
@wnoguchi |
@kotakanbe Thanks! |
Please try v0.4.0. |
I have tested on both 16.04 and 14.04 with the same results. I can provide any other information required.
Cheers
Will
The text was updated successfully, but these errors were encountered: