Dear Trent,
I just use the preseed:

sun-java6-bin   shared/accepted-sun-dlj-v1-1    boolean true

and it works very nice just including the package in the package list.


All the best,
Antonio Amorim

Trent W. Buck escreveu:

On Sat, Nov 03, 2007 at 08:10:55PM -0400, Will Murnane wrote:
I'd like to install the sun-java6-jre package and its dependencies in
my debian-live image.  However, when I try to include it in my
configuration (--packages "... sun-java6-jre") I get an error saying I
haven't accepted the license yet.  Where is this acceptance stored?  I
did figure out how to force the packages to be installed, in a rather
messy way:

$ cat config/chroot_local-hooks/install-java.sh
. /usr/share/debconf/confmodule
db_set shared/accepted-sun-dlj-v1-1 true

Why not just use debconf-set-selections here?

apt-get install -y sun-java6-jre
apt-get clean

and here's the error I receive, whether the script is there or not:
Unpacking sun-java6-bin (from .../sun-java6-bin_6-00-2_i386.deb) ...

sun-dlj-v1-1 license could not be presented
try 'dpkg-reconfigure debconf' to select a frontend other than noninteractive

dpkg: error processing
/var/cache/apt/archives/sun-java6-bin_6-00-2_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 2

How should I go about this in a cleaner way?  Perhaps d-l should use
the "accepted licenses list" of the build machine?

Thanks!
Will

_______________________________________________
debian-live-devel mailing list
debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-deve

l
------------------------------------------------------------------------

_______________________________________________
debian-live-devel mailing list
debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel


begin:vcard
fn:Antonio Amorim
n:Amorim;Antonio
org:Universidade de Lisboa e SIM/IDL
adr;quoted-printable:;; Campo Grande, Edif=C3=ADcio C8;Lisboa;;;Portugal
email;internet:[EMAIL PROTECTED]
title:Prof.
tel;work:+(351)217500887
tel;fax:+(351)217500977
tel;home:+(351)218521143
x-mozilla-html:FALSE
url:http://sim.fc.ul.pt/sim_en/User:Aamorim
version:2.1
end:vcard

_______________________________________________
debian-live-devel mailing list
debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

Reply via email to