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

Env/deps does not respect non-interactive mode #3065

Closed
mkowalski opened this issue Aug 30, 2019 · 1 comment
Closed

Env/deps does not respect non-interactive mode #3065

mkowalski opened this issue Aug 30, 2019 · 1 comment
Assignees
Labels
i/needs investigation Issues/proposals that need to be confirmed/explored

Comments

@mkowalski
Copy link

As an operator I want to have a possibility to perform a fully non-interactive installation of SCION and it's dependencies. Currently one of the steps is running ./env/deps script. This one requires an admin interaction as in the session below

scionlab@scionlab-1107-einstein:~/go/src/github.com/scionproto/scion$ ./env/deps 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libsodium18 python3-cffi python3-cffi-backend python3-cryptography python3-idna python3-ply python3-pyasn1
  python3-pycparser
Suggested packages:
  python-cryptography-doc python3-cryptography-vectors python-nacl-doc python-openssl-doc python3-openssl-dbg python-ply-doc
  doc-base
The following NEW packages will be installed:
  libsodium18 python3-cffi python3-cffi-backend python3-cryptography python3-idna python3-nacl python3-openssl python3-ply
  python3-pyasn1 python3-pycparser
0 upgraded, 10 newly installed, 0 to remove and 109 not upgraded.
Need to get 736 kB of archives.
After this operation, 4,210 kB of additional disk space will be used.
Do you want to continue? [Y/n] 

As a result, installation or upgrade of SCION requires a manual interaction what is not a desired behaviour when performing the action in >1 machine.

mkowalski added a commit to mkowalski/scion that referenced this issue Aug 30, 2019
Currently apt-get will require a user confirmation if there are changes to be applied. This change makes apt-get assume "yes" as an answer to all the prompts.

Closes-bug: scionproto#3065
@scrye scrye added the i/needs investigation Issues/proposals that need to be confirmed/explored label Aug 30, 2019
@kormat
Copy link
Contributor

kormat commented Aug 30, 2019

The recommend approach for this is to do APTARGS=-y ./env/deps, which is already supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i/needs investigation Issues/proposals that need to be confirmed/explored
Projects
None yet
Development

No branches or pull requests

3 participants