thanks Xinbenlv, I came across some similar errors and fixed it
Installed so many times but nodebb correctly was not running please help
-
This is the error i got
Reading package lists... Done
Building dependency tree... Done
Package imagemagick 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 sourceE: Unable to locate package git
E: Unable to locate package nodejs
E: Unable to locate package nodejs-legacy
E: Unable to locate package npm
E: Unable to locate package redis-server
E: Package 'imagemagick' has no installation candidate
[email protected]:~# -
@SANTOSH-KUMAR Just do what's in the docs, there's no additional steps. For the imagemagick error, run
sudo apt-get update
then carry on as normal. -
another error
[email protected]:~# sudo apt-get install git nodejs nodejs-legacy npm redis-server im
agemagick
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package nodejs-legacy -
@SANTOSH-KUMAR Having re-read your first post. Ubuntu 12.04 does't have a nodejs-legacy package. And the nodejs package available is too old. Before you go too far into this install, I'd suggest running Ubuntu 14.04 instead, it's more up to date. If you're on Digital Ocean, select 14.04 Ubuntu instead of 12.04.
Then do the install, you shouldn't have a problem then.
-
@a_5mith Can nodebb and node js support
ubuntu 14.04 x86 minimal -
@SANTOSH-KUMAR I run 14.04 on one live site and two development servers, it works fine.
I recommend you run 14.04.
-
@a_5mith also but how it worked yesterday on ubuntu 12.04.All installed correctly
-
@SANTOSH-KUMAR That would be one of life's mysteries.
Trust me, it would be beneficial for you to run Ubuntu 14.04, then follow the guides.
-
i tried
@a_5mith
sudo apt-get install git nodejs nodejs-legacy npm redis-server imagemagick
then result is
-bash: sudo: command not found
so tried
sudo apt-get update
again result is
-bash: sudo: command not found -
If it says command not found, then sudo is not installed.
-
how to install it
-
@SANTO007 Have you tried searching for that error message online?
This may help you: http://superuser.com/questions/709515/command-not-found-when-using-sudo