Bonjour
Je pense que tu as eu totalement raison de faire une installation neuve.
Au moins. il n'y a pas de surprises. C'est du classique qui se réalise globalement en une heure en deux étapes indépendantes
Disons 30 minutes pour télécharger et 30 minutes pour installer.
Pour ne pas parler dans le vide voici les actions que j'ai fait aujourd'hui
1) Téléchargement de la version 19.04 (30 minutes environ)
2) Installation de la version 19.04 (30 minutes environ)
3) Connexion et demande de mise à jour du logiciel.
4) Constat qu'il me propose de
mettre à niveau mais que la version téléchargée dit son incompétence à mettre à niveau

Le point logiciel
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=19.04
DISTRIB_CODENAME=disco
DISTRIB_DESCRIPTION="Ubuntu 19.04"
sudo apt update
Ign :1 http://fr.archive.ubuntu.com/ubuntu disco InRelease
Ign :2 http://fr.archive.ubuntu.com/ubuntu disco-updates InRelease
Ign :3 http://security.ubuntu.com/ubuntu disco-security InRelease
Ign :4 http://fr.archive.ubuntu.com/ubuntu disco-backports InRelease
Err :5 http://fr.archive.ubuntu.com/ubuntu disco Release
404 Not Found [IP : 2001:860:f70a::2 80]
Err :6 http://security.ubuntu.com/ubuntu disco-security Release
404 Not Found [IP : 2001:67c:1360:8001::23 80]
Err :7 http://fr.archive.ubuntu.com/ubuntu disco-updates Release
404 Not Found [IP : 2001:860:f70a::2 80]
Err :8 http://fr.archive.ubuntu.com/ubuntu disco-backports Release
404 Not Found [IP : 2001:860:f70a::2 80]
Lecture des listes de paquets... Fait
E: Le dépôt http://fr.archive.ubuntu.com/ubuntu disco Release n'a pas de fichier Release.
N: Les mises à jour depuis un tel dépôt ne peuvent s'effectuer de manière sécurisée, et sont donc désactivées par défaut.
N: Voir les pages de manuel d'apt-secure(8) pour la création des dépôts et les détails de configuration d'un utilisateur.
E: Le dépôt http://security.ubuntu.com/ubuntu disco-security Release ne contient plus de fichier Release.
N: Les mises à jour depuis un tel dépôt ne peuvent s'effectuer de manière sécurisée, et sont donc désactivées par défaut.
N: Voir les pages de manuel d'apt-secure(8) pour la création des dépôts et les détails de configuration d'un utilisateur.
E: Le dépôt http://fr.archive.ubuntu.com/ubuntu disco-updates Release n'a pas de fichier Release.
N: Les mises à jour depuis un tel dépôt ne peuvent s'effectuer de manière sécurisée, et sont donc désactivées par défaut.
N: Voir les pages de manuel d'apt-secure(8) pour la création des dépôts et les détails de configuration d'un utilisateur.
E: Le dépôt http://fr.archive.ubuntu.com/ubuntu disco-backports Release n'a pas de fichier Release.
N: Les mises à jour depuis un tel dépôt ne peuvent s'effectuer de manière sécurisée, et sont donc désactivées par défaut.
N: Voir les pages de manuel d'apt-secure(8) pour la création des dépôts et les détails de configuration d'un utilisateur.
cat /etc/apt/sources.list | grep -v "#"
deb http://fr.archive.ubuntu.com/ubuntu/ disco main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ disco-updates main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ disco universe
deb http://fr.archive.ubuntu.com/ubuntu/ disco-updates universe
deb http://fr.archive.ubuntu.com/ubuntu/ disco multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ disco-updates multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ disco-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu disco-security main restricted
deb http://security.ubuntu.com/ubuntu disco-security universe
deb http://security.ubuntu.com/ubuntu disco-security multiverse
cp -v /etc/apt/sources.list $HOME
sudo sed -i 's/disco/focal/g' /etc/apt/sources.list
cat /etc/apt/sources.list | grep -v "#"
deb http://fr.archive.ubuntu.com/ubuntu/ focal main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ focal universe
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe
deb http://fr.archive.ubuntu.com/ubuntu/ focal multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu focal-security main restricted
deb http://security.ubuntu.com/ubuntu focal-security universe
deb http://security.ubuntu.com/ubuntu focal-security multiverse
5) Décision de changer le référentiel avec cette commande
sudo sed -i 's/disco/focal/g' /etc/apt/sources.list
6) Lancement de la mise à jour
sudo apt update
Réception de :1 http://fr.archive.ubuntu.com/ubuntu focal InRelease [265 kB]
Réception de :2 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Réception de :3 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Réception de :4 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Réception de :5 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 Packages [970 kB]
Réception de :6 http://fr.archive.ubuntu.com/ubuntu focal/main i386 Packages [718 kB]
Réception de :7 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [478 kB]
Réception de :8 http://fr.archive.ubuntu.com/ubuntu focal/main Translation-fr [500 kB]
Réception de :9 http://fr.archive.ubuntu.com/ubuntu focal/main Translation-en [506 kB]
Réception de :10 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 DEP-11 Metadata [494 kB]
Réception de :11 http://fr.archive.ubuntu.com/ubuntu focal/main DEP-11 48x48 Icons [98,4 kB]
Réception de :12 http://fr.archive.ubuntu.com/ubuntu focal/main DEP-11 64x64 Icons [163 kB]
Réception de :13 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [181 kB]
Réception de :14 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 c-n-f Metadata [29,5 kB]
Réception de :15 http://fr.archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [22,0 kB]
Réception de :16 http://fr.archive.ubuntu.com/ubuntu focal/restricted i386 Packages [8112 B]
Réception de :17 http://fr.archive.ubuntu.com/ubuntu focal/restricted Translation-fr [5580 B]
Réception de :18 http://fr.archive.ubuntu.com/ubuntu focal/restricted Translation-en [6212 B]
Réception de :19 http://fr.archive.ubuntu.com/ubuntu focal/restricted amd64 c-n-f Metadata [392 B]
Réception de :20 http://fr.archive.ubuntu.com/ubuntu focal/universe i386 Packages [4642 kB]
Réception de :21 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [105 kB]
Réception de :22 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [24,3 kB]
Réception de :23 http://security.ubuntu.com/ubuntu focal-security/main DEP-11 48x48 Icons [11,0 kB]
Réception de :24 http://security.ubuntu.com/ubuntu focal-security/main DEP-11 64x64 Icons [16,5 kB]
Réception de :25 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [6148 B]
Réception de :26 http://security.ubuntu.com/ubuntu focal-security/restricted i386 Packages [14,9 kB]
Réception de :27 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [120 kB]
Réception de :28 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [17,6 kB]
Réception de :29 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 c-n-f Metadata [392 B]
Réception de :30 http://security.ubuntu.com/ubuntu focal-security/universe i386 Packages [420 kB]
Réception de :31 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [532 kB]
Réception de :32 http://security.ubuntu.com/ubuntu focal-security/universe Translation-en [74,5 kB]
Réception de :33 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [56,6 kB]
Réception de :34 http://security.ubuntu.com/ubuntu focal-security/universe DEP-11 48x48 Icons [23,0 kB]
Réception de :35 http://fr.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8628 kB]
Réception de :36 http://security.ubuntu.com/ubuntu focal-security/universe DEP-11 64x64 Icons [40,9 kB]
Réception de :37 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [9728 B]
Réception de :38 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [10,4 kB]
Réception de :39 http://security.ubuntu.com/ubuntu focal-security/multiverse i386 Packages [2336 B]
Réception de :40 http://security.ubuntu.com/ubuntu focal-security/multiverse Translation-en [2876 B]
Réception de :41 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [284 B]
Réception de :42 http://fr.archive.ubuntu.com/ubuntu focal/universe Translation-en [5124 kB]
Réception de :43 http://fr.archive.ubuntu.com/ubuntu focal/universe Translation-fr [3497 kB]
Réception de :44 http://fr.archive.ubuntu.com/ubuntu focal/universe amd64 DEP-11 Metadata [3603 kB]
Réception de :45 http://fr.archive.ubuntu.com/ubuntu focal/universe DEP-11 48x48 Icons [3016 kB]
Réception de :46 http://fr.archive.ubuntu.com/ubuntu focal/universe DEP-11 64x64 Icons [7794 kB]
Réception de :47 http://fr.archive.ubuntu.com/ubuntu focal/universe amd64 c-n-f Metadata [265 kB]
Réception de :48 http://fr.archive.ubuntu.com/ubuntu focal/multiverse i386 Packages [74,7 kB]
Réception de :49 http://fr.archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [144 kB]
Réception de :50 http://fr.archive.ubuntu.com/ubuntu focal/multiverse Translation-en [104 kB]
Réception de :51 http://fr.archive.ubuntu.com/ubuntu focal/multiverse Translation-fr [97,8 kB]
Réception de :52 http://fr.archive.ubuntu.com/ubuntu focal/multiverse amd64 DEP-11 Metadata [48,4 kB]
Réception de :53 http://fr.archive.ubuntu.com/ubuntu focal/multiverse DEP-11 48x48 Icons [23,1 kB]
Réception de :54 http://fr.archive.ubuntu.com/ubuntu focal/multiverse DEP-11 64x64 Icons [192 kB]
Réception de :55 http://fr.archive.ubuntu.com/ubuntu focal/multiverse amd64 c-n-f Metadata [9136 B]
Réception de :56 http://fr.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [415 kB]
Réception de :57 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [795 kB]
Réception de :58 http://fr.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [192 kB]
Réception de :59 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [264 kB]
Réception de :60 http://fr.archive.ubuntu.com/ubuntu focal-updates/main DEP-11 48x48 Icons [55,6 kB]
Réception de :61 http://fr.archive.ubuntu.com/ubuntu focal-updates/main DEP-11 64x64 Icons [87,9 kB]
Réception de :62 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [11,7 kB]
Réception de :63 http://fr.archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages [16,2 kB]
Réception de :64 http://fr.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [143 kB]
Réception de :65 http://fr.archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [21,3 kB]
Réception de :66 http://fr.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [436 B]
Réception de :67 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [546 kB]
Réception de :68 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [736 kB]
Réception de :69 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [152 kB]
Réception de :70 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [301 kB]
Réception de :71 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe DEP-11 48x48 Icons [198 kB]
Réception de :72 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe DEP-11 64x64 Icons [348 kB]
Réception de :73 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [15,5 kB]
Réception de :74 http://fr.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [16,9 kB]
Réception de :75 http://fr.archive.ubuntu.com/ubuntu focal-updates/multiverse i386 Packages [4180 B]
Réception de :76 http://fr.archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [5076 B]
Réception de :77 http://fr.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2468 B]
Réception de :78 http://fr.archive.ubuntu.com/ubuntu focal-updates/multiverse DEP-11 48x48 Icons [29 B]
Réception de :79 http://fr.archive.ubuntu.com/ubuntu focal-updates/multiverse DEP-11 64x64 Icons [2638 B]
Réception de :80 http://fr.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [536 B]
Réception de :81 http://fr.archive.ubuntu.com/ubuntu focal-backports/main amd64 c-n-f Metadata [112 B]
Réception de :82 http://fr.archive.ubuntu.com/ubuntu focal-backports/restricted amd64 c-n-f Metadata [116 B]
Réception de :83 http://fr.archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [4032 B]
Réception de :84 http://fr.archive.ubuntu.com/ubuntu focal-backports/universe i386 Packages [2932 B]
Réception de :85 http://fr.archive.ubuntu.com/ubuntu focal-backports/universe Translation-en [1448 B]
Réception de :86 http://fr.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [1768 B]
Réception de :87 http://fr.archive.ubuntu.com/ubuntu focal-backports/universe DEP-11 48x48 Icons [2809 B]
Réception de :88 http://fr.archive.ubuntu.com/ubuntu focal-backports/universe DEP-11 64x64 Icons [3944 B]
Réception de :89 http://fr.archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [224 B]
Réception de :90 http://fr.archive.ubuntu.com/ubuntu focal-backports/multiverse amd64 c-n-f Metadata [116 B]
47,9 Mo réceptionnés en 39s (1227 ko/s)
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
1352 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.
7) Lancement de la mise à jour du logiciel
sudo apt upgrade
il y aura 1352 fichiers de téléchargés. C'est globalement le même temps que de télécharger l'ISO
Au début tout se passe bien.
Puis un message pas si facile à comprendre (je l'ai capturé)
https://zupimages.net/up/21/04/n8bw.png
il était positionné sur
no que j'ai accepté
Je pensais avoir compris que toute l'installation se ferait et que ce n'est qu'ensuite que les applications se lanceraient.
Ce ne fut pas le cas
8) L'application firefox a mis en route. Tant bien que mal, j'ai pu libéré l'écran pour avoir la suite.
9) L'application bureau a mis en route
https://zupimages.net/up/21/04/wmi5.png
et a demandé mon mot de passe
Notons que dans les temps cela allait à peu près car il ne s'était écoulé que 1 heures 40
10) Mon mot de passe n'est pas reconnu.
J'ai pas mal galéré avec quelques reboot avec changement du mot de passe y compris création d'un nouvel utilisateur. Le problème est encore sans solution.
11) Continuation du boot en mode recovery. Finaliser l'installation. Les commandes sont connues
apt update
==> Il reste encore 152 paquets à installer
apt upgrade
sans aucune surprise, un message d'erreur
E: dpkg a été intérrompu. il est nécessaire d'utiliser "dpkg --configure -a " pour corriger le problème.
12) Donc correction du problème et continuation.
Cela permet d'installer quelques paquets, de tenter de booter normalement, de constater que les mots de passe des deux utilisateurs ne sont toujours pas reconnus, donc de continuer en mode recovery
13) Et on arrive à la reconfiguration du paquet "Friendly-recovery"
C'est censé installer le grub en dual boot. Donc il parcourt les partitions et tout semble bien se passer.
Mais il semble ne pas dire qu'il a bien travaillé car lorsqu'on reprend, c'est toujours lui qui est proposé.
14) Pour l'instant, je ne sais pas me sortir de cette boucle.
=> Je viens de trouver un approchant
https://askubuntu.com/questions/1157346/friendly-recovery-error-running-apt-upgrade-dist-upgrade-or-autoremove
==> Je tente la commande
dpkg --force-remove-reinstreg --remove friendly-recovery
Après trente minutes d'attente de réponse , je choisis de rebooter sauvagement
15) De nouveau je lance
dpkg --configure -a
La configuration se fait alors bien. Il ne reste plus que les commandes standards
apt install -y
apt upgrade
apt full-upgrade
apt autoremove
exit
puis
resume pour se retrouver connecté automatiquement comme avant!
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS"
uname -r
5.4.0-65-generic
sudo apt update
Atteint :1 http://fr.archive.ubuntu.com/ubuntu focal InRelease
Réception de :2 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Atteint :3 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease
Atteint :4 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease
109 ko réceptionnés en 1s (132 ko/s)
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Tous les paquets sont à jour.