我尝试安装任何东西时都会收到此错误。我尝试
sudo apt-get install python2.7-minimal
。没用。有人能帮帮我吗?
以下是代码。
E: Could not perform immediate configuration on 'python2.7-minimal'.Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
答案1
打开终端并执行:
sudo apt-get install -o APT::Immediate-Configure=false -f apt python-minimal
如果你遇到依赖性问题,例如
libglib2.0-0: Recommends: libglib2.0-data but it is not going to be installed
执行以下命令:
sudo apt-get install libglib2.0-dev
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -o APT::Immediate-Configure=false -f apt python-minimal
sudo apt-get dist-upgrade
sudo apt-get autoremove
来源这里
以供参考这里