Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/279.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
安装python apt软件包时软件包损坏_Python_Apt Get_Package Managers - Fatal编程技术网

安装python apt软件包时软件包损坏

安装python apt软件包时软件包损坏,python,apt-get,package-managers,Python,Apt Get,Package Managers,我想在debian(挤压)服务器中安装python apt包: 但我得到了以下错误: 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 a

我想在debian(挤压)服务器中安装
python apt
包:

但我得到了以下错误:

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:
 python-apt : Depends: libapt-inst1.2
              Depends: libapt-pkg4.10
E: Unable to correct problems, you have held broken packages.

我不知道如何更正此错误:(

将libapt-inst1.2和libapt-pkg4.10安装为Linux软件包?是的,这些都是Linux软件包。我无法解决依赖性问题。为什么您不能用Linux的安装工具安装这些软件包?当我键入以下内容时:
apt get Install libapt-inst1.2
我得到以下错误:
apt-utils:dependens:libapt-pkg4.10
以及何时我想安装
libapt-pkg4.10
我收到以下错误:
E:Package'libapt-pkg4.10'没有安装候选程序
请检查!
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:
 python-apt : Depends: libapt-inst1.2
              Depends: libapt-pkg4.10
E: Unable to correct problems, you have held broken packages.