Saturday, October 26, 2019

14.04 - Why don't these packages download?



I was following this guide: http://developer.ubuntu.com/en/start/ubuntu-for-devices/porting-new-device/



and when I got to the step:





Then, install all the other packages you will need for the build by running this command:




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 said:



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.


How can I fix this? Let me know if more information is needed.




EDIT:



using aptitude the solution is:



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)



This solution leaves essentially 1 unresolved dependancy, and the dependancy is a recommendation:



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


You can try using aptitude. It has better dependency handling as far as I know.



Otherwise install the required packages before using that apt-get line.




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

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...