Невозможный установить с Кв. - добираются - пропавшие без вести Python

Я просто обновил свой Xubuntu к 18,04, и у меня больше нет Bluetooth. Я пытался установить blueman и здесь являюсь ошибкой:

nicolas@nicolas-UX530UX:~$ sudo apt-get install python3
[sudo] password for nicolas: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python3 is already the newest version (3.6.5-3ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
nicolas@nicolas-UX530UX:~$ sudo apt-get install blueman
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 blueman : Depends: libpython3.6 (>= 3.6.0~b2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
nicolas@nicolas-UX530UX:~$ 

Насколько я понимаю, что это спрашивает Python> 3.6.0 и как Вы видите, у меня есть он в 3.6.5.

Я попробовал это также, но никакое улучшение:

sudo apt-get install --reinstall python3

У кого-либо есть идея?

ОБНОВЛЕНИЕ: Я не могу установить что-либо связанное с Python, таким образом, это не связанная с Bluetooth проблема:

nicolas@nicolas-UX530UX:~$ sudo apt-get install krita
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 krita : Depends: libpython3.6 (>= 3.6.4~rc1) but it is not going to be installed
         Recommends: libpython3-dev but it is not going to be installed
         Recommends: python3-pyqt5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

ОБНОВЛЕНИЕ 2: Я пытался установить вручную python3.6, и это перестало работать в зависимости libpython3.6-stdlib:

nicolas@nicolas-UX530UX:~$ sudo apt install libpython3.6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libpython3.6 : Depends: libpython3.6-stdlib (= 3.6.5-3) but 3.6.6-1+xenial1 is to be installed
E: Unable to correct problems, you have held broken packages.
nicolas@nicolas-UX530UX:~$ sudo apt install libpython3.6-stdlib
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libpython3.6-stdlib is already the newest version (3.6.6-1+xenial1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

ОБНОВИТЕ 3, Вот мой список ppa, но я не знаю, должен ли я удалить некоторых из них и который удалить?

nicolas@nicolas-UX530UX:~$ sudo ls /etc/apt/sources.list.d
deadsnakes-ubuntu-ppa-xenial.list            nilarimogard-ubuntu-webupd8-xenial.list.save
deadsnakes-ubuntu-ppa-xenial.list.distUpgrade        ondrej-ubuntu-php-xenial.list
dropbox.list                         ondrej-ubuntu-php-xenial.list.distUpgrade
dropbox.list.distUpgrade                 ondrej-ubuntu-php-xenial.list.save
dropbox.list.save                    skype-stable.list
google-chrome.list                   skype-stable.list.distUpgrade
google-chrome.list.distUpgrade               skype-stable.list.save
google-chrome.list.save                  teamviewer.list
nilarimogard-ubuntu-webupd8-xenial.list          teamviewer.list.distUpgrade
nilarimogard-ubuntu-webupd8-xenial.list.distUpgrade  teamviewer.list.save
3
задан 27 August 2018 в 00:52

3 ответа

Для тех, кто все еще застревает при переустановке Python3 после выполнения некоторых безобразных (к Debian) удаление Python3 (и не использование apt-get remove python3 правильно, я предлагаю этот 100%-й шаг восстановления.

https://stackoverflow.com/a/58980420/4379130

0
ответ дан 1 December 2019 в 16:51

Обновленный
поскольку следующие пакеты не встретили зависимости:

blueman : Depends: libpython3.6 (>= 3.6.0~b2) but it is not going to be installed

Вам просто нужно установленный python3.6 вместо этого python3
попытка после этого управляет:

sudo apt-get purge python3.6
sudo apt-get autoremove && sudo apt-get autoclean
sudo apt-get install python3.6*

или у Вас есть другая версия с 3,5 / 3.7, можно работать sudo apt-get install libpython3.6=3.6.0~b2

и затем переустановите свой blueman, с sudo apt-get install --reinstall blueman

2
ответ дан 1 December 2019 в 16:51

Будет лучше, если вы сможете избежать очистки python3.6 (согласно другому ответу)! Это также удалит гнома и другие предметы первой необходимости.

Проверьте, что у вас есть на Python:

apt list --installed | grep python

В частности, это может помочь:

apt list --installed | grep python | grep xenial

Например, мне пришлось удалить их из xenial:

sudo apt remove libpython3.6-minimal libpython3.6-stdlib python3.6-minimal
1
ответ дан 6 December 2019 в 23:14

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

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