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

Bug#427584: marked as done (tzdata fails to configure if /etc/localtime is missing)



Your message dated Tue, 19 Jun 2007 10:17:07 +0000
with message-id <E1I0aln-0002Y3-Pq@ries.debian.org>
and subject line Bug#427584: fixed in tzdata 2007f-9
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: tzdata
Version: 2007f-8
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

schwan:~# rm /etc/localtime 
schwan:~# apt-get --reinstall install tzdata
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0B/386kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? 
Preconfiguring packages ...
tzdata failed to preconfigure, with exit status 10
(Reading database ... 7179 files and directories currently installed.)
Preparing to replace tzdata 2007f-8 (using .../tzdata_2007f-8_all.deb) ...
Unpacking replacement tzdata ...
Setting up tzdata (2007f-8) ...
dpkg: error processing tzdata (--configure):
 subprocess post-installation script returned error exit status 10
Errors were encountered while processing:
 tzdata
E: Sub-process /usr/bin/dpkg returned an error code (1)
schwan:~# 

The bug is in the debconf config script, which is using TZ_LOCALTIME when it
can not been set to set AREA and ZONE. It should use TZ_TIMEZONE instead. See
attached patch.

    Ingo

- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (800, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-rc3-schwan20070526
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

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

tzdata recommends no packages.

- -- debconf information excluded

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGZMzk4XrXtQkN2NURAvFvAKCIahvV3ViOQ/MfGvacl5g0CeTeQACgtNZg
xbcHyAD/R0fStrzlmptFbXQ=
=xq1j
-----END PGP SIGNATURE-----
diff -Ndurp tzdata-2007f.orig/debian/config tzdata-2007f/debian/config
--- tzdata-2007f.orig/debian/config	2007-06-05 04:35:26.000000000 +0200
+++ tzdata-2007f/debian/config	2007-06-05 04:36:18.433546583 +0200
@@ -341,8 +341,8 @@ fi
 # The timezone has never been configured or is falsely configured
 if ! [ -e /etc/localtime ] ; then
     if [ -n "$TZ_TIMEZONE" ] ; then
-        AREA="${TZ_LOCALTIME%%/*}"
-        ZONE="${TZ_LOCALTIME#*/}"
+        AREA="${TZ_TIMEZONE%%/*}"
+        ZONE="${TZ_TIMEZONE#*/}"
     else
         AREA="Etc"
 	ZONE="UTC"

--- End Message ---
--- Begin Message ---
Source: tzdata
Source-Version: 2007f-9

We believe that the bug you reported is fixed in the latest version of
tzdata, which is due to be installed in the Debian FTP archive:

tzdata_2007f-9.diff.gz
  to pool/main/t/tzdata/tzdata_2007f-9.diff.gz
tzdata_2007f-9.dsc
  to pool/main/t/tzdata/tzdata_2007f-9.dsc
tzdata_2007f-9_all.deb
  to pool/main/t/tzdata/tzdata_2007f-9_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 427584@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Clint Adams <schizo@debian.org> (supplier of updated tzdata package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 19 Jun 2007 05:52:15 -0400
Source: tzdata
Binary: tzdata
Architecture: source all
Version: 2007f-9
Distribution: unstable
Urgency: low
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Clint Adams <schizo@debian.org>
Description: 
 tzdata     - time zone and daylight-saving time data
Closes: 427504 427584 427733 429414
Changes: 
 tzdata (2007f-9) unstable; urgency=low
 .
   * debian/po/wo.po: update from M Mamoune Mbacke.  closes: #427504.
   * debian/config: patch form Ingo Saitz to fix handling of
     cases where /etc/localtime is missing.  closes: #427584.
   * debian/po/vi.po: update from Clytie Siddall.
   * debian/po/fr.po: update from Christian Perrier.  closes: #427733.
   * New Spanish debconf translation from Rudy Godoy Guillén.
     closes: #429414.
Files: 
 278deb23002384a0d1deea24fcc39739 896 libs required tzdata_2007f-9.dsc
 35266830d7051d807221af183eeefcf0 181698 libs required tzdata_2007f-9.diff.gz
 f8753af7c8ea327f508f80543fdbaa77 388240 libs required tzdata_2007f-9_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Debian!

iD8DBQFGd6kc5m0u66uWM3ARAt8pAKCQLN/3c5rVWyuhYbpOIuYwdDDR8QCfQlVp
DpJNkEeDE5MsS7NR2M7r4Vw=
=ICq2
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: