This bug is biting on an 8.04 LTS to 10.04 LTS server upgrade. apt-cache policy mailman mailman: Installed: 1:2.1.9-9ubuntu1 Candidate: 1:2.1.13-1 Version table: 1:2.1.13-1 0 500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages *** 1:2.1.9-9ubuntu1 0 100 /var/lib/dpkg/status
========= sudo apt-get install mailman Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libio-compress-zlib-perl ttf-dejavu-extra libbeecrypt6 libio-compress-base-perl libconvert-ber-perl bacula-sd-sqlite3 mtx bacula-client bacula-console ttf-dejavu bacula-fd libkadm55 bacula-sd bacula-director-common libmhash2 bacula-common Use 'apt-get autoremove' to remove them. Suggested packages: listadmin The following packages will be upgraded: mailman 1 upgraded, 0 newly installed, 0 to remove and 193 not upgraded. 39 not fully installed or removed. Need to get 0B/9,642kB of archives. After this operation, 4,289kB of additional disk space will be used. Preconfiguring packages ... /var/lib/mailman/Mailman/Utils.py:32: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha 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 51, in <module> from Mailman.Archiver import Archiver File "/var/lib/mailman/Mailman/Archiver/__init__.py", line 17, in <module> from Archiver import * File "/var/lib/mailman/Mailman/Archiver/Archiver.py", line 32, in <module> from Mailman import Mailbox File "/var/lib/mailman/Mailman/Mailbox.py", line 21, in <module> import mailbox File "/usr/lib/python2.6/mailbox.py", line 19, in <module> import email.message ImportError: No module named message tar: ./config: Cannot utime: Bad file descriptor tar: ./templates: Cannot utime: Bad file descriptor tar: ./postinst: Cannot utime: Bad file descriptor tar: ./preinst: Cannot utime: Bad file descriptor tar: ./prerm: Cannot utime: Bad file descriptor tar: ./postrm: Cannot utime: Bad file descriptor tar: ./conffiles: Cannot utime: Bad file descriptor tar: ./md5sums: Cannot utime: Bad file descriptor tar: ./control: Cannot utime: Bad file descriptor tar: .: Cannot utime: Bad file descriptor tar: Exiting with failure status due to previous errors dpkg-deb: subprocess tar returned error exit status 2 dpkg: error processing /var/cache/apt/archives/mailman_1%3a2.1.13-1_i386.deb (--unpack): subprocess dpkg-deb --control returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/mailman_1%3a2.1.13-1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) ========== We need a procedure to fix the locally installed package so it doesn't cause do-release-upgrade to fail in upgrading all packages. -- list_lists crashed with ImportError in <module>() no module names email.messages https://bugs.launchpad.net/bugs/343046 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mailman in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs