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

Bug#602569: package refuses to configure when in a custom time zone



Package: tzdata
Version: 2010m-1
Severity: normal

On this system, /usr/share/zoneinfo/JEST exists, and /etc/timezone
uses it and works fine, but it breaks upgrades of tzdata.

root@gnu:/usr/share/zoneinfo>DEBCONF_DEBUG=developer /var/lib/dpkg/info/tzdata.config 
debconf (developer): frontend started
debconf (developer): Trying to find a templates file..
debconf (developer): Trying /var/lib/dpkg/info/tzdata.config.templates
debconf (developer): Trying /var/lib/dpkg/info/tzdata.templates
debconf (developer): I guess it is /var/lib/dpkg/info/tzdata.templates
debconf (developer): frontend running, package name is 
debconf (developer): starting /var/lib/dpkg/info/tzdata.config
debconf (developer): <-- VERSION 2.0
debconf (developer): --> 0 2.0
debconf (developer): <-- CAPB backup
debconf (developer): --> 0 multiselect escape backup
debconf (developer): <-- FSET tzdata/Areas seen true
debconf (developer): --> 0 true
debconf (developer): <-- FSET tzdata/Zones/JEST seen true
debconf (developer): --> 10 tzdata/Zones/JEST doesn't exist
zsh: exit 10    DEBCONF_DEBUG=developer /var/lib/dpkg/info/tzdata.config

When using dpkg-reconfigure tzdata, it fails a little later:

debconf (developer): <-- VERSION 2.0
debconf (developer): --> 0 2.0
debconf (developer): <-- CAPB backup
debconf (developer): --> 0 multiselect escape backup
debconf (developer): <-- SET tzdata/Areas JEST
debconf (developer): --> 0 value set
debconf (developer): <-- SET tzdata/Zones/JEST JEST
debconf (developer): --> 10 tzdata/Zones/JEST doesn't exist

I think it would be reasonable to have the config script
(and postinst) simply bail out without doing anything if a
template does not exist for the system's configured
time zone.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tzdata depends on:
ii  debconf [debconf-2.0]         1.5.36     Debian configuration management sy

tzdata recommends no packages.

tzdata suggests no packages.

-- debconf information:
  tzdata/Zones/Australia:
  tzdata/Zones/Asia:
  tzdata/Zones/SystemV:
  tzdata/Zones/Pacific:
  tzdata/Zones/Atlantic:
  tzdata/Zones/US:
* tzdata/Zones/Etc: UTC
  tzdata/Zones/Arctic:
  tzdata/Zones/Antarctica:
  tzdata/Zones/Europe:
  tzdata/Zones/Africa:
* tzdata/Zones/America: New_York
* tzdata/Areas: America
  tzdata/Zones/Indian:

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: