Pour les balises Code elles-mêmes, il n'y a rien de particulier mais pour copier/coller dans un terminal, il faut utiliser shift + ctrl + C/shift + ctrl + V au lieu de ctrl + C/ctrl + V (ou passer par le menu contextuel). C'est peut-être ça qui te pose problème ?
Tu as effectivement pas mal de dépôts tiers désactivés. Quand on fait une mise à niveau d'Ubuntu vers une nouvelle version, tous les dépôts tiers sont désactivés. Charge à l'utilisateur ensuite de vérifier s'ils sont encore pertinents et de les réactiver (avec l'adresse à jour) ensuite.
D'abord, on va nettoyer le sources.list principal :
sudo nano /etc/apt/sources.list
Remplace tout son contenu par ça :
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ focal main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ focal universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal universe
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ focal multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu focal partner
# deb-src http://archive.canonical.com/ubuntu focal partner
deb http://security.ubuntu.com/ubuntu focal-security main restricted
# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
deb http://security.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu focal-security universe
deb http://security.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
Enregistre avec ctrl + O, valide le nom de fichier, puis ferme Nano avec ctrl + X.
Ensuite, on va créer un .list dédié pour le dépôt Epson qui était dans ton sources.list :
sudo nano /etc/apt/sources.list.d/epson.list
Dedans, mets ça et enregistre (idem : ctrl + O, valide le nom, ctrl + X) :
deb http://download.ebz.epson.net/dsc/op/stable/debian/ lsb3.2 main
# deb-src http://download.ebz.epson.net/dsc/op/stable/debian/ lsb3.2 main
Puis on va passer aux dépôts tiers. Pour chacun, je vais donner alternativement la commande pour l'éditer et le contenu correct du fichier, je ne précise pas à chaque fois d'enregistrer, ça va de soi. La plupart des changements, c'est de décommenter la ligne deb, supprimer le commentaire qui dit que le dépôt a été désactivé et corriger "bionic" en "focal" dans la ligne deb-src toujours commentée.
sudo nano /etc/apt/sources.list.d/google-chrome.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
sudo nano /etc/apt/sources.list.d/google-earth-pro.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main
sudo nano /etc/apt/sources.list.d/mdoyen-ubuntu-homebank-bionic.list
deb http://ppa.launchpad.net/mdoyen/homebank/ubuntu focal main
# deb-src http://ppa.launchpad.net/mdoyen/homebank/ubuntu focal main
sudo nano /etc/apt/sources.list.d/skype-stable.list
deb [arch=amd64] https://repo.skype.com/deb stable main
sudo nano /etc/apt/sources.list.d/teamviewer.list
### TeamViewer DEB repository list
### NOTE: Manual changes to this file
### - prevent it from being updated by TeamViewer package updates
### - will be lost after using the 'teamviewer repo' command
### The original file can be restored with this command:
### cp /opt/teamviewer/tv_bin/script/teamviewer.list /etc/apt/sources.list.d/teamviewer.list
### which has the same effect as 'teamviewer repo default'
### NOTE: It is preferred to use the following commands to edit this file:
### teamviewer repo - show current repository configuration
### teamviewer repo default - restore default configuration
### teamviewer repo disable - disable the repository
### teamviewer repo stable - make all regular TeamViewer packages available (default)
### teamviewer repo preview - additionally, make feature preview packages available
### teamviewer repo development - additionally, make the latest development packages available
deb http://linux.teamviewer.com/deb stable main
# deb http://linux.teamviewer.com/deb preview main
# deb http://linux.teamviewer.com/deb development main
sudo nano /etc/apt/sources.list.d/team-xbmc-ubuntu-ppa-bionic.list
deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu focal main
# deb-src http://ppa.launchpad.net/team-xbmc/ppa/ubuntu focal main
sudo nano /etc/apt/sources.list.d/teejee2008-ubuntu-ppa-bionic.list
deb http://ppa.launchpad.net/teejee2008/ppa/ubuntu focal main
# deb-src http://ppa.launchpad.net/teejee2008/ppa/ubuntu focal main
sudo nano /etc/apt/sources.list.d/veeam.list
deb [arch=amd64] http://repository.veeam.com/backup/linux/agent/dpkg/debian/public stable veeam
sudo nano /etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-bionic.list
deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal main
# deb-src http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal main
Ensuite, on va faire un peu de nettoyage :
cd /etc/apt/sources.list.d
sudo rm *.save *.distUpgrade otto-kesselgulasch-ubuntu-gimp-bionic.list pmjdebruijn-ubuntu-darktable-release-bionic.list
Je te fais supprimer le dépôt d'Otto Kesselgulasch pour GIMP qui est inutile (en 20.04, il a juste une version de GIMP pas à jour et... les paquets GEGL qui te bloquaient), ainsi que le fichier du dépôt pour Darktable qui est... vide. Si tu as besoin d'une version de Darktable à jour, il va falloir voir ce qui est disponible. D'autre part, est-ce que tu as besoin du PPA teejee2008 ? La plupart du temps, les gens l'utilisent pour UKUU (gestionnaire de noyaux), sauf que le soft n'est plus gratuit et a été retiré du PPA il y a six mois.