Doesn't have a 'Release file' when upade Ubuntu 18.04
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:
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:
Option 2 - Remove PPA Using apt in terminal:
sudo add-apt-repository --remove ppa:PPA_Name/ppa
Related videos on Youtube
n1vgabay
Updated on September 18, 2022Comments
-
n1vgabay over 1 year
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
-
Ramhound almost 5 years
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 runrm /etc/apt/sources.list.d/cooperjona-ubuntu-nitrotasks-bionic.list
-
n1vgabay almost 5 yearsPlease see the answer below, "sudo potato" said it's connected to node.js installation probably. What do you think?
-
Ramhound almost 5 yearsThere is a reason I also suggested you remove the repository instead of forcefully allowing the updates to happen.
-
-
n1vgabay almost 5 yearsWow 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?
-
sudo-potato almost 5 yearsIt 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 almost 5 yearsI've updated my answer with instructions on removing it.
-
n1vgabay almost 5 yearsIt 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.
-
sudo-potato almost 5 yearsNo problem. Please select my answer as correct if I've helped.
-
n1vgabay almost 5 yearsShould all the softwares be marked 'V' like yours in the Software Sources in Ubuntu?
-
sudo-potato almost 5 yearsNot necessarily. Depends on what software you're using.
-
n1vgabay almost 5 yearsSo you just recommend removing and try to update all the system again basically? Are you sure it's the right file to remove?
-
sudo-potato almost 5 yearsIf the text you included in your OP is correct, then yes.