Bien, je reprends toutes les commandes dans l'ordre :
"sudo chown -R $USER:$USER $HOME" donne :
eric@chon1404:~$ sudo chown -R $USER:$USER $HOME
[sudo] Mot de passe de eric :
eric@chon1404:~$
Comme il n'y avait pas de réponse, je ne m'étais pas donné la peine de copier/coller. Mais le terminal me rend la main.
J'avais ensuite redémarré par un sudo reboot.
La commande "sudo wget
https://repogen.simplylinux.ch/txt/xenial/sources_3cc214d9a38a3ada7f56067544e31267f2b89f97.txt -O /etc/apt/sources.list" donne :
eric@chon1404:~$ sudo wget https://repogen.simplylinux.ch/txt/xenial/sources_3cc214d9a38a3ada7f56067544e31267f2b89f97.txt -O /etc/apt/sources.list
--2018-05-30 16:41:13-- https://repogen.simplylinux.ch/txt/xenial/sources_3cc214d9a38a3ada7f56067544e31267f2b89f97.txt
Résolution de repogen.simplylinux.ch (repogen.simplylinux.ch)… 176.9.139.175, 2a01:4f8:160:13a2::1005
Connexion à repogen.simplylinux.ch (repogen.simplylinux.ch)|176.9.139.175|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 749 [text/plain]
Enregistre : «/etc/apt/sources.list»
/etc/apt/sources.li 100%[===================>] 749 --.-KB/s ds 0s
2018-05-30 16:41:14 (128 MB/s) - «/etc/apt/sources.list» enregistré [749/749]
eric@chon1404:~$
La commande "sudo apt clean -v" donne :
eric@chon1404:~$ sudo apt clean -v
apt 1.2.26 (amd64)
eric@chon1404:~$
La commande "[[ $(dpkg -l | grep ^rc) ]] && sudo dpkg -P $(dpkg -l | grep ^rc | tr -s " " | cut -d " " -f 2)" donne :
eric@chon1404:~$ [[ $(dpkg -l | grep ^rc) ]] && sudo dpkg -P $(dpkg -l | grep ^rc | tr -s " " | cut -d " " -f 2)
eric@chon1404:~$
La commande "sudo apt update" donne :
eric@chon1404:~$ sudo apt update
Atteint:1 http://fr.archive.ubuntu.com/ubuntu xenial InRelease
Réception de:2 http://fr.archive.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Atteint:3 http://ppa.launchpad.net/amigadave/ppa/ubuntu xenial InRelease
Réception de:4 http://fr.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Réception de:5 http://fr.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Atteint:6 http://ppa.launchpad.net/flacon/ppa/ubuntu xenial InRelease
Atteint:7 http://ppa.launchpad.net/jtaylor/keepass/ubuntu xenial InRelease
Atteint:8 http://archive.canonical.com/ubuntu xenial InRelease
Atteint:9 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial InRelease
Atteint:10 https://deb.opera.com/opera-stable stable InRelease
Réception de:11 http://fr.archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages [500 kB]
Réception de:12 http://fr.archive.ubuntu.com/ubuntu xenial-security/main i386 Packages [443 kB]
Réception de:13 http://fr.archive.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [67,7 kB]
Réception de:14 http://fr.archive.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [68,0 kB]
Réception de:15 http://fr.archive.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [351 kB]
Réception de:16 http://fr.archive.ubuntu.com/ubuntu xenial-security/universe i386 Packages [301 kB]
Réception de:17 http://fr.archive.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [107 kB]
Réception de:18 http://fr.archive.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [142 kB]
Réception de:19 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [783 kB]
Réception de:20 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [718 kB]
Réception de:21 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [319 kB]
Réception de:22 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [224 kB]
Réception de:23 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [631 kB]
Réception de:24 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [578 kB]
Réception de:25 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [246 kB]
Réception de:26 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [331 kB]
Ign:27 https://mega.nz/linux/MEGAsync/xUbuntu_16.04 ./ InRelease
Réception de:28 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5 964 B]
Réception de:29 http://fr.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3 328 B]
Réception de:30 http://fr.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [5 092 B]
Réception de:31 https://mega.nz/linux/MEGAsync/xUbuntu_16.04 ./ Release [961 B]
Réception de:32 https://mega.nz/linux/MEGAsync/xUbuntu_16.04 ./ Release.gpg [481 B]
Réception de:33 https://mega.nz/linux/MEGAsync/xUbuntu_16.04 ./ Packages [2 991 B]
6 149 ko réceptionnés en 2s (2 837 ko/s)
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
1 paquet peut être mis à jour. Utilisez « apt list --upgradable » pour le voir.
eric@chon1404:~$
La commande "sudo apt full-upgrade" donne :
eric@chon1404:~$ sudo apt full-upgrade
[sudo] Mot de passe de eric :
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
Les paquets suivants seront mis à jour :
megasync
1 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 6 609 ko dans les archives.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n]
Err:1 https://mega.nz/linux/MEGAsync/xUbuntu_16.04 ./ megasync 3.6.6+6.1
404 Not Found
E: Impossible de récupérer https://mega.nz/linux/MEGAsync/xUbuntu_16.04/./amd64/megasync_3.6.6+6.1_amd64.deb 404 Not Found
E: Impossible de récupérer certaines archives, peut-être devrez-vous lancer apt-get update ou essayer avec --fix-missing ?
eric@chon1404:~$
La commande "sudo apt autoremove --purge" donne :
eric@chon1404:~$ sudo apt autoremove --purge
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
0 mis à jour, 0 nouvellement installés, 0 à enlever et 1 non mis à jour.
eric@chon1404:~$
La commande "ls /etc/apt/sources.list.d -1" donne :
eric@chon1404:~$ ls /etc/apt/sources.list.d -1
amigadave-ubuntu-ppa-xenial.list
flacon-ubuntu-ppa-xenial.list
flacon-ubuntu-ppa-xenial.list.save
jtaylor-ubuntu-keepass-xenial.list
jtaylor-ubuntu-keepass-xenial.list.save
megasync.list
megasync.list.save
opera-stable.list
opera-stable.list.save
otto-kesselgulasch-ubuntu-gimp-xenial.list
otto-kesselgulasch-ubuntu-gimp-xenial.list.save
eric@chon1404:~$
Enfin, la commande "ls -la /home/eric/.local/share/gvfs-metadata/home" donne :
eric@chon1404:~$ ls -la /home/eric/.local/share/gvfs-metadata/home
-rw------- 1 eric eric 5688 févr. 21 07:30 /home/eric/.local/share/gvfs-metadata/home
eric@chon1404:~$
J'espère n'avoir rien oublié.