Làm thế nào để có được gỡ bỏ gói bị hỏng bấm ? Tôi đang thử cài đặt Ubuntu-sdk trong Ubuntu 14.04 của mình. Tôi đang nhận được quá nhiều lỗi.
sudo apt-get autoremove -f click
Reading package lists ... Done
Building dependency tree
Is read status information ... Done
The following packages will be REMOVED:
click
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation released 166 ks of disk space.
Do you want to continue? [Y/n] y
(Reading database ... 350824 files and directories currently installed.)
Removing click (0.4.38.5-0~457~ ubuntu14.04.1) ...
Trace Back (most recent call last):
File "/usr/bin/click", line 31, in <module>
from click import commands
Import Error: can not import name 'commands'
dpkg: error processing package click (--remove):
subprocess command file pre-removal installed returned error exit status 1
Reading was too many errors:
click
E: Sub-process /usr/bin/dpkg Returned an error code (1)
Nếu tôi đang thử lệnh sudo apt-get purge -f
Lỗi tương tự đã xảy ra.