# Interesting even with LINK nodes

**URL:** <https://discourse.nodered.org/t/interesting-even-with-link-nodes/12318>\
**Category:** General\
**Created:** [17 June 2019 10:46 UTC](https://discourse.nodered.org/t/interesting-even-with-link-nodes/12318 "2019-06-17T10:46:17Z")\
**Posts on this page:** 12\
**Page:** 2

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [17 June 2019 12:46 UTC](https://discourse.nodered.org/t/interesting-even-with-link-nodes/12318/21 "2019-06-17T12:46:47Z")

</div>

> [@Colin](#):
>
> What does  
> `apt-cache policy nodejs`  
> say?

Ubuntu:

```auto
me@me-desktop:~$ apt-cache policy nodejs
nodejs:
  Installed: 8.16.0-1nodesource1
  Candidate: 8.16.0-1nodesource1
  Version table:
 *** 8.16.0-1nodesource1 500
        500 https://deb.nodesource.com/node_8.x bionic/main amd64 Packages
        100 /var/lib/dpkg/status
     8.10.0~dfsg-2ubuntu0.4 500
        500 http://au.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
     8.10.0~dfsg-2ubuntu0.2 500
        500 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
     8.10.0~dfsg-2 500
        500 http://au.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
me@me-desktop:~$ 

```

RPI (one of them. The other is hemraging (?spelling) with the update)

```auto
pi@TelePi:~ $ apt-cache policy nodejs
nodejs:
  Installed: (none)
  Candidate: 8.11.1~dfsg-2~bpo9+1
  Version table:
     8.11.1~dfsg-2~bpo9+1 500
        500 http://archive.raspberrypi.org/debian stretch/main armhf Packages
     4.8.2~dfsg-1 500
        500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
pi@TelePi:~ $ 

```

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [17 June 2019 12:47 UTC](https://discourse.nodered.org/t/interesting-even-with-link-nodes/12318/22 "2019-06-17T12:47:00Z")

</div>

> [@dceejay](#):
>
> no need - we can see the issue

Is that the original issue or why nodejs was apparently downgraded?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [17 June 2019 12:50 UTC](https://discourse.nodered.org/t/interesting-even-with-link-nodes/12318/23 "2019-06-17T12:50:02Z")

</div>

The link issue that is the subject of this thread,

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [17 June 2019 12:51 UTC](https://discourse.nodered.org/t/interesting-even-with-link-nodes/12318/24 "2019-06-17T12:51:25Z")

</div>

My request for the `apt-cache` command was related to why the script apparently downgraded nodejs.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [17 June 2019 12:54 UTC](https://discourse.nodered.org/t/interesting-even-with-link-nodes/12318/25 "2019-06-17T12:54:36Z")

</div>

The script wouldn't. If it finds anything more recent than 8.11.1 (the old debian apt install) it leaves it alone.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [17 June 2019 12:56 UTC](https://discourse.nodered.org/t/interesting-even-with-link-nodes/12318/26 "2019-06-17T12:56:30Z")

</div>

> [@dceejay](#):
>
> The script wouldn't.

That's what I thought, but apparently (alledgedly?) something did.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [17 June 2019 13:02 UTC](https://discourse.nodered.org/t/interesting-even-with-link-nodes/12318/27 "2019-06-17T13:02:27Z")

</div>

On a side note I sometimes see odd things on the forum. Andrew's post showing the apt-cache results only just appeared, long after later messages. It has put it in the right place chronologically but it did not appear immediately. This has caused me confusion several times.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [17 June 2019 13:12 UTC](https://discourse.nodered.org/t/interesting-even-with-link-nodes/12318/28 "2019-06-17T13:12:53Z")

</div>

(Innocent bystander)

I post pictures with what I hope is needed. If they don't appear......

Could be the NBN and the great speed is (doesn't) have? (Aussie sarcasm)

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [17 June 2019 13:50 UTC](https://discourse.nodered.org/t/interesting-even-with-link-nodes/12318/29 "2019-06-17T13:50:58Z")

</div>

> [@Trying\_to\_learn](#):
>
> I now use:  
> `sudo npm install -g --unsafe-perm node-red`  
> Though I am .... a bit weary of it as I have been through the motions of `sudo....` before.  
> And it kind of doesn't say if it needs to be run from the _home_ or _node-red_ directory.

`npm -g` === Global - needs sudo.

npm without `-g` === Local - should never use sudo.

You should never use `-g` unless you _know_ that you need it.

That will generally only be if you need a **system-wide** command from the installed package. With Node-RED, installing with `-g` gives you a global `node-red` command for example. You _can_ also install Node-RED locally but that is a different discussion.

With Node-RED, local installations of supporting packages (that provide nodes) should always happen in the `userDir` folder. This is normally `/home/pi/.node-red` AKA `~/.node-red`.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [17 June 2019 13:54 UTC](https://discourse.nodered.org/t/interesting-even-with-link-nodes/12318/30 "2019-06-17T13:54:23Z")

</div>

Yeah....

Ok.

I have updated 3 RPIs to 0.20.5

My main one is not playing the game.

Given they were all the same for install, that is a bit annoying.

And I did the same command from the same place in them all.

~/.node-red

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [17 June 2019 14:15 UTC](https://discourse.nodered.org/t/interesting-even-with-link-nodes/12318/31 "2019-06-17T14:15:33Z")

</div>

> [@Trying\_to\_learn](#):
>
> And I did the same command from the same place in them all.

And what happened (with -g it doesn't matter where you do it from)?

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [17 June 2019 14:17 UTC](https://discourse.nodered.org/t/interesting-even-with-link-nodes/12318/32 "2019-06-17T14:17:40Z")

</div>

All the ones worked.

They installed the new NR and worked.

(Stopping/starting NR may have happened.)

This one...... The _pain in the a$$_ one..... Now just "hangs".

(See New thread)

[Previous page](https://discourse.nodered.org/t/interesting-even-with-link-nodes/12318.md?page=1)
