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

Re: How to preconfigure debconf values?



Op 22-12-2007 om 15:55 schreef Josef Wolf:
 <snip/>
> Thanks for the hint, Geert!

 :-)

> From debconf-set-selections manpage I deduce that the correct format
> would be
> 
> tzdata time/zone string Europe/Berlin
> 
> This seems to be correct, since debconf-get-selections returns this
> value.  But it don't actually work.  The timezone is still not set
> and "dpkg-reconfigure tzdata" still asks its questions.
> 
> What am I messing up here?

You _might_ be missing setting the seen flag.
So in the next attempt:

echo 'tzdata time/zone string Europe/Berlin
tzdata time/zone seen true' | \
sudo chroot etch/target debconf-set-selections           
apt-get install tzdata


Cheers
Geert Stappers


Reply to: