liuxg@liuxg:~$ sudo apt install click
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
python3-colorama
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
python3-click-package
Suggested packages:
ubuntu-app-launch-tools | upstart-app-launch-tools
The following packages will be REMOVED:
python3-click
The following NEW packages will be installed:
click python3-click-package
0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B/74.7 kB of archives.
After this operation, 309 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 349354 files and directories currently installed.)
Removing python3-click (6.2-2ubuntu1) ...
Selecting previously unselected package python3-click-package.
(Reading database ... 349330 files and directories currently installed.)
Preparing to unpack .../python3-click-package_0.4.43+16.04.20160203-0ubuntu2_amd64.deb ...
Unpacking python3-click-package (0.4.43+16.04.20160203-0ubuntu2) ...
Selecting previously unselected package click.
Preparing to unpack .../click_0.4.43+16.04.20160203-0ubuntu2_amd64.deb ...
Unpacking click (0.4.43+16.04.20160203-0ubuntu2) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Processing triggers for man-db (2.7.5-1) ...
Setting up python3-click-package (0.4.43+16.04.20160203-0ubuntu2) ...
Setting up click (0.4.43+16.04.20160203-0ubuntu2) ...
Traceback (most recent call last):
File "/usr/bin/click", line 55, in <module>
from click import commands
ImportError: cannot import name 'commands'
dpkg: error processing package click (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
click
E: Sub-process /usr/bin/dpkg returned an error code (1)