Невозможно «установить-получить» из-за «неудовлетворенных зависимостей» - PullRequest
0 голосов
/ 14 марта 2019

Я пытаюсь установить picocom на мою Ubuntu 16.04, используя команду 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, но это также не помогло. Я боюсь делать что-то вслепую, чтобы случайно не сломать что-то. Может кто-нибудь помочь мне как-нибудь? Спасибо за ваш ответ

...