package mailman 1:2.1.14-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #849893 reported by danielleeson
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mailman (Ubuntu)
Expired
Medium
Unassigned

Bug Description

install keeps failing

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: mailman 1:2.1.14-1
ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8
Uname: Linux 2.6.38-11-generic i686
AptOrdering:
 libhdf5-serial-1.8.4: Install
 mailman: Configure
 libhdf5-serial-1.8.4: Configure
Architecture: i386
Date: Wed Sep 14 07:21:40 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
SourcePackage: mailman
Title: package mailman 1:2.1.14-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
danielleeson (danielleeson) wrote :
Changed in mailman (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mailman (Ubuntu):
status: New → Confirmed
Revision history for this message
Cronin B Vining (cvining) wrote :

I've tried several Ubuntu versions of this package on an Ubuntu 18.04 LTS server, and also tried installing a debian version mailman 2.1.18-2+deb8u4 which I use on a production Debian Jessie server. All attempts I've tried throw this error.

mailman is old but still works fine on Debian. Makes me wonder if the problem is here is how Ubuntu handles the post-installation script.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I'd be surprised - I've re-tried installing mailman on several Ubuntu versions and it always works and installs fine.

...
Setting up mailman (1:2.1.20-1ubuntu0.3) ...
Looking for enabled languages (this may take some time) ... done.
Installing site language en ............................................. done.
Configuring mailman for domain localhost.localdomain ...
Upgrading from version 0x0 to 0x20114f0
getting rid of old source files
...

Your log shows python errors on that:
  File "/var/lib/mailman/Mailman/Utils.py", line 368, in <module>
    def MakeRandomPassword(length=mm_cfg.MEMBER_PASSWORD_LENGTH):
AttributeError: 'module' object has no attribute 'MEMBER_PASSWORD_LENGTH'

mm_cfg is from
from Mailman import mm_cfg

The default of that is at
/var/lib/mailman/Mailman/Defaults.py:1010:MEMBER_PASSWORD_LENGTH = 8

But mm_cfg itself is the user-config of mailman at:
/etc/mailman/mm_cfg.py
This does
 from Defaults import *
to pull in the above.

I can't see how that would fail unless you either:
- have old config data in /etc/mailman/mm_cfg.py that breaks it
- custom python installation that breaks the above

Does any of that apply to you?

@Cronin - could you please report
- Ubuntu release you are at (so that one can compare)
- md5sum /etc/mailman/mm_cfg.py

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Since it seems likely to me that this is a local configuration problem, rather than a bug in Ubuntu, I'm marking this bug as Incomplete.

If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community

Or if you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New.

Changed in mailman (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mailman (Ubuntu) because there has been no activity for 60 days.]

Changed in mailman (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.