对于我正在做的一个项目,我使用Debian(8)作为基本操作系统。我正在开发的目标是一个基于ARM的平台。为了便于交叉编译,我使用了debian提供的multiarch功能。在
不幸的是,当我试图为主机系统和交叉编译的系统安装python时,我遇到了一个问题。看起来它们不能挨着安装。在
当我尝试使用apt-get-install(apt-get install python python:armhf)为这两种架构安装python时,我得到以下错误:Reading package lists... Done
Building dependency tree... 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 : Depends: python2.7 (>= 2.7.9-1~) but it is not going to be installed
PreDepends: python-minimal (= 2.7.9-1) but it is not going to be installed
Conflicts: python:armhf but 2.7.9-1 is to be installed
python:armhf : Conflicts: python but 2.7.9-1 is to be installed
如果我首先为主机系统安装python,然后尝试为armhf安装python,apt希望再次删除第一个python安装。在
有人见过这个吗?你知道怎么解决这个问题吗?在