You are not logged in.
DI attempted to install NodeJS on BL and got the following error:
## Your distribution, identified as "bunsen-hydrogen", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support
In turn, I went to the guthub site and posted a request that they make it available for Bunsen Labs. And I guess I will see where that goes. In the meantime, I was hoping someone might be able to tell me how and if there is a way to install it, regardless of the support?
I ask, as this is a very important package for the stuff I want to do. It is a really big deal and emerging, I think, as an essential package for lots of folks.
Thanks in advance.
Last edited by perchslayer (2016-03-13 23:21:13)
Roland Shield
n00b 2.x
ass.clown@perchslayer.com | "...'ere I am, J.H."
Offline
You can probably get it to work by using:
sudo apt-get purge bunsen-os-release
Once NodeJS installed, you can re-install the package again.
Offline
You should be able to install it, because they support Debian Stable (jessie), which is what BL is based on.
Their Manual Installation page has:
The setup script performs the following steps:
In the commands below you should replace the following placeholders:
{DISTRO}: replace with the codename of your distro, which will be something like: wheezy, jessie, sid or precise, trusty, utopic, vivid (or other supported Ubuntu or Debian distro)
{VERSION}: replace with the version of Node.js or io.js you want to install, it should take the following form: node_0.10, node_0.12 or iojs_1.x, iojs_2.x, etc.
So replace "{DISTRO}" with "jessie" etc is what I would try.
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Right. That doesn't work. But I appreciate the suggestion. There is another strategy that I am attempting to leverage here at present. And it involves using a linux port of a package called "Homebrew" that was originally made for OSX, cleverly called Linuxbrew
And while Linuxbrew was a boon to find for other interesting reasons, it does not solve the problem at hand.
I would like to respectfully ask anyone who offers any help with this request do so after having successfully installing NodeJS and npm on their own BL desktop.
Thanks.
Roland Shield
n00b 2.x
ass.clown@perchslayer.com | "...'ere I am, J.H."
Offline
That doesn't work
*What* doesn't work?
There were two suggestions given.
Please post exactly what you tried and any terminal output.
EDIT: I installed NodeJS a while ago in a now gone BunsenLabs installation (possibly before bunsen-os-release was packaged) so I know it should work.
Last edited by Head_on_a_Stick (2016-03-13 18:46:43)
Offline
I would like to respectfully ask anyone who offers any help with this request do so after having successfully installing NodeJS and npm on their own BL desktop.
I can confirm that removing bunsen-os-release then re-running the script will successfully install Node.JS in BunsenLabs.
I have just installed vtop using npm and it all works just fine.
EDIT: Be aware that the installation script adds a file at /etc/apt/sources.list.d/nodesource.list containing their repository line; simply remove this file and use `sudo apt update` to clear these repositories from your system.
Last edited by Head_on_a_Stick (2016-03-13 19:34:54)
Offline
I could not find a "manual installation page and there is no link above to it for the one mentioned that I suppose exists on the NodeJS site. But I did find the installation page in 3 locations
Here: https://nodejs.org/en/download/package-manager/http://unix.stackexchange.com/questions … ian-jessie
Here: http://unix.stackexchange.com/questions … ian-jessie
Here: https://www.rosehosting.com/blog/how-to … -debian-8/
And when I issue the curl command and run it, I get the following:
roland@r0r0:~$ curl -sL [url]https://deb.nodesource.com/setup_5.x[/url] | sudo -E bash -
[sudo] password for roland:
## Installing the NodeSource Node.js 5.x repo...
## Populating apt-get cache...
+ apt-get update
Hit [url]http://qgis.org[/url] jessie InRelease
Ign [url]http://packages.linuxmint.com[/url] debian InRelease
Ign [url]http://dl.google.com[/url] stable InRelease
Get:1 [url]http://security.debian.org[/url] jessie/updates InRelease [63.1 kB]
Ign [url]http://ftp.us.debian.org[/url] jessie InRelease
Hit [url]http://dl.google.com[/url] stable Release.gpg
Hit [url]http://qgis.org[/url] jessie/main amd64 Packages
Get:2 [url]http://ftp.us.debian.org[/url] jessie-updates InRelease [142 kB]
Hit [url]http://packages.linuxmint.com[/url] debian Release.gpg
Hit [url]http://dl.google.com[/url] stable Release
Hit [url]http://dl.google.com[/url] stable/main amd64 Packages
Hit [url]http://deb.opera.com[/url] stable InRelease
Hit [url]http://www.deb-multimedia.org[/url] jessie InRelease
Hit [url]http://pkg.bunsenlabs.org[/url] bunsen-hydrogen InRelease
Hit [url]http://packages.linuxmint.com[/url] debian Release
Get:3 [url]http://security.debian.org[/url] jessie/updates/main amd64 Packages [217 kB]
Hit [url]http://deb.opera.com[/url] stable InRelease
Hit [url]http://www.deb-multimedia.org[/url] jessie/main amd64 Packages
Hit [url]http://pkg.bunsenlabs.org[/url] bunsen-hydrogen/main amd64 Packages
Hit [url]http://packages.linuxmint.com[/url] debian/import amd64 Packages
Hit [url]http://deb.opera.com[/url] stable/non-free amd64 Packages
Hit [url]http://www.deb-multimedia.org[/url] jessie/non-free amd64 Packages
Hit [url]http://ftp.us.debian.org[/url] jessie Release.gpg
Get:4 [url]http://ftp.us.debian.org[/url] jessie-updates/main amd64 Packages/DiffIndex [1,012 B]
Ign [url]http://qgis.org[/url] jessie/main Translation-en_US
Get:5 [url]http://ftp.us.debian.org[/url] jessie-updates/contrib amd64 Packages [32 B]
Ign [url]http://dl.google.com[/url] stable/main Translation-en_US
Ign [url]http://qgis.org[/url] jessie/main Translation-en
Get:6 [url]http://ftp.us.debian.org[/url] jessie-updates/non-free amd64 Packages/DiffIndex [736 B]
Ign [url]http://dl.google.com[/url] stable/main Translation-en
Get:7 [url]http://ftp.us.debian.org[/url] jessie-updates/contrib Translation-en [14 B]
Hit [url]http://deb.opera.com[/url] stable/non-free amd64 Packages
Get:8 [url]http://security.debian.org[/url] jessie/updates/contrib amd64 Packages [2,506 B]
Get:9 [url]http://ftp.us.debian.org[/url] jessie-updates/main Translation-en/DiffIndex [736 B]
Get:10 [url]http://security.debian.org[/url] jessie/updates/non-free amd64 Packages [14 B]
Get:11 [url]http://security.debian.org[/url] jessie/updates/contrib Translation-en [1,211 B]
Get:12 [url]http://ftp.us.debian.org[/url] jessie-updates/non-free Translation-en/DiffIndex [736 B]
Get:13 [url]http://security.debian.org[/url] jessie/updates/main Translation-en [118 kB]
Hit [url]http://ftp.us.debian.org[/url] jessie Release
Hit [url]http://ftp.us.debian.org[/url] jessie/main amd64 Packages
Hit [url]http://ftp.us.debian.org[/url] jessie/non-free amd64 Packages
Hit [url]http://ftp.us.debian.org[/url] jessie/contrib amd64 Packages
Get:14 [url]http://security.debian.org[/url] jessie/updates/non-free Translation-en [14 B]
Hit [url]http://ftp.us.debian.org[/url] jessie/contrib Translation-en
Ign [url]http://pkg.bunsenlabs.org[/url] bunsen-hydrogen/main Translation-en_US
Hit [url]http://ftp.us.debian.org[/url] jessie/main Translation-en
Ign [url]http://pkg.bunsenlabs.org[/url] bunsen-hydrogen/main Translation-en
Ign [url]http://packages.linuxmint.com[/url] debian/import Translation-en_US
Hit [url]http://ftp.us.debian.org[/url] jessie/non-free Translation-en
Ign [url]http://packages.linuxmint.com[/url] debian/import Translation-en
Ign [url]http://deb.opera.com[/url] stable/non-free Translation-en_US
Ign [url]http://www.deb-multimedia.org[/url] jessie/main Translation-en_US
Ign [url]http://deb.opera.com[/url] stable/non-free Translation-en
Ign [url]http://www.deb-multimedia.org[/url] jessie/main Translation-en
Ign [url]http://deb.opera.com[/url] stable/non-free Translation-en_US
Ign [url]http://www.deb-multimedia.org[/url] jessie/non-free Translation-en_US
Ign [url]http://www.deb-multimedia.org[/url] jessie/non-free Translation-en
Ign [url]http://deb.opera.com[/url] stable/non-free Translation-en
Fetched 548 kB in 6s (87.1 kB/s)
Reading package lists... Done
## Confirming "bunsen-hydrogen" is supported...
+ curl -sLf -o /dev/null '[url]https://deb.nodesource.com/node_5.x/dists/bunsen-hydrogen/Release[/url]'
## Your distribution, identified as "bunsen-hydrogen", is not currently supported, please contact NodeSource at [url]https://github.com/nodesource/distributions/issues[/url] if you think this is incorrect or would like your distribution to be considered for support
roland@r0r0:~$
Last edited by Head_on_a_Stick (2016-03-13 22:05:37)
Roland Shield
n00b 2.x
ass.clown@perchslayer.com | "...'ere I am, J.H."
Offline
Have you actually been reading any of my posts?
I can confirm that removing bunsen-os-release then re-running the script will successfully install Node.JS in BunsenLabs.
https://forums.bunsenlabs.org/viewtopic … 825#p21825
So run these commands:
sudo apt-get purge bunsen-os-release
curl -sL https://deb.nodesource.com/setup_5.x | bash -
sudo apt-get install --yes nodejs
sudo apt-get install bunsen-os-release
Offline
perchslayer wrote:That doesn't work
*What* doesn't work?
There were two suggestions given.
Please post exactly what you tried and any terminal output.
EDIT: I installed NodeJS a while ago in a now gone BunsenLabs installation (possibly before bunsen-os-release was packaged) so I know it should work.
Reading package lists... Done
## Confirming "bunsen-hydrogen" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_5.x/dists/bunsen-hydrogen/Release'
## Your distribution, identified as "bunsen-hydrogen", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support
roland@r0r0:~$
Roland Shield
n00b 2.x
ass.clown@perchslayer.com | "...'ere I am, J.H."
Offline
Have you actually been reading any of my posts?
I wrote:I can confirm that removing bunsen-os-release then re-running the script will successfully install Node.JS in BunsenLabs.
https://forums.bunsenlabs.org/viewtopic … 825#p21825
So run these commands:
sudo apt-get purge bunsen-os-release curl -sL https://deb.nodesource.com/setup_5.x | bash - sudo apt-get install --yes nodejs sudo apt-get install bunsen-os-release
I thought you were kidding with the above as it seemed to suggest that I unistall my OS. But I just did it anyway and this is what I get:
roland@r0r0:~$ sudo apt-get purge bunsen-os-release
[sudo] password for roland:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'bunsen-os-release' is not installed, so not removed
The following package was automatically installed and is no longer required:
bunsen-python-apt-template
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 179 not upgraded.
roland@r0r0:~$ sudo curl -sL https://deb.nodesource.com/setup_5.x | bash -
## Installing the NodeSource Node.js 5.x repo...
## Populating apt-get cache...
+ apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Error executing command, exiting
roland@r0r0:~$
Roland Shield
n00b 2.x
ass.clown@perchslayer.com | "...'ere I am, J.H."
Offline
So, does this mean that you were kidding and I just hosed my system?
Roland Shield
n00b 2.x
ass.clown@perchslayer.com | "...'ere I am, J.H."
Offline
+ apt-get update E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to lock directory /var/lib/apt/lists/ E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? Error executing command, exiting roland@r0r0:~$
You have either synaptic open in the background or another terminal window running an APT-related command.
Close all other windows except the terminal from which you are running these commands and try again.
EDIT: Sorry, that's nonsense, I wasn't concentrating :8
Offline
So, does this mean that you were kidding and I just hosed my system?
No, bunsen-os-release is a package that simply supplies some text files to identify your system as BunsenLabs.
Without that package, your system will be identified as Debian jessie by most scripts and applications (this should not cause any problems and reinstalling the package reverts this).
Offline
I just shutdown and started my system and this is what I get on the second command:
roland@r0r0:~$ sudo apt-get purge bunsen-os-release
[sudo] password for roland:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'bunsen-os-release' is not installed, so not removed
The following package was automatically installed and is no longer required:
bunsen-python-apt-template
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 179 not upgraded.
roland@r0r0:~$ curl -sL https://deb.nodesource.com/setup_5.x | bash -
## Installing the NodeSource Node.js 5.x repo...
## Populating apt-get cache...
+ apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Error executing command, exiting
roland@r0r0:~$
Roland Shield
n00b 2.x
ass.clown@perchslayer.com | "...'ere I am, J.H."
Offline
So to be clear, when I did it the first time and the second time, there was no other process running in any terminal window. In fact, the only other thing running is my browser to see this page and the conky scripts that put cute stuff on my desktop.
Roland Shield
n00b 2.x
ass.clown@perchslayer.com | "...'ere I am, J.H."
Offline
Give me a minute...
Offline
Is there some sort of corruption in the stuff in /var/lib/???? ?!
Roland Shield
n00b 2.x
ass.clown@perchslayer.com | "...'ere I am, J.H."
Offline
As an aside question, what does this message mean? "## Your distribution, identified as "bunsen-hydrogen", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support" ?
Roland Shield
n00b 2.x
ass.clown@perchslayer.com | "...'ere I am, J.H."
Offline
Right, the script needs to be run as root, which is not very wise at all.
Use:
sudo -i
apt-get purge bunsen-os-release
curl -sL https://deb.nodesource.com/setup_5.x | bash -
apt-get install nodejs
apt-get install bunsen-os-release
exit
Generally speaking, you should *never* download and run random scripts as root.
Offline
As an aside question, what does this message mean? "## Your distribution, identified as "bunsen-hydrogen", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support" ?
It just means that they don't have a section for "BunsenLabs" in their set up script, the "Debian jessie" setting works just fine though.
Offline