# Something interesting happened as I was updating NR

**URL:** <https://discourse.nodered.org/t/something-interesting-happened-as-i-was-updating-nr/12497>\
**Category:** General\
**Created:** [23 June 2019 06:49 UTC](https://discourse.nodered.org/t/something-interesting-happened-as-i-was-updating-nr/12497 "2019-06-23T06:49:15Z")\
**Posts on this page:** 7\
**Page:** 1

<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:** [23 June 2019 06:49 UTC](https://discourse.nodered.org/t/something-interesting-happened-as-i-was-updating-nr/12497/1 "2019-06-23T06:49:15Z")

</div>

Tempting fate I am updating a couple more machines (RPI) with the command:  
`sudo npm install -g --unsafe-perm node-red`

Is it of _concern_ that one of the sites it is trying to access is `error 404`?  
Not for me directly, but should someone do something about it?

This is what I see in the CLI:

```auto
node-pre-gyp WARN Using request for node-pre-gyp https download 
node-pre-gyp WARN **Tried to download(404)**: https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.5/bcrypt_lib-v3.0.5-node-v48-linux-arm-glibc.tar.gz 

```

---

<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:** [23 June 2019 07:06 UTC](https://discourse.nodered.org/t/something-interesting-happened-as-i-was-updating-nr/12497/2 "2019-06-23T07:06:25Z")

</div>

I believe you have been advised that the safest way to update node-red on a pi is to use the recommended pi upgrade/install script

---

<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:** [23 June 2019 07:11 UTC](https://discourse.nodered.org/t/something-interesting-happened-as-i-was-updating-nr/12497/3 "2019-06-23T07:11:17Z")

</div>

I have been **vaguely** advised to do that.

My **known working** command from way back is/was:  
`bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)`

I have since found the command I stated as being the "be all, end all command".  
That command updated quite a few RPIs and they work.  
One decided to be difficult and I was told "there is only one command" but not exactly told it.

I know of two and don't know the difference.

Remember: It has been **well established** I'm stupid.

I can live with that. But what I appreciate is concise replies. That will then help me reciprocate.  
I can't be what I have never seen/experienced.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [23 June 2019 07:35 UTC](https://discourse.nodered.org/t/something-interesting-happened-as-i-was-updating-nr/12497/4 "2019-06-23T07:35:29Z")

</div>

> [@Trying\_to\_learn](#):
>
> Is it of _concern_ that one of the sites it is trying to access is `error 404` ?

No. It is not something for you to be concerned about.

---

<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:** [23 June 2019 07:38 UTC](https://discourse.nodered.org/t/something-interesting-happened-as-i-was-updating-nr/12497/5 "2019-06-23T07:38:57Z")

</div>

I'm guessing one of the "mirrors" is down? Y/N?

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [23 June 2019 07:49 UTC](https://discourse.nodered.org/t/something-interesting-happened-as-i-was-updating-nr/12497/6 "2019-06-23T07:49:55Z")

</div>

No. Nothing to do with mirrors.

---

<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:** [23 June 2019 10:20 UTC](https://discourse.nodered.org/t/something-interesting-happened-as-i-was-updating-nr/12497/7 "2019-06-23T10:20:38Z")

</div>

It just means, I think, that a pre-build version of that package can't be found for your platform type and OS.
