|
|||||||||||
|
Re: How to preconfigure debconf values?
From: Josef Wolf <jw(at)raven.inka.de>
Date: Mon Dec 24 2007 - 07:31:21 EST
Yes, I understand. But as tzdata is installed by debootstrap, there's no way to preseed it before installation. > Reinstalling the package _without_ purging it could work. Without purging, the tzdata/Zones/Etc value is left in place, so reinstalling still don't get the preseeded value. With purging, it gets even more wired:
# DEBIAN_FRONTEND=noninteractive apt-get remove --purge -y --force-yes tzdata
Reading package lists... Done
I still don't get in completely non-interactive :-/ In addition, please note the broken prompt. And I am not entirely sure I really want all of those packages to be removed. But I'm curious, so I go ahead: # debconf-show tzdata # debconf-set-selections /etc/preseed # debconf-show tzdata
OK, tzdata/Zones/Etc is finally gone and here are my desired values. But there's still no luck:
# apt-get install tzdata
User defined timezone, leaving /etc/localtime unchanged. Local time is now: Mon Dec 24 12:27:47 UTC 2007. Universal Time is now: Mon Dec 24 12:27:47 UTC 2007. Run 'dpkg-reconfigure tzdata' if you wish to change it. My settings are simply ignored... > P.S. Do we need to keep CCing you, or are you subscribed to the list? I am subscribed. But I am still not sure whether debootstrap and debconf are ontopic on this list or whether this list is for d-i only. -- To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Mon Dec 24 07:40:33 2007 This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 03:52:30 EDT |
||||||||||
|
|||||||||||