[Pkg-mailman-hackers] Bug#895227: Bug#895227: mailman3 postinst fails when co-installed with dbconfig-no-thanks
Jonas Meurer
jonas at freesources.org
Wed Apr 11 11:05:48 UTC 2018
Hi Daniel,
thanks for reporting this bug.
Am 08.04.2018 um 16:29 schrieb Daniel Kahn Gillmor:
> i did "apt install dbconfig-no-thanks mailman3" and it produced this failure:
>
> Setting up mailman3 (3.1.1-8) ...
> dpkg: error processing package mailman3 (--configure):
> installed mailman3 package post-installation script subprocess returned error exit status 10
>
> If i try to make it a bit more verbose, i get this failure (not very
> descriptive):
>
> If i run the postinst script under strace, i see this underlying failure:
>
> 24505 write(1, "GET mailman3/database-type\n", 27 <unfinished ...>
> 24499 <... read resumed> "GET mailman3/database-type\n", 8192) = 27
> 24505 <... write resumed> ) = 27
> 24499 write(7, "10 mailman3/database-type doesn't exist\n", 40 <unfinished ...>
>
> fwiw, i do not get these errors with dbconfig-sqlite3. it seems to be
> related to dbconfig-no-thanks.
Well spotted. With 'dbconfig-no-thanks', there exists no debconf entry
'mailman3/database-type'. The best solution I can think of, is to ignore
errors this way in the mailman3.config maintainer script:
db_get mailman3/database-type || true
The fix is already in the Git packaging repo and will be uploaded shortly.
Cheers
jonas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-mailman-hackers/attachments/20180411/aefe1bdc/attachment.sig>
More information about the Pkg-mailman-hackers
mailing list