# Update Node.js 12.22.12 to latest version question

**URL:** https://discourse.nodered.org/t/update-node-js-12-22-12-to-latest-version-question/80666
**Category:** General
**Created:** [20 August 2023 09:29 UTC](https://discourse.nodered.org/t/update-node-js-12-22-12-to-latest-version-question/80666 "2023-08-20T09:29:09Z")
**Posts on this page:** 1
**Showing post:** 17

<div class="post-metadata">

### Author: ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)
#### Post date: [12 September 2023 06:24 UTC](https://discourse.nodered.org/t/update-node-js-12-22-12-to-latest-version-question/80666/17 "2023-09-12T06:24:59Z")

</div>

I had the same issue last June'22 trying to update 'node.js' and Node-RED.

> [@How do I update node.js to latest version?](https://discourse.nodered.org/t/how-do-i-update-node-js-to-latest-version/79280/13):
>
> Google and a bit of guesswork suggests maybe this may help sudo apt install python-apt Edit: If it says it is already the latest then sudo apt --reinstall install python-apt

I've just tried the suggestion (given in Colin's link above) & repeated below and can report it worked for me.

> **[Resolve apt update problem on raspberry pi: “This must be accepted explicitly...](https://hakanu.net/linux/2022/07/03/resolve-apt-update-problem-on-raspberry-pi-this-must-be-accepted-explicitly-before-updates-for-this-repository/)**
>
> This is what i get from my old raspi 4b:

---

_[View the full topic](https://discourse.nodered.org/t/update-node-js-12-22-12-to-latest-version-question/80666)._
