我正在尝试使用命令在Ubuntu 16.04上安装picocom
sudo apt-get install picocom
。那就是我收到的:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
python3.6-tk-dbg : Depends: python3.6-tk (= 3.6.8-1+xenial1)
E: Unmet dependencies. Try 'apt-get -f install' with no packages
(or specify a solution).
我尝试过sudo apt-get -f install
,然后收到:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
python3.6-tk
Suggested packages:
tix
The following NEW packages will be installed:
python3.6-tk
0 upgraded, 1 newly installed, 0 to remove and 226 not upgraded.
1 not fully installed or removed.
Need to get 0 B/74,8 kB of archives.
After this operation, 165 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 463507 files and directories currently installed.)
Preparing to unpack .../python3.6-tk_3.6.8-1+xenial1_amd64.deb ...
Unpacking python3.6-tk:amd64 (3.6.8-1+xenial1) ...
dpkg: error processing archive /var/cache/apt/archives/python3.6-
tk_3.6.8-1+xenial1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python3.6/lib-dynload/_tkinter.cpython-36m-
x86_64-linux-gnu.so', which is also in package python3-tk:amd64
3.6.5-3~16.04.york4
Errors were encountered while processing:
/var/cache/apt/archives/python3.6-tk_3.6.8-1+xenial1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
我也尝试过sudo apt-get clean
,sudo apt-get autoclean
,apt-get update
,但也无济于事。我担心盲目地做某事,以免意外破坏某件事。有人可以以某种方式帮助我吗?
谢谢您的回复