web-dev-qa-db-ja.com

apt-getでインストールできない-pythonがありません

Xubuntuを18.04に更新しましたが、Bluetoothはもうありません。私はブルーマンをインストールしようとしましたが、ここにエラーがあります:

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
Nicolas D

更新済み
for以下のパッケージには、満たされていない依存関係があります。

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を実行できます

Sudo apt-get install --reinstall bluemanを使用してbluemanを再インストールします