Doesn't have a 'Release file' when upade Ubuntu 18.04

1

E: The repository 'http://ppa.launchpad.net/chris-lea/node.js/ubuntu bionic 
Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore 
disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration 
details.

My version:

Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:    18.04

Hey,

I've got a message not so long ago about updating my system which couldn't finish because of this error. Not sure exactly what this update for and how normally I should get updates. would be happy for some general explanation.

Big thanks,

Niv

n1vgabay

Posted 2019-06-03T18:39:01.560

Reputation: 13

apt-get update --allow-unauthenticated would bypass force the upgrade. However, the upgrade is blocked, for a good reason so I would not recommend forcing the upgrade. Instead I would run rm /etc/apt/sources.list.d/cooperjona-ubuntu-nitrotasks-bionic.list – Ramhound – 2019-06-03T18:50:19.773

Please see the answer below, "sudo potato" said it's connected to node.js installation probably. What do you think? – n1vgabay – 2019-06-03T19:15:51.680

There is a reason I also suggested you remove the repository instead of forcefully allowing the updates to happen. – Ramhound – 2019-06-03T19:19:37.333

Answers

0

It's not Ubuntu that's having an issue updating, it looks like it's 'http://ppa.launchpad.net/chris-lea/node.js/ubuntu bionic Release'. Google search finds this. It looks like you downloaded that repository to your machine, but you can't update it because there is no release file. Are you using it? If not, trying removing it and then re-update your OS.

You can remove the ppa through either the GUI or terminal.

Option 1 - GUI Method:

Step 1: Go to Unity dash (by pressing the super or Windows key) and search for Software Sources:

Unity dash

Step 2: In the Software Sources, go to Other Software tab and choose the desire PPA from the list. Afterwards click on Remove to remove it:

Delete PPA

Option 2 - Remove PPA Using apt in terminal:

sudo add-apt-repository --remove ppa:PPA_Name/ppa

Source!

sudo-potato

Posted 2019-06-03T18:39:01.560

Reputation: 48

Wow didn't even notice it was related to node.js installation. I just installed this framework and didn't even use it. How do I remove it from my Ubuntu OS? – n1vgabay – 2019-06-03T19:11:42.073

It is possible to force the update, but it's blocked for a valid reason. If you're not using whatever was in that repository, I'd recommend removing it.

Feel free to upvote/select as answer if I've helped. – sudo-potato – 2019-06-03T19:14:28.647

I've updated my answer with instructions on removing it. – sudo-potato – 2019-06-03T19:24:11.970

It was very helpful but not sure if I should remove what gonna be part of my ongoing learning. I have to use it soon. In anycase, I updated the nod.js so hopefully it will be fine. Really thanks for helping until now mate appreciate that, I saved your guide for the future. – n1vgabay – 2019-06-03T19:39:39.840

No problem. Please select my answer as correct if I've helped. – sudo-potato – 2019-06-03T19:40:45.363

Should all the softwares be marked 'V' like yours in the Software Sources in Ubuntu? – n1vgabay – 2019-06-03T20:02:50.587

Not necessarily. Depends on what software you're using. – sudo-potato – 2019-06-03T20:04:43.717

So you just recommend removing and try to update all the system again basically? Are you sure it's the right file to remove? – n1vgabay – 2019-06-03T20:13:35.223

If the text you included in your OP is correct, then yes. – sudo-potato – 2019-06-04T16:52:53.797