Nic*_*s D 7 xubuntu python bluetooth 18.04
我刚刚将我的 Xubuntu 更新到 18.04,而且我已经没有蓝牙了。我尝试安装 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:~$
Run Code Online (Sandbox Code Playgroud)
据我所知,它要求 python > 3.6.0,正如你所看到的,我在 3.6.5 有它。
我也试过这个,但没有改进:
sudo apt-get install --reinstall python3
Run Code Online (Sandbox Code Playgroud)
有没有人有想法?
更新:我无法安装任何与 python 相关的东西,所以它不是蓝牙相关的问题:
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.
Run Code Online (Sandbox Code Playgroud)
更新 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.
Run Code Online (Sandbox Code Playgroud)
更新 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
Run Code Online (Sandbox Code Playgroud)
更新了
以下软件包具有未满足的依赖关系:
blueman : Depends: libpython3.6 (>= 3.6.0~b2) but it is not going to be installed
Run Code Online (Sandbox Code Playgroud)
您只需要安装python3.6,而不是python3
尝试执行以下命令:
sudo apt-get purge python3.6
sudo apt-get autoremove && sudo apt-get autoclean
sudo apt-get install python3.6*
Run Code Online (Sandbox Code Playgroud)
或者您有 3.5 / 3.7 的其他版本,您可以运行sudo apt-get install libpython3.6=3.6.0~b2
然后重新安装你的blueman,sudo apt-get install --reinstall blueman
小智 1
对于那些在对 Python3 进行了一些邪恶的(对于 Debian)删除(并且没有正确使用)之后仍然坚持重新安装 Python3 的人,apt-get remove python3我提供了这个 100% 恢复步骤。
| 归档时间: |
|
| 查看次数: |
32971 次 |
| 最近记录: |