# Debian 8 (Jessie) not supported in update-script

**URL:** https://discourse.nodered.org/t/debian-8-jessie-not-supported-in-update-script/41174
**Category:** General
**Created:** [17 February 2021 15:58 UTC](https://discourse.nodered.org/t/debian-8-jessie-not-supported-in-update-script/41174 "2021-02-17T15:58:32Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Harm](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/harm/32/37417_2.png) [@Harm](https://discourse.nodered.org/u/Harm)
#### Post date: [17 February 2021 15:58 UTC](https://discourse.nodered.org/t/debian-8-jessie-not-supported-in-update-script/41174/1 "2021-02-17T15:58:33Z")

</div>

In the [Running on Raspberry Pi : Node-RED](https://nodered.org/docs/getting-started/raspberrypi#prerequisites) page it says the minimum version of Raspbian is jessie. This is incorrect. I tried to upgrade yesterday and ran into this big problem (a non-functioning Node-RED):

```auto
This can take 20-30 minutes on the slower Pi versions - please wait.

  Stop Node-RED ✔
  Remove old version of Node-RED ✔
  Remove old version of Node.js ✔ v6
  Update Node.js LTS ✘ Failed to install Node.js - Exit
  Clean npm cache
  Install Node-RED core
  Move global nodes to local
  Install extra Pi nodes
  Npm rebuild existing nodes
  Add shortcut commands
  Update systemd script

Error:
	nodejs : Depends: libstdc++6 (>= 5.2) but 4.9.2-10+deb8u2 is to be installed

```

I am no linux expert, but after a very long frustrating battle I managed to install Node.js v10 manually (example from: [GitHub - nodesource/distributions: NodeSource Node.js Binary Distributions](https://github.com/nodesource/distributions)):

```auto
	curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
	sudo bash nodesource_setup.sh
	sudo apt-get install nodejs
	sudo apt-get install build-essential

```

And then I edited the above update-script in such a way that the Node.js part is skipped. Finally it was able to install the latest version of Node-RED v1.2.9

I know there is an existing topic about this ([Raspian Jessie not supported with latest bash script](https://discourse.nodered.org/t/raspian-jessie-not-supported-with-latest-bash-script/17617)), but it is already closed, and mentions a solution of upgrading to stretch or buster, but that is really a solution for everybody, and would mean that jessie is not supported anymore.

I suggest either to remove the mentioning of support for Jessie, or change the update-script so that it recognizes this situation and uses Node.js v10 instead of v12.

Please let me know your thoughts on this proposal.

---

<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 February 2021 16:27 UTC](https://discourse.nodered.org/t/debian-8-jessie-not-supported-in-update-script/41174/2 "2021-02-17T16:27:33Z")

</div>

Not directly addressing the problem but if you just needed to upgrade (or install) node-red and leave nodejs as it was you could do  
`sudo npm install -g --unsafe-perms node-red`  
as described in the Getting Started guide.

Jessie went out of support 9 months ago, you cannot get even security updates for it any more.

---

<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 February 2021 16:35 UTC](https://discourse.nodered.org/t/debian-8-jessie-not-supported-in-update-script/41174/3 "2021-02-17T16:35:36Z")

</div>

Docs updated to say Stretch is now minimum.

---

<div class="post-metadata">

### Author: ![Harm](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/harm/32/37417_2.png) [@Harm](https://discourse.nodered.org/u/Harm)
#### Post date: [17 February 2021 19:30 UTC](https://discourse.nodered.org/t/debian-8-jessie-not-supported-in-update-script/41174/4 "2021-02-17T19:30:58Z")

</div>

Thanks for you quick reply! 👍

I know, Jessie is old, and I am working on replacing it. But for now it is very nice that I can keep it running just a little bit longer 😉.

---

<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 February 2021 19:40 UTC](https://discourse.nodered.org/t/debian-8-jessie-not-supported-in-update-script/41174/5 "2021-02-17T19:40:06Z")

</div>

Helper scripts are nice to get you going but you are likely to grow out of them at some point I've always found.

I prefer to have native installations wherever possible and will always prefer installation via `apt` for OS-level apps and npm for node.js apps.

I never install node-red globally either but that is a different thread 😉

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [18 April 2021 19:40 UTC](https://discourse.nodered.org/t/debian-8-jessie-not-supported-in-update-script/41174/6 "2021-04-18T19:40:36Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
