Joost van Baal wrote: > FWIW, I've recently manually done: > > ln -s /usr/lib/mailman/pythonlib /var/lib/mailman/pythonlib > > after such a Mailman upgrade. It solved the shown errors from > senddigests. > > Apparently, the postinst script fails to execute this under some > circumstances.
Not only that, but on my system /var/lib/mailman/pythonlib is a (empty) directory owned by the package "mailman"! Kind of difficult to place a symlink there when there's already a real directory of the same name. However if I remove the empty dir and replace it with a symlink as you said, then it works: | io:/usr/lib/mailman/cron> python | Python 2.4.4 (#2, Aug 16 2007, 02:03:40) | [GCC 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)] on linux2 | Type "help", "copyright", "credits" or "license" for more information. | >>> import paths | >>> import email | >>> email.__version__ | '2.5.8' | >>> Thanks. So I guess this issue boils down to the mailman package needing to install a symlink rather than a directory as /var/lib/mailman/pythonlib.
pgpOxxhIvq0wi.pgp
Description: PGP signature