install broken with new / updated mailman - syntax errors

Suresh Ramasubramanian suresh at frodo.hserus.net
Sat Mar 15 01:23:23 UTC 2008


Package: mailman
Version: 1:2.1.9-8ubuntu0.1
Severity: grave
Justification: renders package unusable

build fails due to syntax error(s) - there was a recent update of python and
that may have contributed to it.


root at frodo:/usr/lib/mailman/Mailman/Gui# python2.4 General.py
  File "General.py", line 438
    elif property == 'info':
       ^
SyntaxError: invalid syntax

_______so what you get is --____________

SyntaxError: invalid syntax
(Reading database ... 35907 files and directories currently installed.)
Preparing to replace mailman 1:2.1.9-8ubuntu0.1 (using .../mailman_1%3a2.1.9-8ubuntu0.1_i386.deb) ...
 * Stopping Mailman master qrunner mailmanctl                                   Traceback (most recent call last):
  File "/usr/lib/mailman/bin/mailmanctl", line 110, in <module>
    from Mailman.MailList import MailList
  File "/usr/lib/mailman/Mailman/MailList.py", line 64, in <module>
    from Mailman import Gui
  File "/usr/lib/mailman/Mailman/Gui/__init__.py", line 21, in <module>
    from General import General
  File "/var/lib/mailman/Mailman/Gui/General.py", line 438
    elif property == 'info':
       ^
SyntaxError: invalid syntax
                                                                         [fail]
invoke-rc.d: initscript mailman, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
 * Stopping Mailman master qrunner mailmanctl                                   Traceback (most recent call last):
  File "/usr/lib/mailman/bin/mailmanctl", line 110, in <module>
    from Mailman.MailList import MailList
  File "/usr/lib/mailman/Mailman/MailList.py", line 64, in <module>
    from Mailman import Gui
  File "/usr/lib/mailman/Mailman/Gui/__init__.py", line 21, in <module>
    from General import General
  File "/var/lib/mailman/Mailman/Gui/General.py", line 438
    elif property == 'info':
       ^

-- System Information:
Debian Release: lenny/sid
  APT prefers gutsy-updates
  APT policy: (500, 'gutsy-updates'), (500, 'gutsy-security'), (500, 'gutsy-backports'), (500, 'gutsy')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-14-server (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mailman depends on:
ii  adduser                3.103ubuntu1      Add and remove users and groups
ii  apache2                2.2.4-3ubuntu0.1  Next generation, scalable, extenda
ii  apache2-mpm-prefork [h 2.2.4-3ubuntu0.1  Traditional model for Apache HTTPD
ii  cron                   3.0pl1-100ubuntu1 management of regular background p
ii  debconf [debconf-2.0]  1.5.14ubuntu1     Debian configuration management sy
ii  exim4-daemon-heavy [ma 4.67-5build1      Exim MTA (v4) daemon with extended
ii  libc6                  2.6.1-1ubuntu10   GNU C Library: Shared libraries
ii  logrotate              3.7.1-3           Log rotation utility
ii  lsb-base               3.1-23.1ubuntu3   Linux Standard Base 3.1 init scrip
ii  pwgen                  2.06-1            Automatic Password generation
ii  python                 2.5.1-1ubuntu2    An interactive high-level object-o
ii  python-support         0.6.4ubuntu1      automated rebuilding support for p
ii  ucf                    3.001             Update Configuration File: preserv

mailman recommends no packages.

-- debconf information:
* mailman/queue_files_present:
* mailman/default_server_language: en
  mailman/update_passwords:
  mailman/gate_news: false
  mailman/update_aliases:
* mailman/site_languages: en
* mailman/used_languages:
* mailman/create_site_list:




More information about the ubuntu-users mailing list