BelaPlatform / bela-image-builder

Scripts to build a Bela image from scratch
MIT License
37 stars 16 forks source link

libasound2-dev has some unmet dependencies but it works #11

Closed giuliomoro closed 7 years ago

giuliomoro commented 7 years ago

Issue by giuliomoro Tuesday Apr 25, 2017 at 00:18 GMT Originally opened as https://github.com/LBDonovan/image-builder/issues/11


libasound2-dev

I tried to install it

root@beaglebone:~/Bela# apt-get install libasound2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libasound2-dev : Depends: libasound2 (= 1.1.3-5) but it is not going to be installed
 libc6-dev : Depends: linux-libc-dev (>= 4.9.2-2) but 1cross is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Instead of doing apt --fix-broken install I did:

root@beaglebone:~/Bela# apt-get install linux-libc-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  linux-libc-dev

which installed linux-libc-dev armhf 4.9.18-1 at which point I was able to install libasound2-dev

giuliomoro commented 7 years ago

Comment by LBDonovan Tuesday Apr 25, 2017 at 07:25 GMT


Yeah ok I was going to ask you about this. When I build the kernel with build_deb.sh from Robert Nelson's repo it creates 4 packages, linux-image, linux-firmware, linux-headers and linux-libc-dev. The first three install fine but the fourth gives a warning (something about overwriting a more recent version iirc).

My thinking was that the libc version should be the same as the kernel but maybe I should not install that package and stick with the more recent libc-dev package installed by apt-get?

giuliomoro commented 7 years ago

Comment by giuliomoro Tuesday Apr 25, 2017 at 12:54 GMT


I think it makes sense to keep the one you install from the kernel. How you do that without apt-get trying to overwrite it, is to be discovered

giuliomoro commented 7 years ago

Basically the same as #15. Closed as duplicate.