Как я устраняю проблему зависимости с по левую сторону судна, и склонный - добираются (человечность 16.04, обновленная от 14,04)

Я испытываю затруднения из-за зависимостей, и склонный - получают обновление. Я озирался и попробовал группу approches от этого сайта и другого материала, найденного на Google.

b@asus:~$ sudo apt-get upgrade
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:
 apport : Depends: python3-apport (>= 2.20.1-0ubuntu2.1) but 2.20.1-0ubuntu2 is installed
 apport-gtk : Depends: python3-apport (>= 2.20.1-0ubuntu2.1) but 2.20.1-0ubuntu2 is installed
E: Unmet dependencies. Try using -f.

Я попытался использовать sudo Кв. - получают установку-f, и другим вещам нравится, автоудаляют и автоубирают, но у меня нет удачи.

Это также подошло, когда я склонный - получаю обновление:

Get:124 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 compizconfig-settings-manager all 1:0.9.12.2+16.04.20160526-0ubuntu1 [576 kB]
Fetched 160 MB in 2min 47s (955 kB/s)                                          
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 252887 files and directories currently installed.)
Preparing to unpack .../python3-problem-report_2.20.1-0ubuntu2.1_all.deb ...
  File "/usr/bin/py3clean", line 106

          ^
SyntaxError: unexpected EOF while parsing
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
  File "/usr/bin/py3clean", line 106

          ^
SyntaxError: unexpected EOF while parsing
dpkg: error processing archive /var/cache/apt/archives/python3-problem-report_2.20.1-0ubuntu2.1_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Preparing to unpack .../python3-apport_2.20.1-0ubuntu2.1_all.deb ...
  File "/usr/bin/py3clean", line 106

          ^
SyntaxError: unexpected EOF while parsing
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
  File "/usr/bin/py3clean", line 106

          ^
SyntaxError: unexpected EOF while parsing
dpkg: error processing archive /var/cache/apt/archives/python3-apport_2.20.1-0ubuntu2.1_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Preparing to unpack .../init-system-helpers_1.29ubuntu2_all.deb ...
Unpacking init-system-helpers (1.29ubuntu2) over (1.29ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/python3-problem-report_2.20.1-0ubuntu2.1_all.deb
 /var/cache/apt/archives/python3-apport_2.20.1-0ubuntu2.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)    
0
задан 6 June 2016 в 21:50

1 ответ

Я решил ту же проблему только при помощи python 2.7 вместо python 3.4:

 sudo rm python
 sudo ln -s python2.7 python
 sudo apt-get update
 sudo apt-get upgrade
 sudo rm python
 sudo ln -s python3.4 python
0
ответ дан 23 December 2019 в 17:23

Другие вопросы по тегам:

Похожие вопросы: