Automatically "Accept this solution" when there are unmet dependencies during installation - Ask Ubuntu
is there way automatically accept suggested solution when installing packages apt-get
? playing around vagrant , trying automate installing libraries shell script runs after provisioning.
occasionally packages need little in order install properly. example, might see message below:
==> default: following actions resolve these dependencies: ==> default: ==> default: remove following packages: ==> default: 1) libcurl4-openssl-dev ==> default: 2) libssl-dev ==> default: 3) node-gyp ==> default: 4) nodejs-dev ==> default: 5) npm ==> default: ==> default: ==> default: ==> default: accept solution? [y/n/q/?]
installation halts right here (or aborts) because can't interact it.
i know can use apt-get install -y whatever
automatically answer yes messages asking if want continue, doesn't seem affect prompts these.
Comments
Post a Comment