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

vuls prepare doesn't work on Debian host due to apt-get confirmation prompt #251

Closed
Code0x58 opened this issue Nov 11, 2016 · 2 comments
Closed

Comments

@Code0x58
Copy link
Contributor

Code0x58 commented Nov 11, 2016

vuls prepare won't actually install aptitude on a Debain host as it will get tripped up by a confirmation prompt.

This can be fixed by either adding DEBIAN_FRONTEND=noninteractive to the call environment, or simply adding a -y flag.

This is true for e40ef65 which is in the latest vuls/vuls Docker image.

kotakanbe added a commit that referenced this issue Nov 13, 2016
Fix non-interactive `apt-get install` #251
@kotakanbe
Copy link
Member

Thanks.
merged.

@Code0x58
Copy link
Contributor Author

I realise that I went in completely the wrong direction as I didn't properly read the log output. Looking at it, I think the problem was that stdin wasn't available to read a response.

The -y is still needed to install packages though (unless all dependencies are met), so the path is still good.

I have make another issue to address what I actually encountered #260

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants