On Sat, Dec 22, 2007 at 01:26:40PM +0100, Geert Stappers wrote: > Op 22-12-2007 om 12:19 schreef Josef Wolf:
> > That was almost straight-forward so far. But now I'm somewhat stuck. > > I'd like to preconfigure debconf. Something like > > > > debconf-preconfigure time/zone Europe/Berlin > > apt-get install tzdata > > > > But I just can't figure out from debconf documentation how to do that. > > The closest I could find is dpkg-preconfigure. But this requires to > > download the packages before letting them to be preconfigured. I'd > > rather have something like the d-i preseed mechanism. > > > > Any hints? > > echo 'tzdata time/zone Europe/Berlin' | \ > sudo chroot etch/target debconf-set-selections > apt-get install tzdata > > Geert Stappers, > just providing a hint (meaning it is not tested ... ) 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? BTW: Maybe someone with commit access can add a reference to debconf-set-selections into the "SEE ALSO" section of debconf's manpage? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]