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

Help with issues regarding installation of Debian

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

Postby tilekar.shrikant » 2018-07-18 08:48

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#
tilekar.shrikant
 
Posts: 1
Joined: 2018-07-18 08:38

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

Postby arzgi » 2018-07-18 10:40

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
arzgi
 
Posts: 387
Joined: 2008-02-21 17:03
Location: Finland

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

Postby 4D696B65 » 2018-07-18 11:37

arzgi wrote:After editing sources.list, run as root:
Code: Select all
aptu update && apt upgrade


Correction
Code: Select all
apt update && apt upgrade
User avatar
4D696B65
 
Posts: 2200
Joined: 2009-06-28 06:09

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

Postby arzgi » 2018-07-18 11:44

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!
arzgi
 
Posts: 387
Joined: 2008-02-21 17:03
Location: Finland

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

Postby stevepusser » 2018-07-18 17:14

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
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Kdenlive 18.08.1, Pale Moon 28.1.0, wine-staging 3.17, qBittorrent 4.1.3, Liquorix kernel 4.18-13, Audacity 2.3.0
User avatar
stevepusser
 
Posts: 9994
Joined: 2009-10-06 05:53


Return to Installation

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable