Repository does not have a release file (18.10)

14,728

Solution 1

You have a mix of issues here.

FIRSTLY, you have a lot of references still to quantal. Quantal has been End of Life for ages, and is no longer supported. You will need to find where those lines are in your /etc/apt/sources.list file and within /etc/apt/sources.list.d/*.list files and remove those entries.

Secondly, you have some PPAs referring to Cosmic. Those PPAs are likely not supporting Cosmic and therefore is why you get the 404s there. remove those entries as well.

Solution 2

The repositories are still available on http://old-releases.ubuntu.com/ubuntu. You can change them in /etc/apt/sources.list, replacing all occurences of http://archive.ubuntu.com with http://old-releases.ubuntu.com.

After that, apt-get upgrade will work again.

More info on dealing with no longer supported versions at https://help.ubuntu.com/community/EOLUpgrades

Share:
14,728

Related videos on Youtube

Petter Braka
Author by

Petter Braka

I try to help

Updated on September 18, 2022

Comments

  • Petter Braka
    Petter Braka over 1 year
    $ lsb_release -a          
    LSB Version:    core-9.20170808ubuntu1-noarch:printing-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
    Distributor ID: Ubuntu
    Description:    Ubuntu 18.10
    Release:        18.10
    Codename:       cosmic
    

    $ sudo apt-get update
    Reading package lists... Done   
    E: The repository 'http://archive.ubuntu.com/ubuntu quantal 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.
    E: The repository 'http://archive.ubuntu.com/ubuntu quantal-updates 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.
    E: The repository 'http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu cosmic 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.
    E: The repository 'http://archive.canonical.com/ubuntu quantal Release' no longer has 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.
    W: GPG error: http://extras.ubuntu.com/ubuntu quantal Release: The following signatures were invalid: C47415DFF48C09645B78609416126D3A3E5C1192
    E: The repository 'http://extras.ubuntu.com/ubuntu quantal Release' is not signed.
    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.
    

    How do I solve these errors?

    • Kulfy
      Kulfy about 5 years
      Why are you using repositories of Quantal (12.10)?
    • Petter Braka
      Petter Braka about 5 years
      I have just started using Linux, and it has been there since I installed the OS.
    • Thomas Ward
      Thomas Ward about 5 years
      @PeterBraka You must have installed from an old ISO then because 12.10 hasn't been supported for nearly 5 years now. Nothing currently supported utilizes old Quantal records anymore.
  • Kulfy
    Kulfy about 4 years
    The question was asked when 18.10 was supported. It's archives weren't moved to old-releases. Originally, the questioner mixed the repositories with that of Quantal which went EOL long way back. Keeping the repositories of other release isn't fruitful.