dpkg: new pre-installation script returned error exit status 1

view story

http://unix.stackexchange.com – I ended up dealing with a software meant to be deployed using dpkg. The .deb package works fine on the test env but fail on staging. Both are running the same version of Ubuntu but I am not 100% sure of the rest of the configs. How to debug this dpkg issue further? The installation fails like this: sudo dpkg -i --debug=7337 package.deb D000010: ensure_pathname_nonexisting `/var/lib/dpkg/tmp.ci' (Reading database ... 201812 files and directories currently installed.) Unpacking myProprietarySoftware (from package.deb) ... D000001: process_archive oldversionstatus=not installed D000002: fork/e (HowTos)