Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Not able to install NodeJS version v6.14.3 on Debian 9.4.0

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
tilekar.shrikant
Posts: 1
Joined: 2018-07-18 08:38

Not able to install NodeJS version v6.14.3 on Debian 9.4.0

#1 Post by tilekar.shrikant »

I have installed Debian 9.4.0 on VM Ware ESXi 6.5.0. But I am facing the some issues to install the packages like NodeJS and vim. I am getting below error while installing NodeJS [command used for installation - curl -sL https://deb.nodesource.com/setup_6.x | bash - ]:

Hit:11 http://security.debian.org/debian-security stretch/updates InRelease
Ign:12 http://debian-archive.trafficmanager.net/debian stretch InRelease
Hit:13 http://debian-archive.trafficmanager.net/debian stretch-updates InRelease
Hit:14 http://debian-archive.trafficmanager.net/debian stretch Release
Reading package lists... Done
W: The repository 'cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 xfce-CD Binary-1 20180310-11:21] stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.

## Installing packages required for setup: apt-transport-https...

+ apt-get install -y apt-transport-https > /dev/null 2>&1
^C
root@debian:/home/shri#

arzgi
Posts: 1185
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: Not able to install NodeJS version v6.14.3 on Debian 9.4

#2 Post by arzgi »

tilekar.shrikant wrote:I
Reading package lists... Done
W: The repository 'cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 xfce-CD Binary-1 20180310-11:21] stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
You have to edit

Code: Select all

/etc/apt/sources.list
, comment out the line that refers to installation cd, then you need to add some repositiyry, like in example below.

Code: Select all

 
deb https://deb.debian.org/debian/ stretch main 
deb https://security.debian.org/debian-security main
You have by passed during installation, where this was asked.

After editing sources.list, run as root:

Code: Select all

aptu update && apt upgrade

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: Not able to install NodeJS version v6.14.3 on Debian 9.4

#3 Post by 4D696B65 »

arzgi wrote: After editing sources.list, run as root:

Code: Select all

aptu update && apt upgrade
Correction

Code: Select all

apt update && apt upgrade

arzgi
Posts: 1185
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: Not able to install NodeJS version v6.14.3 on Debian 9.4

#4 Post by arzgi »

4D696B65 wrote:
arzgi wrote: After editing sources.list, run as root:

Code: Select all

aptu update && apt upgrade
Correction

Code: Select all

apt update && apt upgrade
Thanks 4D696B65!

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Not able to install NodeJS version v6.14.3 on Debian 9.4

#5 Post by stevepusser »

Stretch also just has nodejs 4.8.2, while stretch-backports has 8.11.1. If you require that exact 6.14.3 version, it might be installable from snapshot.debian.org.

https://packages.debian.org/search?keyw ... ection=all
MX Linux packager and developer

Post Reply