为什么这些包无法下载?

为什么这些包无法下载?

我遵循了以下指南:http://developer.ubuntu.com/en/start/ubuntu-for-devices/porting-new-device/

当我走到这一步时:

然后,通过运行以下命令安装构建所需的所有其他包:

sudo apt-get 安装 git gnupg flex bison gperf build-essential \
  zip bzr curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
  libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
  libgl1-mesa-dev g++-multilib mingw32 tofrodos \
  python-markdown libxml2-utils xsltproc zlib1g-dev:i386 schedtool \
  g++-4.8-多库

apt说:

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:
 libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 10.1.3-0ubuntu0.4)
                    Recommends: libgl1-mesa-dri:i386 (>= 7.2)
 unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not          going to be installed
                    Depends: libcheese7 (>= 3.0.1) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

我该如何解决这个问题?如果需要更多信息,请告诉我。

编辑:

使用 aptitude 的解决方案是:

The following actions will resolve these dependencies:

  Keep the following packages at their current version:          
1)      binutils:i386 [Not Installed]                                
2)      cpp:i386 [Not Installed]                                     
3)      cpp-4.8:i386 [Not Installed]                                 
4)      gcc:i386 [Not Installed]                                     
5)      gcc-4.8:i386 [Not Installed]                                 
6)      libgl1-mesa-dri:i386 [Not Installed]                         
7)      libgl1-mesa-glx:i386 [Not Installed]                         
8)      libglapi-mesa:i386 [Not Installed]                           

  Leave the following dependencies unresolved:                   
9)      libc6-dev:i386 recommends gcc:i386 | c-compiler:i386         
10)     libgl1-mesa-glx:i386 recommends libgl1-mesa-dri:i386 (>= 7.2)

该解决方案本质上留下了 1 个未解决的依赖关系,并且该依赖关系是一个建议:

 Leave the following dependencies unresolved:                   
4)     libgl1-mesa-glx:i386 recommends libgl1-mesa-dri:i386 (>= 7.2)

答案1

您可以尝试使用 aptitude。据我所知,它具有更好的依赖性处理能力。

否则,请在使用该 apt-get 行之前安装所需的软件包。

sudo apt-get install libglapi-mesa libcheese-gtk23 libcheese7 libgl1-mesa-dri

相关内容