$ 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.
Comment résoudre ces erreurs?
Vous avez ici un mélange de problèmes.
D'ABORD, vous avez encore beaucoup de références à quantal
. Quantal est en fin de vie depuis des siècles et n'est plus pris en charge. Vous devrez trouver où se trouvent ces lignes dans votre /etc/apt/sources.list
fichier et dans /etc/apt/sources.list.d/*.list
fichiers et supprimez ces entrées.
Deuxièmement, vous avez des AAE faisant référence à Cosmic. Ces AAE ne prennent probablement pas en charge Cosmic et c'est pourquoi vous obtenez les 404 là-bas. supprimez également ces entrées.