Your message dated Wed, 6 Jul 2011 09:16:57 +0200
with message-id <20110706071656.GA4978@hoothoot>
and subject line Re: tzdata: fails to install when setting debconf values 
beforehand
has caused the Debian Bug report #632720,
regarding tzdata: fails to install when setting debconf values beforehand
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
632720: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632720
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tzdata
Version: 2011h-3
Severity: normal

Hi,

this problem was present since 2011h-1 and while I can install tzdata
again since bug #631878 is fixed, I still get the exact same error as
described in that bug report when using debconf-set-selections before
package installation:

Setting up tzdata (2011h-3) ...
dpkg: error processing tzdata (--configure):
 subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
 tzdata

This is how to reproduce the problem:

$ sudo multistrap -f multistrap.conf

multistrap.conf:
-%<--------------------------------------
[General]
arch=
directory=debian-sid-multistrap
cleanup=true
debootstrap=Debian
aptsources=Debian
debconfseed=tzdata.debconf

[Debian]
packages=apt
source=http://cdn.debian.net/debian
keyring=debian-archive-keyring
suite=sid
->%--------------------------------------

tzdata.debconf:
-%<--------------------------------------
tzdata  tzdata/Zones/Europe     select  Berlin
tzdata  tzdata/Areas    select  Europe
->%--------------------------------------

To not encounter the problem, either comment the debconfseed line in
multistrap.conf or the lines in tzdata.debconf. Multistrap will run fine
then.

cheers, josch



--- End Message ---
--- Begin Message ---
Hi,

Indeed the problem seems to have been to only supply those two lines to
debconf-set-selections:

> tzdata.debconf:
> -%<--------------------------------------
> tzdata  tzdata/Zones/Europe     select  Berlin
> tzdata  tzdata/Areas    select  Europe
> ->%--------------------------------------

When putting everything that `debconf-get-selection | grep tzdata`
outputs into that file, it will work.

tzdata.debconf:
-%<--------------------------------------
tzdata  tzdata/Zones/Australia  select  
tzdata  tzdata/Zones/US select  
tzdata  tzdata/Zones/Asia       select  
tzdata  tzdata/Zones/Etc        select  UTC
tzdata  tzdata/Zones/SystemV    select  
tzdata  tzdata/Zones/Arctic     select  
tzdata  tzdata/Zones/Pacific    select  
tzdata  tzdata/Zones/Antarctica select  
tzdata  tzdata/Zones/Europe     select  Berlin
tzdata  tzdata/Zones/Africa     select  
tzdata  tzdata/Zones/America    select  
tzdata  tzdata/Areas    select  Europe
tzdata  tzdata/Zones/Atlantic   select  
tzdata  tzdata/Zones/Indian     select  
->%--------------------------------------

It was working with only supplying those two lines before tzdata 2011h-1
but that those additional lines are needed now is of course not a bug.
So I think I can close this one. Sorry for the trouble.

cheers, josch


--- End Message ---

Reply via email to