Estaba siguiendo esta guía:http://developer.ubuntu.com/en/start/ubuntu-for-devices/porting-new-device/
y cuando llegué al paso:
Luego, instale todos los demás paquetes que necesitará para la compilación ejecutando este comando:
sudo apt-get install 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-multilib
apt
dicho:
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.
¿Cómo puedo arreglar esto? Déjame saber si se necesita más información.
EDITAR:
usando aptitude la solución es:
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)
Esta solución deja esencialmente 1 dependencia sin resolver, y la dependencia es una recomendación:
Leave the following dependencies unresolved:
4) libgl1-mesa-glx:i386 recommends libgl1-mesa-dri:i386 (>= 7.2)
Respuesta1
Puedes intentar usar aptitude. Hasta donde yo sé, tiene un mejor manejo de dependencias.
De lo contrario, instale los paquetes requeridos antes de usar esa línea apt-get.
sudo apt-get install libglapi-mesa libcheese-gtk23 libcheese7 libgl1-mesa-dri