NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
spiderman1
Jan 20, 2014Guide
APT-GET on Readynas Pro
Hi guys,
I would like to now how to get apt-get to work on my Pro as I would like to install dmidecode.
I have done the following via ssh:
and proceeded to install demidecode this way:
Nothing happens. What am I doing wrong. Thanks.
I would like to now how to get apt-get to work on my Pro as I would like to install dmidecode.
I have done the following via ssh:
READYNASPRO:~# apt-get update
Hit http://www.readynas.com 4.2.25/ Release.gpg
Hit http://www.readynas.com 4.2.25/ Release
Ign http://www.readynas.com 4.2.25/ Packages/DiffIndex
Hit http://www.readynas.com 4.2.25/ Packages
Reading package lists... Done
and proceeded to install demidecode this way:
READYNASPRO:~# apt-get install demidecode
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package demidecode
Nothing happens. What am I doing wrong. Thanks.
7 Replies
Replies have been turned off for this discussion
- mdgm-ntgrNETGEAR Employee Retired1. It is dmidecode not demidecode
2. You need to edit /etc/apt/sources.list to include more than just ReadyNAS.com sources
3. If you extracted the contents of the BIOS upgrade add-on you should find a copy of dmidecode in there, I think. - Oops! I should have keyed in dmidecode one the command line.
By the way, what sources other than Readynas.com should I include if I wish to use apt-get in the future?
Many thanks. - mdgm-ntgrNETGEAR Employee RetiredThere may be a line commented out. Uncomment it. You might want all of: main contrib non-free
- I have now updated my sources.list file and now when I go about installing dmidecode, I get the following:
READYNASPRO:/etc/apt# apt-get install dmidecode
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
libfontconfig1: Depends: libfreetype6 (>= 2.3.5) but 2.2.1-5+etch3 is to be installed
Depends: fontconfig-config (= 2.6.0-3) but it is not going to be installed
php5-imap: Depends: phpapi-220100525+lfs but it is not installable
Depends: php5-common (= 5.4.20-0rnx1) but it is not going to be installed
tonido: Depends: libfreetype6 (>= 2.3.5) but 2.2.1-5+etch3 is to be installed
Depends: fontconfig (>= 2.4.2-1.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
What should I do? - fastfwdVirtuoso
spiderman wrote: I have now updated my sources.list file
To what? - Here is my sources.list file:
READYNASPRO:/etc/apt# cat sources.list
deb http://www.readynas.com/packages 4.2.25/
deb http://www.readynas.com/packages readynas-x86/
#deb http://archive.debian.org/debian etch main
#deb http://archive.debian.org/debian-security etch/updates main contrib non-free
#deb http://archive.debian.org/backports.org etch-backports main contrib non-free
deb http://archive.debian.org/debian etch main contrib non-free - fastfwdVirtuosoYour sources.list looks fine; it is just like mine, except that I have the backports and security repositories uncommented as well.
The errors you are seeing are unrelated to dmidecode; its only dependency is on libc6. You can install the package manually:cd ~
wget http://ftp.debian.org/debian/pool/main/d/dmidecode/dmidecode_2.11-9_i386.deb
dpkg -i dmidecode_2.11-9_i386.deb
The apt-get errors are a separate issue. The packages referenced in the error messages -- libfontconfig1 and tonido (and probably php5-imap, too) -- are not part of the standard ReadyNAS installation. I presume that they are appearing because of earlier changes you made to your installation.
Until you resolve those unmet dependencies, apt-get will complain about them and refuse to install new packages. You can try to resolve the dependencies by doing as apt-get suggests (issuing "apt-get -f install"), but it will probably "fix" the problems by removing those packages.
If you don't have a current backup, you might want to make one. It is not difficult to mess up a system using apt-get, especially if you are pointing its sources.list at repositories other than the default.
Related Content
NETGEAR Academy

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