[PVE-User] Debconf in DAB
Dietmar Maurer
dietmar at proxmox.com
Tue May 19 11:22:57 CEST 2009
The preinst script wants to present/accept a license. But the script does:
db_get shared/accepted-$license
if [ "$RET" = "true" ]; then
echo "$license license has already been accepted" >&2
exit 0
fi
So all you need to do is to set the correct debconf value in the database.
see "man debconf-set-selections"
- Dietmar
> -----Original Message-----
> From: pve-user-bounces at pve.proxmox.com [mailto:pve-user-
> bounces at pve.proxmox.com] On Behalf Of Kévin Polygone
> Sent: Dienstag, 19. Mai 2009 10:31
> To: Pve List
> Subject: [PVE-User] Debconf in DAB
>
> Hi
>
> We use DAB to create our templates. We would like to install
> sun-java5-jre package and in logfile we have the following error:
>
> sun-dlj-v1-1 license could not be presented
> try 'dpkg-reconfigure debconf' to select a frontend other than
> noninteractive => We have to enter in CT to do this ?
>
> We tried to change value in /usr/lib/dab/scripts/defenv
>
> export DEBIAN_FRONTEND="noninteractive"
> export DEBCONF_NONINTERACTIVE_SEEN="true"
>
> No success...
>
> Can you help us ?
>
> Kévin
>
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
More information about the pve-user
mailing list