Does this happen because Ubuntu created its own `click` package that is not the same as the one installed by `pip3 install click`? Maybe this bug affects users who have installed that other package?
Before I realized that, I uninstalled click with pip. Now I'm having additional problems. Ubuntu's click is trying to import `click`, but `click` is something else on my system (http://click.pocoo.org/5/). sudo apt-get install -f 100 ↵ Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: linux-headers-4.4.0-79 linux-headers-4.4.0-79-generic linux-image-4.4.0-79-generic linux-image-extra-4.4.0-79-generic linux-signed-image-4.4.0-79-generic Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: click Suggested packages: ubuntu-app-launch-tools | upstart-app-launch-tools The following packages will be upgraded: click 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/14.5 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y (Legado de datumbazo ... 629350 dosieroj kaj dosierujoj aktuale instalitaj.) Preparado por anstataŭigi .../click_0.4.43+16.04.20170613-0ubuntu1_amd64.deb ... Traceback (most recent call last): File "/usr/bin/click", line 37, in <module> import click ImportError: No module named 'click' dpkg: averto: subprocezo malnova skripto pre-removal liveris eraran elir-staton 1 dpkg: ni provas skripton el la nova pako anstataŭe ... Traceback (most recent call last): File "/usr/bin/click", line 37, in <module> import click ImportError: No module named 'click' dpkg: eraro dum procezado de la arĥivo /var/cache/apt/archives/click_0.4.43+16.04.20170613-0ubuntu1_amd64.deb (--unpack): subprocezo nova skripto pre-removal liveris eraran elir-staton 1 Job for click-system-hooks.service failed because the control process exited with error code. See "systemctl status click-system-hooks.service" and "journalctl -xe" for details. click-system-hooks.service couldn't start. Eraroj aperis dum procezado de: /var/cache/apt/archives/click_0.4.43+16.04.20170613-0ubuntu1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to click in Ubuntu. https://bugs.launchpad.net/bugs/1699283 Title: package click 0.4.43+16.04.20160203-0ubuntu3 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1 Status in click package in Ubuntu: Incomplete Bug description: An update that failed. Many thanks for your great contributions and efforts to improve a great product. ProblemType: Package DistroRelease: Ubuntu 16.04 Package: click 0.4.43+16.04.20160203-0ubuntu3 ProcVersionSignature: Ubuntu 4.4.0-79.100-generic 4.4.67 Uname: Linux 4.4.0-79-generic x86_64 NonfreeKernelModules: zfs zunicode zcommon znvpair zavl ApportVersion: 2.20.1-0ubuntu2.6 Architecture: amd64 Date: Tue Jun 20 12:17:04 2017 ErrorMessage: subprocess new pre-removal script returned error exit status 1 InstallationDate: Installed on 2016-04-01 (445 days ago) InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021) RelatedPackageVersions: dpkg 1.18.4ubuntu1.2 apt 1.2.20 SourcePackage: click Title: package click 0.4.43+16.04.20160203-0ubuntu3 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/click/+bug/1699283/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp