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

Set DEBIAN_FRONTEND=noninteractive for unsafe-yes #4735

Merged
merged 1 commit into from
Jun 30, 2021

Conversation

dra27
Copy link
Member

@dra27 dra27 commented Jun 29, 2021

--confirm-level=unsafe-yes and "closing stdin" are opam's two non-interactive mechanisms. The latter works correctly with depext (since the package manager will never be invoked) but the former breaks for apt if a package has a prompt.

This PR adds DEBIAN_FRONTEND=noninteractive to calls to apt-get install.

@dra27 dra27 added this to PR in Progress in Opam 2.1.x via automation Jun 29, 2021
Opam 2.1.x automation moved this from PR in Progress to PR Finalised Jun 29, 2021
@rjbou rjbou added this to PR in progress in Opam 2.2.0 via automation Jun 30, 2021
@rjbou rjbou added this to the 2.1.0 milestone Jun 30, 2021
@rjbou rjbou merged commit 7227e67 into ocaml:master Jun 30, 2021
Opam 2.1.x automation moved this from PR Finalised to Done Jun 30, 2021
Opam 2.2.0 automation moved this from PR in progress to Done Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Opam 2.1.x
  
Done
Opam 2.2.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants