我刚刚按照软件升级建议升级了我的 ubuntu VM:
root@ubuntu:/# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
我目前正在使用这台机器学习 Python 和其他技能。此升级删除了我需要的一些应用程序,包括 IDLE3(Python 解释器)。当我尝试安装它时,我收到此消息:
root@ubuntu:/# apt-get install -f idle3
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:
idle3 : Depends: idle (>= 3.6.7-1~18.04) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
有什么方法可以解决这个问题而不需要安装新的虚拟机吗?