James Cocker

James Cocker

Under review

I just used the "Fix it for me" button for the insight Your Node version could be updated. You currently have version 18 and the latest Node LTS version is 20." on one of my servers.

It appeared to fail to update though. When I look at the "Update Node" log, it starts: SCRIPT DEPRECATION WARNING This script, located at https://deb.nodesource.com/setup_X, used to install Node.js is deprecated now and will eventually be made inactive.

and fails with:

Reading package lists... E: The repository 'http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.7/ubuntu bionic Release' no longer has a Release file. Error executing command, exiting

Dennis

Dennis

· · Edited
·

Yeah, the error you're getting is unrelated to NodeJS though.

add-apt-repository --remove 'deb [arch=amd64] http://mirror.zol.co.zw/mariadb/repo/10.3/ubuntu bionic main'
apt update

Run this to get that error fixed.

1 total vote
James Cocker
James Cocker

James Cocker

Item author
·
·

Ah thanks. Yes, once I'd updated the repo URL to match the one from my error, that did fix the problem, thanks.

Still seeing the SCRIPT DEPRECATION WARNING but presume you're aware of that.

no votes yet
You may use @ to mention someone.

Update Node Insight Fails

2 total votes
squpshift James Cocker
  • Dennis moved item to board Under review

    4 months ago
  • James Cocker moved item to project Bugs

    4 months ago
  • James Cocker created the item

    4 months ago