Public bug reported:

Binary package hint: mailman

Hi Guys,

The mailman installation fails on hardy with the following :

[EMAIL PROTECTED]:~# aptitude install mailman 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Building tag database... Done      
The following NEW packages will be automatically installed:
  pwgen 
The following NEW packages will be installed:
  mailman pwgen 
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 8609kB/8629kB of archives. After unpacking 40.7MB will be used.
Do you want to continue? [Y/n/?] 
Writing extended state information... Done
Get:1 http://archive.ubuntu.com hardy/main mailman 1:2.1.9-9 [8609kB]
Fetched 8609kB in 0s (10.0MB/s)   
Preconfiguring packages ...
Selecting previously deselected package pwgen.
(Reading database ... 39855 files and directories currently installed.)
Unpacking pwgen (from .../archives/pwgen_2.06-1_i386.deb) ...
Selecting previously deselected package mailman.
Unpacking mailman (from .../mailman_1%3a2.1.9-9_i386.deb) ...
Setting up pwgen (2.06-1) ...
Setting up mailman (1:2.1.9-9) ...
Looking for enabled languages (this may take some time) ... done.
Installing site language en ............................................ done.
Configuring mailman for domain -e false ...
sed: -e expression #1, char 32: unterminated `s' command
dpkg: error processing mailman (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 mailman
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up mailman (1:2.1.9-9) ...
Looking for enabled languages (this may take some time) ... done.
Traceback (most recent call last):
  File "/var/lib/mailman/bin/list_lists", line 47, in <module>
    from Mailman import MailList
  File "/var/lib/mailman/Mailman/MailList.py", line 45, in <module>
    from Mailman import Utils
  File "/var/lib/mailman/Mailman/Utils.py", line 351, in <module>
    def MakeRandomPassword(length=mm_cfg.MEMBER_PASSWORD_LENGTH):
AttributeError: 'module' object has no attribute 'MEMBER_PASSWORD_LENGTH'
Installing site language en ............................................ done.
Traceback (most recent call last):
  File "/usr/lib/mailman/bin/update", line 50, in <module>
    from Mailman import Utils
  File "/var/lib/mailman/Mailman/Utils.py", line 351, in <module>
    def MakeRandomPassword(length=mm_cfg.MEMBER_PASSWORD_LENGTH):
AttributeError: 'module' object has no attribute 'MEMBER_PASSWORD_LENGTH'
Traceback (most recent call last):
  File "/var/lib/mailman/bin/list_lists", line 47, in <module>
    from Mailman import MailList
  File "/var/lib/mailman/Mailman/MailList.py", line 45, in <module>
    from Mailman import Utils
  File "/var/lib/mailman/Mailman/Utils.py", line 351, in <module>
    def MakeRandomPassword(length=mm_cfg.MEMBER_PASSWORD_LENGTH):
AttributeError: 'module' object has no attribute 'MEMBER_PASSWORD_LENGTH'
 * Site list for mailman (usually named mailman) missing.
 * Please create it; until then, mailman will refuse to start.
WARNING: I/O error while trying to byte-compile 
/usr/lib/mailman/bin/postfix-to-mailman.py (2): No such file or directory
WARNING: I/O error while trying to byte-compile 
/usr/lib/mailman/bin/qmail-to-mailman.py (2): No such file or directory

Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done             

the following is the package information:

[EMAIL PROTECTED]:~# aptitude show mailman
Package: mailman
State: installed
Automatically installed: yes
Version: 1:2.1.9-9
Priority: optional
Section: mail
Maintainer: Ubuntu Core Developers <[EMAIL PROTECTED]>
Uncompressed Size: 40.6M
Depends: libc6 (>= 2.6.1-1), python (>= 2.3), python-support (>= 0.7.1), 
logrotate, cron, exim4 |
         mail-transport-agent, apache2 | httpd, ucf, pwgen, adduser, lsb-base 
(>= 3.0-6)
PreDepends: debconf | debconf-2.0
Suggests: spamassassin, lynx, listadmin
Description: Powerful, web-based mailing list manager
 The GNU Mailing List Manager, which manages email discussion lists much like 
Majordomo and Smartmail. Unlike most
 similar products, Mailman gives each mailing list a web page, and allows users 
to subscribe, unsubscribe, etc. over
 the web.  Even the list manager can administer his or her list entirely from 
the web. 
 
 Mailman also integrates most things people want to do with mailing lists, 
including archiving, mail <-> news
 gateways, and so on.  It has all of the features you expect from such a 
product, plus integrated support for the web
 (including web based archiving), automated bounce handling and integrated spam 
prevention.

If you need anymore help, feel free to shout.

Patrick

** Affects: mailman (Ubuntu)
     Importance: Undecided
         Status: New

-- 
installation fails: post-install script failure
https://bugs.launchpad.net/bugs/192932
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to