Your message dated Tue, 02 Mar 2021 10:33:31 +0000 with message-id <e1lh2ll-000cbv...@fasolo.debian.org> and subject line Bug#983785: fixed in wims-lti 0.4.4-3 has caused the Debian Bug report #983785, regarding wims-lti: fails to install: post-installation script subprocess returned error exit status 2 to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 983785: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983785 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: wims-lti Version: 0.4.4-2 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...): Setting up wims-lti (0.4.4-2) ... dpkg: error processing package wims-lti (--configure): installed wims-lti package post-installation script subprocess returned error exit status 2 Processing triggers for libc-bin (2.31-9) ... Processing triggers for ca-certificates (20210119) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Errors were encountered while processing: wims-lti If I insert set -x in the postinst script, the race ends with [...] + db_get wims-lti/virtualHost + _db_cmd GET wims-lti/virtualHost + _db_internal_IFS= + IFS= + printf %s\n GET wims-lti/virtualHost + IFS= + read -r _db_internal_line + IFS= + RET=wims-lti.example.com + return 0 + virtualHost=wims-lti.example.com + appDir=/var/lib/wims-lti + apacheConfDist=/etc/apache2/sites-available/wims-lti-django.conf-dist + apacheConf=/etc/apache2/sites-available/wims-lti-django.conf + getent passwd lti + lti_entry= I'd suggest this change to fix the logic, and something similar for the group: - lti_entry=$(getent passwd lti) - if [ -z "$lti_entry" ]; then + if ! getent passwd lti >/dev/null ; then cheers, Andreas
wims-lti_0.4.4-2.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---Source: wims-lti Source-Version: 0.4.4-3 Done: Georges Khaznadar <georg...@debian.org> We believe that the bug you reported is fixed in the latest version of wims-lti, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 983...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Georges Khaznadar <georg...@debian.org> (supplier of updated wims-lti package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Tue, 02 Mar 2021 11:18:50 +0100 Source: wims-lti Architecture: source Version: 0.4.4-3 Distribution: unstable Urgency: medium Maintainer: Georges Khaznadar <georg...@debian.org> Changed-By: Georges Khaznadar <georg...@debian.org> Closes: 983785 Changes: wims-lti (0.4.4-3) unstable; urgency=medium . * Applied the fix suggested by Andreas Beckman, thanks! Closes: #983785 Checksums-Sha1: 33ac00f7d7185a3d5077aa7a33f12ff05c286da4 1888 wims-lti_0.4.4-3.dsc 7d4dbc550885ed3f6f66b648cc7d734147db4ecd 9372 wims-lti_0.4.4-3.debian.tar.xz 165b9bdae096a446e8f752dbca670e19b28bb8ff 6382 wims-lti_0.4.4-3_source.buildinfo Checksums-Sha256: 40bbeb83901fb42f89a81b329ff08bc64f829375cb08d52b86246b6ba0e2cb10 1888 wims-lti_0.4.4-3.dsc d2dcc721e539444af13da2c9a37dd2cdab4d9c75db997dfbe889a7ef8fdfbb15 9372 wims-lti_0.4.4-3.debian.tar.xz d571693fb379b9f7ee9057c7f9aed26ece75b15a1b95fdb40443a762aa4f469f 6382 wims-lti_0.4.4-3_source.buildinfo Files: b03a98a47e561b0c0a4fb0a5ef8d2225 1888 web optional wims-lti_0.4.4-3.dsc 73d1a121a87b8627fc9d12af1d835b6a 9372 web optional wims-lti_0.4.4-3.debian.tar.xz 6dffb9e15d2ebf98d5d81b4eaffa1eb5 6382 web optional wims-lti_0.4.4-3_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJIBAEBCAAyFiEEM0CzZP9nFT+3zK6FHCgWkHE2rjkFAmA+ES8UHGdlb3JnZXNr QGRlYmlhbi5vcmcACgkQHCgWkHE2rjnfWw//eRixjVHpFqJS+U9ZCcu3zBh7/lBc A8XGbhidsLbW+/9L1cGPQU9GvDLs5eDBB1sv/xUZa7oQRZUaXMrQH9vKzh98YYeR XtDhlxmNw25MuIKNOHPmPa+XeCuwW/w0nDmYlBddSWD5QesoMSNyP4F2zvpRDFKS lkNkpLqVACfz5NLqxE3DkcCqH5g3ybxGrxBdeKoVj6FvmtOh/7FypiKDI1YhHW1p XeqJ1n80NY2yEECjwGSvTUNWmQpQR1usotYJLrqlIDg3CusP8RNsQ6+NZZuG1qgU QUPqNjVRuCUpog0nK7eQIrInx2b2XGYexsyPiMyrKW3zEabGxdM3Atpp6edxUSH8 Hz7Zi+/Y8qMH4j3pm6EohGt+u0tN4FFMcdknD6XUXhLXFUaBw8h0Dpe2+IZy6iLs Wbfz5VWKjXBntVkofbU/U9c7kIGepJrGb01lMVwt00IRi/raDe1FE9wlSYNQgFhk 9Pk80iy4C42JQUVOgjJKW2I+GB9Rj+4A+FcejGNDKQ1c4OD8jX1yq9lm5clmry5l Fi8C0MylOXgQDxfb3mFc9+0dyxwaL8P1EiJh4R9R2bCS/SZrztNgh3ZXcWAazjVc 0pEOnkIqdYJH7WLhDZ0n9QfiyRKkprff82fR8wQVpeH4RumeN2lvtPKFedhrgW8X TEOq4zO5+RqCO/g= =prBL -----END PGP SIGNATURE-----
--- End Message ---