apt 和 dpkg 失败,并显示相同的底层 python (3.8.2) 消息。我正在运行 20.04
例如运行以下命令:sudo apt-get -f install
给出这个:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 47 not to upgrade.
3 not fully installed or removed.
Need to get 0 B/47.6 kB of archives.
After this operation, 0 B of additional disk space will be used.
dpkg: error processing package python3 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of python3-jinja2:
python3-jinja2 depends on python3:any; however:
Package python3 is not configured yet.
到目前为止,由于底层 Python 失败,没有任何网络建议有效或通常执行。看来我需要修复我的安装,但我的工具依赖于 Python。
欢迎提出建议和意见。谢谢。
答案1
我建议您备份主文件夹后重新安装操作系统。