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

8,278

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!

Share:
8,278

Related videos on Youtube

n1vgabay
Author by

n1vgabay

Updated on September 18, 2022

Comments

  • n1vgabay
    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
      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 run rm /etc/apt/sources.list.d/cooperjona-ubuntu-nitrotasks-bionic.‌​list
    • n1vgabay
      n1vgabay almost 5 years
      Please see the answer below, "sudo potato" said it's connected to node.js installation probably. What do you think?
    • Ramhound
      Ramhound almost 5 years
      There is a reason I also suggested you remove the repository instead of forcefully allowing the updates to happen.
  • n1vgabay
    n1vgabay almost 5 years
    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?
  • sudo-potato
    sudo-potato almost 5 years
    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
    sudo-potato almost 5 years
    I've updated my answer with instructions on removing it.
  • n1vgabay
    n1vgabay almost 5 years
    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.
  • sudo-potato
    sudo-potato almost 5 years
    No problem. Please select my answer as correct if I've helped.
  • n1vgabay
    n1vgabay almost 5 years
    Should all the softwares be marked 'V' like yours in the Software Sources in Ubuntu?
  • sudo-potato
    sudo-potato almost 5 years
    Not necessarily. Depends on what software you're using.
  • n1vgabay
    n1vgabay almost 5 years
    So 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
    sudo-potato almost 5 years
    If the text you included in your OP is correct, then yes.