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

"sudo: no tty present and no askpass program specified" when installing java using cask #8

Open
andriantolie opened this issue Jul 10, 2014 · 2 comments

Comments

@andriantolie
Copy link

When I tried to run kitchenplan for the first time on a new unconfigured Macbook, it always gives an error "sudo: no tty present and no askpass program specified" when it reaches the line where it install java via homebrewalt cask. There isn't any problem when I tried to run kitchenplan provision on the second time though. Anyone has the same issue here?

@roderik
Copy link
Member

roderik commented Jul 10, 2014

Yes, the java installer from home brew cask requires sudo, and by the time it gets there in the first run your sudo session has expired. The second time it's much faster so the session is still active.

I need to look in to it further

@mAAdhaTTah
Copy link

There is a ticket open at homebrew-cask.

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

3 participants