Running the command manually from the output results in:
$ sudo dpkg --force-not-root --force-bad-path --force-architecture --instdir /opt/click.ubuntu.com/com.example.click-apparmor-test/0.1 --admindir /opt/click.ubuntu.com/com.example.click-apparmor-test/0.1/.click --path-exclude '*/.click/*' --log /opt/click.ubuntu.com/.click/log --no-triggers --install /tmp/com.example.click-apparmor-test_0.1_all.click Selecting previously unselected package com.example.click-apparmor-test. (Reading database ... 0 files and directories currently installed.) Preparing to unpack .../com.example.click-apparmor-test_0.1_all.click ... dpkg (subprocess): unable to execute new pre-installation script (/.click/tmp.ci/preinst): No such file or directory dpkg: error processing archive /tmp/com.example.click-apparmor-test_0.1_all.click (--install): subprocess new pre-installation script returned error exit status 2 Errors were encountered while processing: /tmp/com.example.click-apparmor-test_0.1_all.click
Running the command manually from the output results in:
$ sudo dpkg --force-not-root --force-bad-path --force- architecture --instdir /opt/click. ubuntu. com/com. example. click-apparmor- test/0. 1 --admindir /opt/click. ubuntu. com/com. example. click-apparmor- test/0. 1/.click --path-exclude '*/.click/*' --log /opt/click. ubuntu. com/.click/ log --no-triggers --install /tmp/com. example. click-apparmor- test_0. 1_all.click click-apparmor- test. example. click-apparmor- test_0. 1_all.click ... tmp.ci/ preinst) : No such file or directory example. click-apparmor- test_0. 1_all.click (--install): example. click-apparmor- test_0. 1_all.click
Selecting previously unselected package com.example.
(Reading database ... 0 files and directories currently installed.)
Preparing to unpack .../com.
dpkg (subprocess): unable to execute new pre-installation script (/.click/
dpkg: error processing archive /tmp/com.
subprocess new pre-installation script returned error exit status 2
Errors were encountered while processing:
/tmp/com.