Cannot install build-essential package

Hi,
I have found the reason for this problem. Some dependencies are missing for build-essentials. The binutils can’t installed, without remove the libc6-dev library. A newer dependencies are allready installed. The new binutil and other dependencies are needed, but they are only in the stretch source

My workaround is:

add temporary the debian stretch source to install the dependecies

sudo nano /etc/apt/sources.list

and add this line:

deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi

and update the package list:

sudo apt-get update
sudo apt-get install binutils
sudo apt-get install libstdc++-4.9-dev
sudo apt-get install gcc-4.9 gcc g++-4.9 g++ dpkg-dev

remove the line from source and update packagelist:

sudo apt-get update

Now you can install the build-essential successfully

here is a little script that do this all automatically

Workaround_BuildEssentials.zip (388 Bytes)

copy it to /home/volumio and make it executable with

chmod +x /home/volumio/Workaround_BuildEssentials.sh

I hope Volumio fix this with next version. :wink:
2aCD

3 Likes