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

Bug#631878: fails to install in cdebootstrap



Package: tzdata
Version: 2011h-1
Severity: normal

Hi

Since tzdata was upgraded to 2011h-1 (this worked fine with tzdata 
2011g-1) cdebootstrap fails installing tzdata:

# cdebootstrap --debug -v --arch=amd64 --flavour=minimal sid /mnt/ http://ftp.de.debian.org/debian
[...]
O: Setting up tzdata (2011h-1) ...
P: Configuring package tzdata
D: Updating tzdata to status 3
O: dpkg: error processing tzdata (--configure):
O:  subprocess installed post-installation script returned error exit status 10
[...]
O: dpkg: dependency problems prevent configuration of util-linux:
O:  util-linux depends on tzdata (>= 2006c-2); however:
O:   Package tzdata is not configured yet.
O: dpkg: error processing util-linux (--configure):
O:  dependency problems - leaving unconfigured
[...]
D: Updating libpam-runtime to status 3
O: dpkg: dependency problems prevent configuration of e2fsprogs:
O:  e2fsprogs depends on util-linux (>= 2.15~rc1-1); however:
O:   Package util-linux is not configured yet.
O: dpkg: error processing e2fsprogs (--configure):
O:  dependency problems - leaving unconfigured
[...]
O: init: timeout opening/writing control channel /dev/initctl
O: Errors were encountered while processing:
O:  tzdata
O:  util-linux
O:  e2fsprogs
D: Status: 256
E: Internal error: install

However I can't reproduce it while re-running the maintainer scripts 
manually:

# chroot /mnt/ /bin/bash
# dpkg --configure -a
Setting up tzdata (2011h-1) ...
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
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.12.3 /usr/local/share/perl/5.12.3 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.12 /usr/share/perl/5.12 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Configuring tzdata
------------------

Please select the geographic area in which you live. Subsequent configuration questions will narrow this down by presenting a list of cities, representing the time zones in which they are located.

  1. Africa  2. America  3. Antarctica  4. Australia  5. Arctic  6. Asia  7. Atlantic  8. Europe  9. Indian  10. Pacific  11. SystemV  12. US  13. Etc
Geographic area: 8

Please select the city or region corresponding to your time zone.

  1. Amsterdam  4. Belfast   7. Bratislava  10. Budapest    13. Dublin     16. Helsinki     19. Jersey       22. Lisbon     25. Luxembourg  28. Mariehamn  31. Moscow   34. Paris      37. Riga    40. San_Marino  43. Skopje     46. Tallinn   49. Uzhgorod  52. Vienna     55. Warsaw      58. Zurich
  2. Andorra    5. Belgrade  8. Brussels    11. Chisinau    14. Gibraltar  17. Isle_of_Man  20. Kaliningrad  23. Ljubljana  26. Madrid      29. Minsk      32. Nicosia  35. Podgorica  38. Rome    41. Sarajevo    44. Sofia      47. Tirane    50. Vaduz     53. Vilnius    56. Zagreb
  3. Athens     6. Berlin    9. Bucharest   12. Copenhagen  15. Guernsey   18. Istanbul     21. Kiev         24. London     27. Malta       30. Monaco     33. Oslo     36. Prague     39. Samara  42. Simferopol  45. Stockholm  48. Tiraspol  51. Vatican   54. Volgograd  57. Zaporozhye
Time zone: 6


Current default time zone: 'Europe/Berlin'
Local time is now:      Tue Jun 28 02:09:21 CEST 2011.
Universal Time is now:  Tue Jun 28 00:09:21 UTC 2011.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up util-linux (2.19.1-2) ...
update-alternatives: using /bin/more to provide /usr/bin/pager (pager) in auto mode.
Setting up e2fsprogs (1.41.12-4stable1) ...

XOR:

# DEBIAN_FRONTEND='noninteractive' DEBIAN_PRIORITY='critical' dpkg --configure -a
Setting up tzdata (2011h-1) ...

Current default time zone: 'Etc/UTC'
Local time is now:      Tue Jun 28 00:29:22 UTC 2011.
Universal Time is now:  Tue Jun 28 00:29:22 UTC 2011.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up util-linux (2.19.1-2) ...
update-alternatives: using /bin/more to provide /usr/bin/pager (pager) in auto mode.
Setting up e2fsprogs (1.41.12-4stable1) ...

This also seems to work fine in debootstrap, so it might also expose 
an issue in cdebootstrap's non-interactive debconf handling:

# debootstrap --verbose --arch=amd64 --variant=minbase sid /mnt/ http://ftp.de.debian.org/debian
[...]
I: Configuring sysv-rc...
I: Configuring tzdata...
I: Configuring debconf-i18n...
[...]
I: Base system installed successfully.

Likewise I don't observe any issues while upgrading from tzdata 2011g-1
to 2011h-1 on an installed system (with an interactive/ dialog based 
debconf frontend).

Regards
	Stefan Lippers-Hollmann

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2.slh.1-aptosid-amd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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.40     Debian configuration management sy

tzdata recommends no packages.

tzdata suggests no packages.

-- debconf information excluded



Reply to: