我已经完成了对 Ubuntu 20.04 的更新,并且也在尝试更新这些软件包,但是我遇到了一个错误,我的一个软件包被保留了。这是运行“sudo apt upgrade”后的输出:
Reading package lists...
Done Building dependency tree
Reading state information...
Done Calculating upgrade...
Done The following packages have been kept back:
gdb gir1.2-peas-1.0 libpeas-1.0-0 libsmbclient libwbclient0 samba-libs
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Run Code Online (Sandbox Code Playgroud)
我尝试运行多个命令来清除损坏的包/依赖项,包括:
sudo apt clean
sudo apt autoclean
sudo apt autoremove
Run Code Online (Sandbox Code Playgroud)
似乎没有任何效果(甚至 dist-upgrade 也没有任何作用),当我尝试手动更新软件包时,我收到以下消息:
sudo apt-get install gdb
The following packages have unmet dependencies:
gdb : Depends: libpython3.8 (>= 3.8.0~a1) but it is not going to …Run Code Online (Sandbox Code Playgroud)