Debian Bug report logs - #632720
tzdata: fails to install when setting debconf values beforehand

version graph

Package: tzdata; Maintainer for tzdata is GNU Libc Maintainers <debian-glibc@lists.debian.org>; Source for tzdata is src:tzdata.

Reported by: Johannes Schauer <j.schauer@email.de>

Date: Tue, 5 Jul 2011 10:42:02 UTC

Severity: normal

Found in version tzdata/2011h-3

Done: Johannes Schauer <j.schauer@email.de>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#632720; Package tzdata. (Tue, 05 Jul 2011 10:42:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Johannes Schauer <j.schauer@email.de>:
New Bug report received and forwarded. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (Tue, 05 Jul 2011 10:42:15 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Johannes Schauer <j.schauer@email.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: tzdata: fails to install when setting debconf values beforehand
Date: Tue, 05 Jul 2011 12:39:31 +0200
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




Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#632720; Package tzdata. (Tue, 05 Jul 2011 21:16:50 GMT) Full text and rfc822 format available.

Acknowledgement sent to Aurelien Jarno <aurelien@aurel32.net>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (Tue, 05 Jul 2011 21:16:59 GMT) Full text and rfc822 format available.

Message #10 received at 632720@bugs.debian.org (full text, mbox):

From: Aurelien Jarno <aurelien@aurel32.net>
To: Johannes Schauer <j.schauer@email.de>, 632720@bugs.debian.org
Subject: Re: Bug#632720: tzdata: fails to install when setting debconf values beforehand
Date: Tue, 5 Jul 2011 23:04:56 +0200
On Tue, Jul 05, 2011 at 12:39:31PM +0200, Johannes Schauer wrote:
> 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.

The other option is to not use spaces between "Berlin" or "Europe". With
your current file, the preseeded values are " Berlin" and " Europe", 
which of course are not known to tzdata.

It doesn't seems to be a tzdata problem, it's either a problem in your
preseeding file or in multistrap.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net




Reply sent to Johannes Schauer <j.schauer@email.de>:
You have taken responsibility. (Wed, 06 Jul 2011 07:21:09 GMT) Full text and rfc822 format available.

Notification sent to Johannes Schauer <j.schauer@email.de>:
Bug acknowledged by developer. (Wed, 06 Jul 2011 07:21:09 GMT) Full text and rfc822 format available.

Message #15 received at 632720-done@bugs.debian.org (full text, mbox):

From: Johannes Schauer <j.schauer@email.de>
To: 632720-done@bugs.debian.org
Subject: Re: tzdata: fails to install when setting debconf values beforehand
Date: Wed, 6 Jul 2011 09:16:57 +0200
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




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 03 Aug 2011 07:32:25 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 23:17:53 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.