【发布时间】:2020-09-01 13:36:48
【问题描述】:
我犯了一个大错误 - 我使用测试存储库升级到 Python 3.8。我之前在运行 Stretch,然后我将 dist-upgraded 到 Buster,但现在我遇到了这个问题。
我可以降级我升级的包以修复 (bc gettext nethogs nmon procps) 的更新吗?
apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
bc gettext nethogs nmon procps
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
apt install bc
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:
libncurses6 : Depends: libtinfo6 (= 6.1+20181013-2+deb10u2) but 6.2-1 is to be installed
E: Unable to correct problems, you have held broken packages.
【问题讨论】:
-
“大错特错”?您是否还安装了外部软件?如果没有,请等待几天,情况应该会有所改善(冲突似乎出现在同一个源包上)。否则你可以使用
aptitude:它会给你一些解决方案 -
使用 Docker 将是解决此问题的好方法 - 它可以防止主机上的任何软件更改干扰您的项目。