using expect with sun-java6-jre package

Colin Law clanlaw at googlemail.com
Tue Jul 14 20:32:37 UTC 2009


2009/7/9 Soren Orel <soren.orel at gmail.com>:
> I know, I could automate "ascii based" things, but what about e.g.:
>
> apt-get install sun-java6-jre
>
> install? I mean It wants me to agree with a license, and then I have to hit
> enter, yes, etc..
>
> could there be a way to make sun-java6-jre install automaticly, without user
> interaction?
>

The whole point about having to accept a license is so that you are
then legally required to obey the terms of the license.  If there is a
way of installing without accepting the license then I imagine Sun
would be very unhappy and would rapidly move to fill the hole.

Colin




More information about the ubuntu-users mailing list