reopen 818116 thanks You replaced "grep" with "grep | true" which not only fixes the return code but also eats the output. The intention was probably to use "grep || true". The package now prints /var/lib/dpkg/info/uwsgi-plugin-python.postinst: 61: [: Illegal number: during install (but no longer totally fails to install).