Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can absolutely programmatically have apt make arbitrary selections like this with debconf.

debconf-set-selections is your friend.



yes | apt install whatever could work too.


or just apt -y


Not sure that would work in this case, `apt -y` would tell apt to skip confirmations, packages can still do their own confirmation. Also, NONINTERACTIVE=true (or what it is) I don't think would have worked either, as Oracle famously do their own thing.


It just worked great with the apt packages to install Oracle Java 7 and 8 (when that packages worked...)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: