NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
a4ex
Dec 24, 2017Aspirant
unable to install build-essential in 6.9.1
Hello, I'm trying to install build-essential but without any luck. I the prepivious version of the firmware i had done it. Now in 6.9.1 its impossible. my sources are: # cat sources.l...
- Feb 01, 2018
This issue was caused from the `20defaultrelease` file configured to use Debian Jessie.
/etc/apt/apt.conf.d/20defaultrelease
It is not recommended to configure other debian repos to have higher primary. Please be careful when following websites that provide debian guides and may provide conflicts with os libraries, and make sure to keep the readynas repo with higher priority.
Here were some findings for other that might accedently run into this:
To help find a sample package to look at:
# dpkg -l | grep libc ii libc-bin 2.19-18+deb8u10.netgear1 armel GNU C Library: Binaries ii libc-dev-bin 2.19-18+deb8u10 armel GNU C Library: Development binaries ii libc6:armel 2.19-18+deb8u10.netgear1 armel GNU C Library: Shared libraries
...That is the list of packages that you have and the libc-dev-bin is a good example to use for the priority checking and seeing why we are not able to install the parent packaging.
Output from the lab unit:
# dpkg -l | grep libc ii libc-bin 2.19-18+deb8u10.netgear1 armel GNU C Library: Binaries ii libc-dev-bin 2.19-18+deb8u10.netgear1 armel GNU C Library: Development binaries ii libc6:armel 2.19-18+deb8u10.netgear1 armel GNU C Library: Shared libraries ii libc6-dev:armel 2.19-18+deb8u10.netgear1 armel GNU C Library: Development Libraries and Header Files
...The version is showing a newer version that is posted in the readynas repo.
Policy where the issue would start surfacing:
# apt-cache policy libc-dev-bin libc-dev-bin: Installed: 2.19-18+deb8u10 Candidate: 2.19-18+deb8u10 Version table: 2.19-18+deb8u10.netgear1 900 900 http://apt.readynas.com/packages/readynasos 6.9.2/main armel Packages *** 2.19-18+deb8u10 990 990 http://mirrors.kernel.org/debian jessie/main armel Packages 990 http://security.debian.org jessie/updates/main armel Packages 990 http://http.us.debian.org/debian jessie/main armel Packages 100 /var/lib/dpkg/status
It shows that it installed the older version that is not coming from the readynas repo. It also highlights the preferred repo to update from.
Policy from the lab unit:
# apt-cache policy libc-dev-bin libc-dev-bin: Installed: 2.19-18+deb8u10.netgear1 Candidate: 2.19-18+deb8u10.netgear1 Version table: *** 2.19-18+deb8u10.netgear1 900 900 http://apt.readynas.com/packages/readynasos 6.9.2/main armel Packages 100 /var/lib/dpkg/status 2.19-18+deb8u10 500 500 http://mirrors.kernel.org/debian jessie/main armel Packages 500 http://security.debian.org jessie/updates/main armel Packages
It shows that it prefers and installs the readynas repo version.
In this case, I remove the `20defaultrelease` config, and ran the following commands to check:
# apt clean # apt update
# apt install build-essential Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: g++ g++-4.9 libc-dev-bin libc6-dev libstdc++-4.9-dev Suggested packages: gcc-4.9-doc libstdc++6-4.9-dbg glibc-doc manpages-dev libstdc++-4.9-doc Recommended packages: manpages-dev The following NEW packages will be installed: build-essential g++ g++-4.9 libc6-dev libstdc++-4.9-dev The following packages will be upgraded: libc-dev-bin 1 upgraded, 5 newly installed, 0 to remove and 61 not upgraded. Need to get 11.7 MB of archives. After this operation, 39.4 MB of additional disk space will be used. Do you want to continue? [Y/n]
OOM-9
Jan 11, 2018NETGEAR Expert
There are a couple parts that you may want to update.
1) The `/etc/apt/sources.list` does get updated/overwritten on firmware updates, so you may want to have seperate debian apt configuration files in the `sources.list.d` directory.
2) Leads to the debian apt configurations:
For the ReadyNAS development packages, you can find them in the "dev" repo:
echo 'deb http://apt.readynas.com/packages/readynasos 6.9.1 dev' > /etc/apt/sources.list.d/readynas-dev.list
(It looks like this version of the `build-essential` is specific to netgear's version, so you would need the readynasos repo update.)
For the other debian packages that you have listed:
bash -c 'cat > /etc/apt/sources.list.d/debian-other.list' << EOF deb http://ftp.uk.debian.org/debian jessie main non-free deb http://archive.debian.org/debian etch main EOF
What packages were you looking at in the etch version? (Its a little bit on the older side these days.)
a4ex
Jan 29, 2018Aspirant
Hi,
I'm trying to install SABYenc but with no luck. I manage to install sometime ago an older version, but after ReadyNAS update, I'm unable to install new versions.
The problem I get is the same as I had the first time i did it.
pip install sabyenc==3.3.2
...
compilation terminated.
error: command 'arm-linux-gnueabi-gcc' failed with exit status
To over come this problem I installed build-essential.
Now i cant install build-essential, since it fails in dependencies.
- mdgm-ntgrJan 29, 2018NETGEAR Employee Retired
What output do you get when trying to install build-essential?
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!