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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to