This bug also affects the click-apparmor autopkgtests. I'm surprised
that click was promoted if click-apparmor's autopkgtest failed. Here are
steps to reproduce in a clean VM:
$ sudo apt-get install click ubuntu-sdk-libs
$ sudo click install --user=jamie
/tmp/com.example.click-apparmor-test_0.1_all.click
$ sudo click install --user=jamie
/tmp/com.example.click-apparmor-test_0.1_all.click --allow-unauthenticated
WARNING:root:Signature check failed, but installing anyway as requested
ERROR:root:['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'] failed with exit_code 1:
Traceback (most recent call last):
File "/usr/bin/click", line 110, in <module>
sys.exit(main())
File "/usr/bin/click", line 106, in main
return mod.run(args)
File "/usr/lib/python3/dist-packages/click/commands/install.py", line 66, in
run
quiet=not options.verbose)
File "/usr/lib/python3/dist-packages/click/install.py", line 463, in install
path, user=user, all_users=all_users, quiet=quiet)
File "/usr/lib/python3/dist-packages/click/install.py", line 419, in _unpack
**kwargs)
File "/usr/lib/python3.5/subprocess.py", line 626, in check_output
**kwargs).stdout
File "/usr/lib/python3.5/subprocess.py", line 708, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['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']' returned non-zero exit
status 1
Note, the above was with debsig-verify installed but had the same error with it
uninstalled.
$ apt-cache policy click
click:
Installed: 0.4.44+16.10.20160811.1-0ubuntu1
Candidate: 0.4.44+16.10.20160811.1-0ubuntu1
Version table:
*** 0.4.44+16.10.20160811.1-0ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 Packages
100 /var/lib/dpkg/status
This works fine on xenial.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1615757
Title:
click crashed with subprocess.CalledProcessError in run(): Command
'['dpkg', '--force-not-root', '--force-bad-path', '--force-
architecture', '--instdir',
'/opt/click.ubuntu.com/com.ubuntu.filemanager/0.4.525', '--admindir',
'/opt/click.ubuntu.com/com.ubuntu.filemanager/0.4.525/.click',
'--path-exclude', '*/.click/*', '--log',
'/opt/click.ubuntu.com/.click/log', '--no-triggers', '--install',
'/home/emanuele/Scaricati/com.ubuntu.filemanager_0.4.525_multi.click']'
returned non-zero exit status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1615757/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs