Debian Bug report logs - #455783
Script tzdata.postinst fails: /usr/bin/tzconfig not found

version graph

Package: libc6; Maintainer for libc6 is GNU Libc Maintainers <debian-glibc@lists.debian.org>; Source for libc6 is src:glibc (PTS, buildd, popcon).

Reported by: Arnold Metselaar <arnold.metselaar@planet.nl>

Date: Tue, 11 Dec 2007 20:09:01 UTC

Severity: important

Fixed in version glibc/2.7-5

Done: Aurelien Jarno <aurel32@debian.org>

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#455783; Package tzdata. (full text, mbox, link).


Acknowledgement sent to Arnold Metselaar <arnold.metselaar@planet.nl>:
New Bug report received and forwarded. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (full text, mbox, link).


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

From: Arnold Metselaar <arnold.metselaar@planet.nl>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Script tzdata.postinst fails: /usr/bin/tzconfig not found
Date: Tue, 11 Dec 2007 20:56:28 +0100
Package: tzdata
Version: 2007j-1etch1
Severity: important

When I try to upgrade the tzdata pakage I get the following messages.
Setting up tzdata (2007j-1etch1) ...
Running 'tzconfig' to set this system's timezone.
/var/lib/dpkg/info/tzdata.postinst: line 27: /usr/sbin/tzconfig: No such file or directory
dpkg: error processing tzdata (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 tzdata

The tzconfig program is in the package libc6 for etch, but no package currently
lenny or sid has it. 
It may be possible to upgrade with a non-interactive front-end and change the 
time zone by hand afterwards, but a postinst script may not assume the prezence 
of a program that is not provided by a dependency or an essential package.

Maybe this bug should be reassigned to the package that should contain tzconfig.


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable'), (950, 'testing'), (500, 'stable-backports'), (500, 'oldstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-686
Locale: LANG=nl_NL, LC_CTYPE=nl_NL (charmap=ISO-8859-1)

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




Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#455783; Package tzdata. (full text, mbox, link).


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>. (full text, mbox, link).


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

From: Aurelien Jarno <aurelien@aurel32.net>
To: Arnold Metselaar <arnold.metselaar@planet.nl>, 455783@bugs.debian.org
Subject: Re: Bug#455783: Script tzdata.postinst fails: /usr/bin/tzconfig not found
Date: Tue, 11 Dec 2007 21:50:00 +0100
severity 455783 normal
thanks

Arnold Metselaar a écrit :
> Package: tzdata
> Version: 2007j-1etch1
> Severity: important
> 
> When I try to upgrade the tzdata pakage I get the following messages.
> Setting up tzdata (2007j-1etch1) ...
> Running 'tzconfig' to set this system's timezone.
> /var/lib/dpkg/info/tzdata.postinst: line 27: /usr/sbin/tzconfig: No such file or directory
> dpkg: error processing tzdata (--configure):
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  tzdata
> 
> The tzconfig program is in the package libc6 for etch, but no package currently
> lenny or sid has it. 
> It may be possible to upgrade with a non-interactive front-end and change the 
> time zone by hand afterwards, but a postinst script may not assume the prezence 
> of a program that is not provided by a dependency or an essential package.
> 

If you use libc6 from unstable, you should also uses tzdata from unstable.

libc6 conflicts on the orginally version in etch, but unfortunately this
doesn't work anymore now that the version has been upgraded.

We are working on a solution so that an upgrade of libc6 also imply an
upgrade of tzdata.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net




Tags added: pending Request was from Aurelien Jarno <aurel32@alioth.debian.org> to control@bugs.debian.org. (Tue, 11 Dec 2007 22:33:09 GMT) (full text, mbox, link).


Bug reassigned from package `tzdata' to `libc6'. Request was from Aurelien Jarno <aurel32@debian.org> to control@bugs.debian.org. (Tue, 11 Dec 2007 22:33:10 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#455783; Package libc6. (full text, mbox, link).


Acknowledgement sent to Antoine Sirinelli <antoine-debian@monte-stello.com>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (full text, mbox, link).


Message #19 received at 455783@bugs.debian.org (full text, mbox, reply):

From: Antoine Sirinelli <antoine-debian@monte-stello.com>
To: Aurelien Jarno <aurelien@aurel32.net>
Cc: Arnold Metselaar <arnold.metselaar@planet.nl>, 455783@bugs.debian.org
Subject: Re: Bug#455783: Script tzdata.postinst fails: /usr/bin/tzconfig not found
Date: Fri, 14 Dec 2007 09:53:16 +0100
On Tue, Dec 11, 2007 at 09:50:00PM +0100, Aurelien Jarno wrote:
> Arnold Metselaar a écrit :
> > When I try to upgrade the tzdata pakage I get the following messages.
> > Setting up tzdata (2007j-1etch1) ...
> > Running 'tzconfig' to set this system's timezone.
> > /var/lib/dpkg/info/tzdata.postinst: line 27: /usr/sbin/tzconfig: No such file or directory
> > dpkg: error processing tzdata (--configure):
> >  subprocess post-installation script returned error exit status 1
> > Errors were encountered while processing:
> >  tzdata
> > 
> > The tzconfig program is in the package libc6 for etch, but no package currently
> > lenny or sid has it. 
> > It may be possible to upgrade with a non-interactive front-end and change the 
> > time zone by hand afterwards, but a postinst script may not assume the prezence 
> > of a program that is not provided by a dependency or an essential package.
> > 
> 
> If you use libc6 from unstable, you should also uses tzdata from unstable.
> 
> libc6 conflicts on the orginally version in etch, but unfortunately this
> doesn't work anymore now that the version has been upgraded.

I can confirm this bug on a testing(lenny) system. The problem come from
the tzdata packet 2007j-1etch1 which is present in the volatile
repository. The volatile repository is for stable(etch) systems but I do
not know if this bug occurs on stable systems.

Antoine




Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#455783; Package libc6. (full text, mbox, link).


Acknowledgement sent to Arnold Metselaar <arnold.metselaar@planet.nl>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (full text, mbox, link).


Message #24 received at 455783@bugs.debian.org (full text, mbox, reply):

From: Arnold Metselaar <arnold.metselaar@planet.nl>
To: Antoine Sirinelli <antoine-debian@monte-stello.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>, 455783@bugs.debian.org
Subject: Re: Bug#455783: Version number in volatile is higher than in sid (was:Script tzdata.postinst fails: /usr/bin/tzconfig not found)
Date: Sat, 15 Dec 2007 13:18:59 +0100
package tzdata
retitle 455783 Version number in volatile is higher than in sid
thanks

Op vrijdag 14 december 2007 09:53, schreef Antoine Sirinelli:
> I can confirm this bug on a testing(lenny) system. The problem
> come from the tzdata packet 2007j-1etch1 which is present in the
> volatile repository. The volatile repository is for stable(etch)
> systems but I do not know if this bug occurs on stable systems.
>
> Antoine

The libc6 still has /usr/sbin/tzconfig, so I don't think there is 
any problem for stable+volatile. 

The root cause of the problem is that a package in volatile has been 
given a version number that was higher than the version in sid and 
testing, violating one of the acceptance rules of debian volatile:
    * The upgrade path from volatile to the next stable release 
needs to be at least as easy as for the stable release; version 
numbers in volatile must not be higher than those in testing, for 
instance. [1]

I see the problem has been solved by bumping the version number of 
tzdata in sid and lenny, So I think this bug can be closed now.

Kind regards,
Arnold Metselaar

[1] http://www.debian.org/devel/debian-volatile/




Reply sent to Aurelien Jarno <aurel32@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Arnold Metselaar <arnold.metselaar@planet.nl>:
Bug acknowledged by developer. (full text, mbox, link).


Message #29 received at 455783-close@bugs.debian.org (full text, mbox, reply):

From: Aurelien Jarno <aurel32@debian.org>
To: 455783-close@bugs.debian.org
Subject: Bug#455783: fixed in glibc 2.7-5
Date: Wed, 19 Dec 2007 18:32:08 +0000
Source: glibc
Source-Version: 2.7-5

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

glibc-doc_2.7-5_all.deb
  to pool/main/g/glibc/glibc-doc_2.7-5_all.deb
glibc_2.7-5.diff.gz
  to pool/main/g/glibc/glibc_2.7-5.diff.gz
glibc_2.7-5.dsc
  to pool/main/g/glibc/glibc_2.7-5.dsc
libc6-dbg_2.7-5_amd64.deb
  to pool/main/g/glibc/libc6-dbg_2.7-5_amd64.deb
libc6-dev-i386_2.7-5_amd64.deb
  to pool/main/g/glibc/libc6-dev-i386_2.7-5_amd64.deb
libc6-dev_2.7-5_amd64.deb
  to pool/main/g/glibc/libc6-dev_2.7-5_amd64.deb
libc6-i386_2.7-5_amd64.deb
  to pool/main/g/glibc/libc6-i386_2.7-5_amd64.deb
libc6-pic_2.7-5_amd64.deb
  to pool/main/g/glibc/libc6-pic_2.7-5_amd64.deb
libc6-prof_2.7-5_amd64.deb
  to pool/main/g/glibc/libc6-prof_2.7-5_amd64.deb
libc6-udeb_2.7-5_amd64.udeb
  to pool/main/g/glibc/libc6-udeb_2.7-5_amd64.udeb
libc6_2.7-5_amd64.deb
  to pool/main/g/glibc/libc6_2.7-5_amd64.deb
libnss-dns-udeb_2.7-5_amd64.udeb
  to pool/main/g/glibc/libnss-dns-udeb_2.7-5_amd64.udeb
libnss-files-udeb_2.7-5_amd64.udeb
  to pool/main/g/glibc/libnss-files-udeb_2.7-5_amd64.udeb
locales-all_2.7-5_amd64.deb
  to pool/main/g/glibc/locales-all_2.7-5_amd64.deb
locales_2.7-5_all.deb
  to pool/main/g/glibc/locales_2.7-5_all.deb
nscd_2.7-5_amd64.deb
  to pool/main/g/glibc/nscd_2.7-5_amd64.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 455783@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno <aurel32@debian.org> (supplier of updated glibc 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: Wed, 19 Dec 2007 01:22:06 +0100
Source: glibc
Binary: libc0.1-prof libc6.1-alphaev67 libc6-dev-amd64 locales-all libc6-i686 libc6-dev-ppc64 libc0.3-pic glibc-doc libc0.3 libc6-dev-mipsn32 libc0.1-i686 libc0.1-i386 libc6-mips64 libc6.1-dev libc6-s390x libnss-files-udeb libc0.1-dev-i386 libc6-dev-sparc64 libc6-i386 libc0.3-dev libc6-udeb libc6-dbg libc6.1-pic libc6-dev libc0.3-prof libc0.1-udeb libc6-dev-i386 libc6.1-prof libc6-mipsn32 libc0.1-dev locales libc6-pic libc0.3-udeb libc6-dev-powerpc libc0.1-pic libc6-ppc64 libc0.3-dbg libc0.1-dbg libc6-amd64 libc0.1 libc6-prof libc6-xen libc6-dev-mips64 libc6-powerpc libc6 libc6-sparcv9b libc6.1-udeb libc6.1-dbg nscd libc6-sparc64 libnss-dns-udeb libc6.1 libc6-dev-s390x
Architecture: source amd64 all
Version: 2.7-5
Distribution: unstable
Urgency: low
Maintainer: Aurelien Jarno <aurel32@debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
Description: 
 glibc-doc  - GNU C Library: Documentation
 libc6      - GNU C Library: Shared libraries
 libc6-dbg  - GNU C Library: Libraries with debugging symbols
 libc6-dev  - GNU C Library: Development Libraries and Header Files
 libc6-dev-i386 - GNU C Library: 32bit development libraries for AMD64
 libc6-i386 - GNU C Library: 32bit shared libraries for AMD64
 libc6-pic  - GNU C Library: PIC archive library
 libc6-prof - GNU C Library: Profiling Libraries
 libc6-udeb - GNU C Library: Shared libraries - udeb (udeb)
 libnss-dns-udeb - GNU C Library: NSS helper for DNS - udeb (udeb)
 libnss-files-udeb - GNU C Library: NSS helper for files - udeb (udeb)
 locales    - GNU C Library: National Language (locale) data [support]
 locales-all - GNU C Library: Precompiled locale data
 nscd       - GNU C Library: Name Service Cache Daemon
Closes: 453408 453899 455603 455783 456260 456779
Changes: 
 glibc (2.7-5) unstable; urgency=low
 .
   [ Aurelien Jarno ]
   * Moved merged parts of patches/any/submitted-sched_h.diff into
     patches/any/cvs-sched_h.diff.
   * patches/any/cvs-ether_line.diff: new patch from upstream to fix
     ether_line().  Closes: bug#453899.
   * patches/any/cvs-vfscanf.diff: new patch from upstream to fix
     crash when %as is used with sscanf().  Closes: bug#453408.
   * debian/rules: also set CXX when cross-compiling.
   * patches/any/submitted-malloc_h.diff: removed, replaced by
     patches/any/cvs-wchar_h.diff.
   * debian/sysdeps/depflags.pl: conflict against tzdata (<< 2007j-2) as
     etch now have version 2007j-1etch1.  Closes: bug#455783.
   * debian/sysdeps/depflags.pl: suggests libc6-i686 on i386 architecture.
     Closes: bug#455603.
   * any/submitted-rfc3484-labels.diff: new patch to fix RFC 3484 default
     label ordering.  Closes: bug#456779.
   * patches/alpha/local-dl-procinfo.diff: add missing part.  Closes:
     bug#456260.
 .
   [ Petr Salinger]
   * kfreebsd/local-sysdeps.diff: update to revision 2082 (from glibc-bsd).
   * any/cvs-fchmodat.diff: properly declare as stub - needed by GNU/kFreeBSD.
 .
   [ Samuel Thibault]
   * patches/hurd-i386/submitted-ioctl-unsigned-size_t.diff: update to also
     handle unsigned char/int/short/long and ssize_t.
Files: 
 361dd96941a59f2aef46bb9ad9ba3ee6 2072 libs required glibc_2.7-5.dsc
 0011d41ff261625c1754af61040c64a3 675390 libs required glibc_2.7-5.diff.gz
 975f3462f7d8774f2a81aaa8c0fc60f5 1623962 doc optional glibc-doc_2.7-5_all.deb
 5abfe8de9c1edaffc49e5273a0cfb321 4486002 libs standard locales_2.7-5_all.deb
 2d70d766d5c721c3486071635344e263 4992748 libs required libc6_2.7-5_amd64.deb
 ebf51cbd7a6f29c0a2fadf2a98469218 2530166 libdevel optional libc6-dev_2.7-5_amd64.deb
 884738826550a7bbe3e80ec562e94bff 1961766 libdevel extra libc6-prof_2.7-5_amd64.deb
 77a6841b1962ed27e3a453d93048d889 1481630 libdevel optional libc6-pic_2.7-5_amd64.deb
 541ac14a7f00ef0916e5f2be5ab12444 2730022 libs extra locales-all_2.7-5_amd64.deb
 398e6f6a56d4398bc55aabb3cebc5054 3735604 libs optional libc6-i386_2.7-5_amd64.deb
 7f8d5b40c4cb1cafb43177a9fe062d28 1430482 libdevel optional libc6-dev-i386_2.7-5_amd64.deb
 5265a7d9c9b0ac1edb308ddfeb1cc2f6 170498 admin optional nscd_2.7-5_amd64.deb
 a5b657ed998b8f9bd43cc5ff24f06a6e 5317476 libdevel extra libc6-dbg_2.7-5_amd64.deb
 8c903d8677e3829c7237ca50e61e6be0 1129200 debian-installer extra libc6-udeb_2.7-5_amd64.udeb
 d7d190f4ef4276a128f3360588248c70 9744 debian-installer extra libnss-dns-udeb_2.7-5_amd64.udeb
 88126b6ec721be6fb1b377019fd5e068 18012 debian-installer extra libnss-files-udeb_2.7-5_amd64.udeb
Package-Type: udeb

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

iD8DBQFHaVGJw3ao2vG823MRAls+AJ9FC6Kzv1jK5rSRnESBR6O2yeppyACeP7Pt
4djm+On05Bb5rZJRIXAAgS8=
=HVLP
-----END PGP SIGNATURE-----





Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#455783; Package libc6. (full text, mbox, link).


Acknowledgement sent to Rick Humphries <rickh@rickh.demon.co.uk>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (full text, mbox, link).


Message #34 received at 455783@bugs.debian.org (full text, mbox, reply):

From: Rick Humphries <rickh@rickh.demon.co.uk>
To: 455783@bugs.debian.org
Subject: Problem setting up tzdata
Date: Thu, 27 Dec 2007 17:38:26 +0000
On running the 'update' facility it offered several updates but the 
installation failed part way through with the error message shown in the 
455783 bug report.  The installation of the remaining packages was 
blocked due to the error in installing tzdata.

Having tried to find a way of correcting the situation I found that 
running the:
System
    Administration
         Time and Date

facility allowed me to set my correct timezone.

Following that, all the other update packages installed OK.

-- 
Rick Humphries

Tel:     01638 730402
Mobile:  07802 433219

E-mail   rickh@rickh.demon.co.uk





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 30 Nov 2008 08:32:47 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 5 14:47:23 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.