Error while installing Node Js Legacy in ubuntu?
When I try to run this command
sudo apt-get install nodejs-legacy
it gives it as
Reading package lists... Done Building dependency tree Reading
state information... Done Package nodejs-legacy 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
However the following packages replace it: nodejs:i386 nodejs
How to get a workaround from this? I can't find a proper fix anywhere.
apt nodejs
add a comment |
When I try to run this command
sudo apt-get install nodejs-legacy
it gives it as
Reading package lists... Done Building dependency tree Reading
state information... Done Package nodejs-legacy 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
However the following packages replace it: nodejs:i386 nodejs
How to get a workaround from this? I can't find a proper fix anywhere.
apt nodejs
add a comment |
When I try to run this command
sudo apt-get install nodejs-legacy
it gives it as
Reading package lists... Done Building dependency tree Reading
state information... Done Package nodejs-legacy 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
However the following packages replace it: nodejs:i386 nodejs
How to get a workaround from this? I can't find a proper fix anywhere.
apt nodejs
When I try to run this command
sudo apt-get install nodejs-legacy
it gives it as
Reading package lists... Done Building dependency tree Reading
state information... Done Package nodejs-legacy 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
However the following packages replace it: nodejs:i386 nodejs
How to get a workaround from this? I can't find a proper fix anywhere.
apt nodejs
apt nodejs
asked Sep 24 '18 at 17:19
HumbleHumble
31
31
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The nodejs-legacy package simply installs a symbolic link so that it can be executed using the node
command.
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs nodejs-legacy
Hello it works but while installing it shows this on running second commandsudo apt-get install -y nodejs nodejs-legacy Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'nodejs' instead of 'nodejs-legacy' The following NEW packages will be installed: nodejs 0 upgraded, 1 newly installed, 0 to remove and 1107 not upgraded. Need to get 13.5 MB of archives. After this operation, 64.0 MB of additional disk space will be used.
Like I need legacy one not nodejs
– Humble
Sep 24 '18 at 17:27
Literally all thenodejs-legacy
package does is create a symbolic link so that the commandnode
runs the commandnodejs
- if you're trying to install an older version of nodejs the "legacy" package doesn't do this.
– Kristopher Ives
Sep 24 '18 at 17:37
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1078091%2ferror-while-installing-node-js-legacy-in-ubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The nodejs-legacy package simply installs a symbolic link so that it can be executed using the node
command.
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs nodejs-legacy
Hello it works but while installing it shows this on running second commandsudo apt-get install -y nodejs nodejs-legacy Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'nodejs' instead of 'nodejs-legacy' The following NEW packages will be installed: nodejs 0 upgraded, 1 newly installed, 0 to remove and 1107 not upgraded. Need to get 13.5 MB of archives. After this operation, 64.0 MB of additional disk space will be used.
Like I need legacy one not nodejs
– Humble
Sep 24 '18 at 17:27
Literally all thenodejs-legacy
package does is create a symbolic link so that the commandnode
runs the commandnodejs
- if you're trying to install an older version of nodejs the "legacy" package doesn't do this.
– Kristopher Ives
Sep 24 '18 at 17:37
add a comment |
The nodejs-legacy package simply installs a symbolic link so that it can be executed using the node
command.
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs nodejs-legacy
Hello it works but while installing it shows this on running second commandsudo apt-get install -y nodejs nodejs-legacy Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'nodejs' instead of 'nodejs-legacy' The following NEW packages will be installed: nodejs 0 upgraded, 1 newly installed, 0 to remove and 1107 not upgraded. Need to get 13.5 MB of archives. After this operation, 64.0 MB of additional disk space will be used.
Like I need legacy one not nodejs
– Humble
Sep 24 '18 at 17:27
Literally all thenodejs-legacy
package does is create a symbolic link so that the commandnode
runs the commandnodejs
- if you're trying to install an older version of nodejs the "legacy" package doesn't do this.
– Kristopher Ives
Sep 24 '18 at 17:37
add a comment |
The nodejs-legacy package simply installs a symbolic link so that it can be executed using the node
command.
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs nodejs-legacy
The nodejs-legacy package simply installs a symbolic link so that it can be executed using the node
command.
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs nodejs-legacy
answered Sep 24 '18 at 17:21
Kristopher IvesKristopher Ives
2,83111525
2,83111525
Hello it works but while installing it shows this on running second commandsudo apt-get install -y nodejs nodejs-legacy Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'nodejs' instead of 'nodejs-legacy' The following NEW packages will be installed: nodejs 0 upgraded, 1 newly installed, 0 to remove and 1107 not upgraded. Need to get 13.5 MB of archives. After this operation, 64.0 MB of additional disk space will be used.
Like I need legacy one not nodejs
– Humble
Sep 24 '18 at 17:27
Literally all thenodejs-legacy
package does is create a symbolic link so that the commandnode
runs the commandnodejs
- if you're trying to install an older version of nodejs the "legacy" package doesn't do this.
– Kristopher Ives
Sep 24 '18 at 17:37
add a comment |
Hello it works but while installing it shows this on running second commandsudo apt-get install -y nodejs nodejs-legacy Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'nodejs' instead of 'nodejs-legacy' The following NEW packages will be installed: nodejs 0 upgraded, 1 newly installed, 0 to remove and 1107 not upgraded. Need to get 13.5 MB of archives. After this operation, 64.0 MB of additional disk space will be used.
Like I need legacy one not nodejs
– Humble
Sep 24 '18 at 17:27
Literally all thenodejs-legacy
package does is create a symbolic link so that the commandnode
runs the commandnodejs
- if you're trying to install an older version of nodejs the "legacy" package doesn't do this.
– Kristopher Ives
Sep 24 '18 at 17:37
Hello it works but while installing it shows this on running second command
sudo apt-get install -y nodejs nodejs-legacy Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'nodejs' instead of 'nodejs-legacy' The following NEW packages will be installed: nodejs 0 upgraded, 1 newly installed, 0 to remove and 1107 not upgraded. Need to get 13.5 MB of archives. After this operation, 64.0 MB of additional disk space will be used.
Like I need legacy one not nodejs– Humble
Sep 24 '18 at 17:27
Hello it works but while installing it shows this on running second command
sudo apt-get install -y nodejs nodejs-legacy Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'nodejs' instead of 'nodejs-legacy' The following NEW packages will be installed: nodejs 0 upgraded, 1 newly installed, 0 to remove and 1107 not upgraded. Need to get 13.5 MB of archives. After this operation, 64.0 MB of additional disk space will be used.
Like I need legacy one not nodejs– Humble
Sep 24 '18 at 17:27
Literally all the
nodejs-legacy
package does is create a symbolic link so that the command node
runs the command nodejs
- if you're trying to install an older version of nodejs the "legacy" package doesn't do this.– Kristopher Ives
Sep 24 '18 at 17:37
Literally all the
nodejs-legacy
package does is create a symbolic link so that the command node
runs the command nodejs
- if you're trying to install an older version of nodejs the "legacy" package doesn't do this.– Kristopher Ives
Sep 24 '18 at 17:37
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1078091%2ferror-while-installing-node-js-legacy-in-ubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown