[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Installing Sun Java in debian-live: license problems



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 at lists.alioth.debian.org
>>http://lists.alioth.debian.org/mailman/listinfo/debian-live-deve
>>
>l
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>debian-live-devel mailing list
>debian-live-devel at lists.alioth.debian.org
>http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Antonio.Amorim.vcf
Type: text/x-vcard
Size: 374 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-live-devel/attachments/20071105/fedb7215/attachment.vcf 


Reply to: