On 07/03/2016 07:07 PM, Andreas Beckmann wrote: > Package: courier-mta > Version: 0.76.1-3+exp1 > Severity: serious > User: debian...@lists.debian.org > Usertags: piuparts > > Hi, > > during a test with piuparts I noticed your package failed to install. As > per definition of the release team this makes the package too buggy for > a release, thus the severity. > >>From the attached log (scroll to the bottom...): > > Selecting previously unselected package courier-mta. > (Reading database ... > (Reading database ... 10293 files and directories currently installed.) > Preparing to unpack .../courier-mta_0.76.1-3+exp1_amd64.deb ... > Adding 'diversion of /usr/bin/addcr to /usr/bin/addcr.ucspi-tcp by > courier-mta' > Adding 'diversion of /usr/share/man/man1/addcr.1.gz to > /usr/share/man/man1/addcr.ucspi-tcp.1.gz by courier-mta' > Unpacking courier-mta (0.76.1-3+exp1) ... > Setting up courier-mta (0.76.1-3+exp1) ... > update-alternatives: using /usr/bin/lockmail.courier to provide > /usr/bin/lockmail (lockmail) in auto mode > update-alternatives: using /usr/bin/preline.courier to provide > /usr/bin/preline (preline) in auto mode > /run/courier/esmtpd.pid.lock: No such file or directory > Generating a 4096 bit RSA private key > ......................................++ > > .....................................................................................................................................++ > writing new private key to '/etc/courier/esmtpd.pem' > ----- > Invalid command 'gendh'; type "help" for a list. > dpkg: error processing package courier-mta (--configure): > subprocess installed post-installation script returned error exit status 1 > Errors were encountered while processing: > courier-mta > > > cheers, > > Andreas >
I believe this line in the script /usr/lib/courier/mkesmtpdcert causes the error: /usr/bin/openssl gendh -rand "$PEMFILE".rand 512 >>"$PEMFILE" || cleanup Why openssl doesn't know about it on piuparts eludes me. Regards Racke