无法在我的 ubuntu 系统上安装 mesa-common-dev:i386

无法在我的 ubuntu 系统上安装 mesa-common-dev:i386

我正在使用 Ubuntu(12.04 LTS) x86_64 GNU/Linux。我必须在 Ubuntu 系统上设置构建环境。尝试安装软件包时mesa-common-dev:i386,我遇到了以下错误。

sudo apt-get install mesa-common-dev:i386

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:
 mesa-common-dev-lts-quantal : Conflicts: mesa-common-dev:i386
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

请建议解决此问题的方法。

答案1

您已经通过12.10 版本(9.0.3)的反向mesa-common-dev移植在系统上正确安装,而 Ubuntu 12.04 仅提供 8.0.4。mesa-common-dev-lts-quantal

因此两者不能同时安装,因此在打包层面存在冲突。此外,您正尝试在 64 位系统上安装 i386 包。

就依赖项而言,mesa-common-dev已正确安装,无需安装额外的软件包来设置您的构建环境。

相关内容