NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Aurshur
Jul 09, 2014Aspirant
Readynas Ultra 6, Make command and other problems
Hi,
I am utterly hopeless with linux, I have been trying to a program called Ps3netsrv to enable me to mount ps3, blu ray and dvd isos over my network, however I'm utterly at a loss how to proceed.
My biggest issue is that I'm unable to use the make command, I've SSH'd in as rootand attempted to install it using apt-get install-build essential, but It's unable to find it. Is it something as simplistic as updating the sources file, or am I just too far out of my depth?
Cheers.
I am utterly hopeless with linux, I have been trying to a program called Ps3netsrv to enable me to mount ps3, blu ray and dvd isos over my network, however I'm utterly at a loss how to proceed.
My biggest issue is that I'm unable to use the make command, I've SSH'd in as rootand attempted to install it using apt-get install-build essential, but It's unable to find it. Is it something as simplistic as updating the sources file, or am I just too far out of my depth?
Cheers.
9 Replies
Replies have been turned off for this discussion
- mdgm-ntgrNETGEAR Employee RetiredYou would need to do e.g.
# apt-get update
before installing build-essential. This will update the list of packages stored locally so it will know that the package is on the server when you try to install it and request it.
You may find the GPL is useful too: http://kb.netgear.com/app/answers/detail/a_id/2649/~/gpl-open-source-code-for-programmers - AurshurAspirantHi, thanks for your prompt reply, upon entering that I'm greeted with
nasghul:~# apt-get update
Hit http://www.readynas.com 4.2.23/ Release.gpg
Ign http://www.readynas.com 4.2.23/ Translation-en_US
Hit http://archive.debian.org etch Release.gpg
Ign http://archive.debian.org etch/non-free Translation-en_US
Hit http://www.readynas.com 4.2.23/ Release
Hit http://archive.debian.org etch Release
Ign http://www.readynas.com 4.2.23/ Packages/DiffIndex
Ign http://archive.debian.org etch/non-free Packages/DiffIndex
Hit http://www.readynas.com 4.2.23/ Packages
Hit http://archive.debian.org etch/non-free Packages
Reading package lists... Done
Following that I get the message..Reading package lists... Done
Building dependency tree
Reading state information... Done
Package build-essential is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package build-essential has no installation candidate
So I'm at a bit of a loss :( - mdgm-ntgrNETGEAR Employee RetiredPerhaps update to 4.2.26 or the 4.2.27 RC and try again.
What does your /etc/apt/sources.list look like? - AurshurAspirantThe update didn't seem to help.
How do I view my sources.list I've read that I'll need a terminal based text editor..which I can't install at the moment :( - mdgm-ntgrNETGEAR Employee RetiredYou can do e.g.
# cat /etc/apt/sources.list - AurshurAspirantSorry, forgive my ignorance, this is way out of my comfort zone :oops:
nasghul:~# cat /etc/apt/sources.list
deb http://www.readynas.com/packages 4.2.26/
#deb http://archive.debian.org/debian etch main
I'm guessing it should be longer than that :lol: - mdgm-ntgrNETGEAR Employee RetiredNo need to apologise. I had to learn about this too some years back.
See the # at the start of the last line.
You need to remove that e.g. using vi
# vi /etc/apt/sources.list
Lookup the MAN page for vi to see how to use it.
You should find it very useful.
After you have uncommented the line and saved your changes you can try again
# apt-get update && apt-get install build-essential - chirpaLuminaryOr if you don't want to use vi, just:
echo "deb http://archive.debian.org/debian etch main" >> /etc/apt/sources.list
That will add the line without the commented out portion. - fastfwdVirtuosoAnd if you ever do want or need to use vi (it's worth knowing the basics, since vi is the one text editor that's practically guaranteed to be on any unix system you encounter), you might find this vi cheat sheet more useful than the man page.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!