I've been trying to upgrade mailman 2.1.4 to 2.1.5-8 (debian testing) for some
time. I've tried many things, and last night I got the closest, finally
getting past errors like:
Updating mailing list: openxri
Updating the held requests database.
- updating old private mbox file
Your installation seems up-to-date, great!
- updating old public mbox file
Your installation seems up-to-date, great!
Fixing language templates: openxri
Traceback (most recent call last):
File "/usr/lib/mailman/bin/update", line 760, in ?
errors = main()
File "/usr/lib/mailman/bin/update", line 650, in main
errors = errors + dolist(listname)
File "/usr/lib/mailman/bin/update", line 342, in dolist
move_language_templates(mlist)
File "/usr/lib/mailman/bin/update", line 128, in move_language_templates
fp = open(os.path.join(mm_cfg.TEMPLATE_DIR, gtemplate))
IOError: [Errno 21] Is a directory
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)
this helped but did not solve the problem:
http://mail.python.org/pipermail/mailman-developers/2004-November/017463.html
where I'm stuck now is it hangs on: "Updating Mailman 2.1.4 pending.pck
database" (see full trace below). I read in one post that it might just be
going slow, but no - it's not doing anything at all. It could be related to
the warnings about not being able to acquire locks, but I don;t know how to
clear those. Any help is vetry much appreciated - I want to be using 2.1.5!
Thanks,
=Fen
====== listing ======
# apt-get install mailman
Reading Package Lists... Done
Building Dependency Tree... Done
mailman is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up mailman (2.1.5-8) ...
Looking for enabled languages (this may take some time) ... done.
Installing site language en ............................................ done.
Upgrading from version 0x20104f0 to 0x20105f0
getting rid of old source files
Updating mailing list: barnraising
WARNING: could not acquire lock for list: barnraising
Updating mailing list: general
WARNING: could not acquire lock for list: general
......... twenty more lists, with the same warning one each
Updating mailing list: www-cvs
WARNING: could not acquire lock for list: www-cvs
Updating Usenet watermarks
- nothing to update here
Updating Mailman 2.1.4 pending.pck database
......... hangs here ... until ^C
Traceback (most recent call last):
File "/usr/lib/mailman/bin/update", line 825, in ?
errors = main()
File "/usr/lib/mailman/bin/update", line 749, in main
update_pending()
File "/usr/lib/mailman/bin/update", line 635, in update_pending
mlist = MailList.MailList(listname)
File "/var/lib/mailman/Mailman/MailList.py", line 126, in __init__
self.Lock()
File "/var/lib/mailman/Mailman/MailList.py", line 159, in Lock
self.__lock.lock(timeout)
File "/var/lib/mailman/Mailman/LockFile.py", line 312, in lock
self.__sleep()
File "/var/lib/mailman/Mailman/LockFile.py", line 496, in __sleep
time.sleep(interval)
KeyboardInterrupt
dpkg: error processing mailman (--configure):
subprocess post-installation script killed by signal (Interrupt)
Errors were encountered while processing:
mailman
E: Sub-process /usr/bin/dpkg returned an error code (1)
===== End Listing =====