[Debconf-devel] Bug#492830: Syntax error in debconf post-installation script

Sander Marechal s.marechal at jejik.com
Tue Jul 29 06:48:57 UTC 2008


Package: debconf
Version: 1.5.11etch2
Severity: important


I am trying to install the latest slew of updates on Etch, but debconf fails
with a syntax error. I think it's debconf itself that is causing this and
not twisted, but I am not 100% sure. Basically this means I can't install or
update any packages. Below is what I get when I issue apt-get upgrade:

tweety:/home/sander# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages will be upgraded:
  grub hal icedove icedove-gnome-support initscripts libexiv2-0.10 libhal-storage1 libhal1 libkrb53 libqt3-mt linux-image-2.6.18-6-486
  linux-image-2.6.18-6-k7 locales sysv-rc xserver-xorg-video-nv
15 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/53.1MB of archives.
After unpacking 193kB disk space will be freed.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
Setting up debconf (1.5.11etch2) ...
Compiling /usr/lib/python2.4/site-packages/twisted/test/generator_failure_tests.py ...
  File "/usr/lib/python2.4/site-packages/twisted/test/generator_failure_tests.py", line 66
    yield
         ^
SyntaxError: invalid syntax

dpkg: error processing debconf (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 debconf
E: Sub-process /usr/bin/dpkg returned an error code (1)

If this turns out to be python-twisted after all, please reassign it. Thanks.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages debconf depends on:
ii  debconf-i18n                1.5.11etch2  full internationalization support 
ii  perl-base                   5.8.8-7etch3 The Pathologically Eclectic Rubbis

Versions of packages debconf recommends:
ii  apt-utils                   0.6.46.4-0.1 APT utility programs

-- debconf information:
  debconf-apt-progress/preparing:
  debconf-apt-progress/title:
  debconf-apt-progress/info:
  debconf-apt-progress/media-change:
  debconf/frontend: Dialog
  debconf/priority: high





More information about the Debconf-devel mailing list