When I install this:
sudo apt-get install -y sun-java6-bin sun-java6-jdk sun-java6-jre sun-java6-plugin
I am still forced to select OK and YES during the install.
The -y switch doesn't work for this.
Is there a way to do this automatically?
Create a file containing this line (columns separated by a tab):
sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true
Import this into debconf with sudo debconf-set-selections < file.
sudo debconf-set-selections < file
Install the packages
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
2 years ago