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

Bug#421280: marked as done (tzdata: post-installation script returned error exit status 10)



Your message dated Sat, 05 May 2007 13:17:06 +0000
with message-id <E1HkK8I-00012V-Fl@ries.debian.org>
and subject line Bug#421280: fixed in tzdata 2007e-7
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: 2007e-6
Severity: important

I'm running a couple autobuilders, and since the latest upgrade of
tzdata, none of them will work properly because of the following:

Fetched 797kB in 3s (252kB/s)
Setting up tzdata (2007e-6) ...
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)
 apt-get failed.
Package installation failed

I logged into the build chroots trying to figure out what was going on:

debconf: delaying package configuration, since apt-utils is not
installed
Setting up tzdata (2007e-6) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog
based frontend cannot be used. at
/usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 75.)
debconf: falling back to frontend: Readline
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)
sh-3.1# apt-get install --reinstall tzdata
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 8 not
upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up tzdata (2007e-6) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog
based frontend cannot be used. at
/usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 75.)
debconf: falling back to frontend: Readline
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)
sh-3.1# apt-get remove tzdata
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
  tzdata util-linux
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  util-linux tzdata (due to util-linux)
0 upgraded, 0 newly installed, 2 to remove and 8 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 7533kB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
 ?] Yes, do as I say!
dpkg - warning, overriding problem because --force enabled:
 This is an essential package - it should not be removed.
(Reading database ... 9749 files and directories currently installed.)
Removing util-linux ...
Removing tzdata ...
sh-3.1# apt-get install util-linux
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  tzdata
Suggested packages:
  util-linux-locales kbd console-tools dosfstools
The following NEW packages will be installed:
  tzdata util-linux
0 upgraded, 2 newly installed, 0 to remove and 8 not upgraded.
Need to get 0B/841kB of archives.
After unpacking 7533kB of additional disk space will be used.
Do you want to continue [Y/n]?
WARNING: The following packages cannot be authenticated!
  tzdata util-linux
Authentication warning overridden.
debconf: delaying package configuration, since apt-utils is not
installed
Selecting previously deselected package tzdata.
(Reading database ... 7874 files and directories currently installed.)
Unpacking tzdata (from .../tzdata_2007e-6_all.deb) ...
Setting up tzdata (2007e-6) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog
based frontend cannot be used. at
/usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 75.)
debconf: falling back to frontend: Readline
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)

I eventually tried to install 'dialog' just in case but it didn't help.

Then I edited /var/lib/dpkg/info/tzdata.postinst to add a '-x':

buildd@envy:~$ sudo vi
chroots/chroot-sid/var/lib/dpkg/info/tzdata.postinst
buildd@envy:~$ sudo chroot chroots/chroot-sid/
sh-3.1# dpkg --configure -a
Setting up tzdata (2007e-6) ...
+ set -e
+ LC_ALL=C
+ LANG=C
+ umask 022
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ '[' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/tzdata.postinst
configure 2007e-3
dpkg: error processing tzdata (--configure):
 subprocess post-installation script returned error exit status 10
Errors were encountered while processing:
 tzdata
sh-3.1# /usr/share/debconf/frontend /var/lib/dpkg/info/tzdata.postinst
configure 2007e-3
sh-3.1# echo $?
10

This bug happens on all my autobuilders, rendering them completely
unusable (alpha, hppa, ia64, ppc).

HTH

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (700, 'testing'), (90, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.20.7-ck1 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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


--- End Message ---
--- Begin Message ---
Source: tzdata
Source-Version: 2007e-7

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_2007e-7.diff.gz
  to pool/main/t/tzdata/tzdata_2007e-7.diff.gz
tzdata_2007e-7.dsc
  to pool/main/t/tzdata/tzdata_2007e-7.dsc
tzdata_2007e-7_all.deb
  to pool/main/t/tzdata/tzdata_2007e-7_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 421280@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 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: Sat, 05 May 2007 05:52:04 -0700
Source: tzdata
Binary: tzdata
Architecture: source all
Version: 2007e-7
Distribution: unstable
Urgency: low
Maintainer: Aurelien Jarno <aurel32@debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
Description: 
 tzdata     - time zone and daylight-saving time data
Closes: 421280 421499 421889 422186 422329
Changes: 
 tzdata (2007e-7) unstable; urgency=low
 .
   * debian/po/en.po: fixes two typos. Thanks to Thijs Kinkhorst (closes:
     #421889).
   * New Russian debconf translation, by Yuri Kozlov (closes: bug#421499).
   * New Portuguese debconf translation, by Rui Branco (closes: bug#422329).
   * Partly merge patch from the Debconf templates review (closes:
     bug#422186).
   * debian/config: verify that /etc/localtime symlink points to a file
     in /usr/share/zoneinfo (closes: bug#421280).
   * debian/postinst: print the current local and UTC times even when using
     user defined /etc/localtime.
Files: 
 0f95e23a6bcf2a630791493b4e418092 878 libs required tzdata_2007e-7.dsc
 09448bb300dca16c0ac7a79e8c4fe273 36534 libs required tzdata_2007e-7.diff.gz
 754cb9f7d442e4ba16d2d75cb6d24611 364048 libs required tzdata_2007e-7_all.deb

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

iD8DBQFGPICdw3ao2vG823MRAhvVAJ9uCmtPSlkWZ1NeyB+ONrXJXyK5IQCdHHFD
/xY1uIichYQcoWM0V7NqyyY=
=kksd
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: