Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 11/11/2018, à 21:28

davidr

[Resolu] Impossibilité de faire des mises à jour sous Ubuntu 18.04

Bonjour,

Je viens de migrer de la version 16.04 à la version 18.04 il m'est impossible d'effectuer des mises à jours.

lorsque via l'interface graphique je lance  le gestionnaire de mises à jour, après vérification des mises à jours j'obtiens comme réponse :

"Le téléchargement des informations du dépôt à échoué
Vérifier votre connexion Internet"

ma connexion internet étant tout à fait valide et active.

Si je passe en ligne de commande via un terminal,  après la commande sudo apt update j'optiens les informations suivante m'indiquand visiblement de nombreux problèmes que je ne suis pas capable d'interpréter et encore moins de solutionner... :

david@david-System-Product-Name:~$ sudo apt update
[sudo] Mot de passe de david : 
Atteint:1 [url]http://fr.archive.ubuntu.com/ubuntu[/url] bionic InRelease
Atteint:2 [url]http://fr.archive.ubuntu.com/ubuntu[/url] bionic-updates InRelease         
Ign:3 [url]http://fr.archive.ubuntu.com/ubuntu[/url] lucid-backports InRelease            
Ign:4 [url]http://ppa.launchpad.net/mc3man/trusty-media/ubuntu[/url] bionic InRelease     
Atteint:5 [url]http://fr.archive.ubuntu.com/ubuntu[/url] bionic-security InRelease        
Atteint:6 [url]http://fr.archive.ubuntu.com/ubuntu[/url] bionic-backports InRelease       
Atteint:7 [url]http://archive.canonical.com/ubuntu[/url] bionic InRelease                 
Err:8 [url]http://ppa.launchpad.net/mc3man/trusty-media/ubuntu[/url] bionic Release       
  404  Not Found [IP : 91.189.95.83 80]
Err:9 [url]http://fr.archive.ubuntu.com/ubuntu[/url] lucid-backports Release              
  404  Not Found [IP : 194.158.119.186 80]
Ign:10 [url]http://archive.canonical.com/ubuntu[/url] trusty InRelease                    
Atteint:11 [url]http://archive.canonical.com/ubuntu[/url] trusty Release 
Lecture des listes de paquets... Fait
E: Le dépôt [url]http://ppa.launchpad.net/mc3man/trusty-media/ubuntu[/url] bionic 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 [url]http://fr.archive.ubuntu.com/ubuntu[/url] lucid-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.
W: La cible Packages (universe/binary-amd64/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
W: La cible Packages (universe/binary-i386/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
W: La cible Packages (universe/binary-all/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
W: La cible Translations (universe/i18n/Translation-fr_FR) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
W: La cible Translations (universe/i18n/Translation-fr) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
W: La cible Translations (universe/i18n/Translation-en) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
W: La cible DEP-11 (universe/dep11/Components-amd64.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
W: La cible DEP-11 (universe/dep11/Components-all.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
W: La cible DEP-11-icons-small (universe/dep11/icons-48x48.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
W: La cible DEP-11-icons (universe/dep11/icons-64x64.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
W: La cible CNF (universe/cnf/Commands-amd64) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
W: La cible CNF (universe/cnf/Commands-all) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
W: La cible Packages (universe/binary-amd64/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
W: La cible Packages (universe/binary-i386/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
W: La cible Packages (universe/binary-all/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
W: La cible Translations (universe/i18n/Translation-fr_FR) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
W: La cible Translations (universe/i18n/Translation-fr) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
W: La cible Translations (universe/i18n/Translation-en) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
W: La cible DEP-11 (universe/dep11/Components-amd64.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
W: La cible DEP-11 (universe/dep11/Components-all.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
W: La cible DEP-11-icons-small (universe/dep11/icons-48x48.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
W: La cible DEP-11-icons (universe/dep11/icons-64x64.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
W: La cible CNF (universe/cnf/Commands-amd64) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
W: La cible CNF (universe/cnf/Commands-all) est spécifiée plusieurs fois dans /etc/apt/sources.list:15 et /etc/apt/sources.list:45
david@david-System-Product-Name:~$ 

si je lance ensuite sudo apt upgrade,  il est bien confirmé qu'il n'y a aucune mise à jour... :

david@david-System-Product-Name:~$ sudo apt upgrade
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
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
david@david-System-Product-Name:~$ 

Je tiens à précisé que j'avais eu un plantage lors du redémarrage de l'ordi à la fin de la migration vers la version 18.04.

Merci d'avance pour vos éventuelles réponses et solutions !

David (nouveau venu sur ce le Forum)

Dernière modification par davidr (Le 11/11/2018, à 23:11)

Hors ligne

#2 Le 11/11/2018, à 21:39

Mornagest

Re : [Resolu] Impossibilité de faire des mises à jour sous Ubuntu 18.04

Salut,

Peux-tu donner le retour de cette commande pour lister tes sources logicielles ?

find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \; (fais un copier-coller pour éviter les fautes de frappe wink)


N'oubliez pas de consulter la documentation pour vous donner un coup de main !
Merci de modifier le premier message de votre sujet pour ajouter [Résolu] lorsque votre problème l'est :)
Xubuntu 20.04 sur deux ordinateurs, zéro souci. Passez à Xubuntu ;)

Hors ligne

#3 Le 11/11/2018, à 21:46

davidr

Re : [Resolu] Impossibilité de faire des mises à jour sous Ubuntu 18.04

voici donc la réponse obtenue :

david@david-System-Product-Name:~$ find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

/etc/apt/sources.list.distUpgrade

     1	# deb cdrom:[Ubuntu 14.04 LTS _Trusty Tahr_ - Release amd64 (20140417)]/ trusty main restricted
     2	# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
     3	# See [url]http://help.ubuntu.com/community/UpgradeNotes[/url] for how to upgrade to
     4	# newer versions of the distribution.
     5	
     6	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] xenial main restricted
     7	deb-src [url]http://fr.archive.ubuntu.com/ubuntu/[/url] xenial main restricted
     8	
     9	## Major bug fix updates produced after the final release of the
    10	## distribution.
    11	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] xenial-updates main restricted
    12	deb-src [url]http://fr.archive.ubuntu.com/ubuntu/[/url] xenial-updates main restricted
    13	
    14	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    15	## team. Also, please note that software in universe WILL NOT receive any
    16	## review or updates from the Ubuntu security team.
    17	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] xenial universe
    18	deb-src [url]http://fr.archive.ubuntu.com/ubuntu/[/url] xenial universe
    19	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] xenial-updates universe
    20	deb-src [url]http://fr.archive.ubuntu.com/ubuntu/[/url] xenial-updates universe
    21	
    22	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    23	## team, and may not be under a free licence. Please satisfy yourself as to 
    24	## your rights to use the software. Also, please note that software in 
    25	## multiverse WILL NOT receive any review or updates from the Ubuntu
    26	## security team.
    27	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] xenial multiverse
    28	deb-src [url]http://fr.archive.ubuntu.com/ubuntu/[/url] xenial multiverse
    29	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] xenial-updates multiverse
    30	deb-src [url]http://fr.archive.ubuntu.com/ubuntu/[/url] xenial-updates multiverse
    31	
    32	## Uncomment the following two lines to add software from the 'backports'
    33	## repository.
    34	## N.B. software from this repository may not have been tested as
    35	## extensively as that contained in the main release, although it includes
    36	## newer versions of some applications which may provide useful features.
    37	## Also, please note that software in backports WILL NOT receive any review
    38	## or updates from the Ubuntu security team.
    39	# deb-src [url]http://fr.archive.ubuntu.com/ubuntu/[/url] lucid-backports main restricted universe multiverse
    40	
    41	## Uncomment the following two lines to add software from Canonical's
    42	## 'partner' repository.
    43	## This software is not part of Ubuntu, but is offered by Canonical and the
    44	## respective vendors as a service to Ubuntu users.
    45	deb [url]http://archive.canonical.com/ubuntu[/url] xenial partner
    46	deb-src [url]http://archive.canonical.com/ubuntu[/url] xenial partner
    47	
    48	deb [url]http://security.ubuntu.com/ubuntu[/url] xenial-security main restricted
    49	deb-src [url]http://security.ubuntu.com/ubuntu[/url] xenial-security main restricted
    50	deb [url]http://security.ubuntu.com/ubuntu[/url] xenial-security universe
    51	deb-src [url]http://security.ubuntu.com/ubuntu[/url] xenial-security universe
    52	deb [url]http://security.ubuntu.com/ubuntu[/url] xenial-security multiverse
    53	deb-src [url]http://security.ubuntu.com/ubuntu[/url] xenial-security multiverse
    54	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] xenial restricted main multiverse universe
    55	
    56	# See [url]http://help.ubuntu.com/community/UpgradeNotes[/url] for how to upgrade to
    57	# newer versions of the distribution.
    58	
    59	## Major bug fix updates produced after the final release of the
    60	## distribution.
    61	
    62	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    63	## team. Also, please note that software in universe WILL NOT receive any
    64	## review or updates from the Ubuntu security team.
    65	
    66	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    67	## team, and may not be under a free licence. Please satisfy yourself as to 
    68	## your rights to use the software. Also, please note that software in 
    69	## multiverse WILL NOT receive any review or updates from the Ubuntu
    70	## security team.
    71	
    72	## N.B. software from this repository may not have been tested as
    73	## extensively as that contained in the main release, although it includes
    74	## newer versions of some applications which may provide useful features.
    75	## Also, please note that software in backports WILL NOT receive any review
    76	## or updates from the Ubuntu security team.
    77	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] xenial-backports main restricted universe multiverse
    78	deb-src [url]http://fr.archive.ubuntu.com/ubuntu/[/url] xenial-backports main restricted universe multiverse
    79	
    80	
    81	## Uncomment the following two lines to add software from Canonical's
    82	## 'partner' repository.
    83	## This software is not part of Ubuntu, but is offered by Canonical and the
    84	## respective vendors as a service to Ubuntu users.
    85	# deb [url]http://archive.canonical.com/ubuntu[/url] trusty partner
    86	# deb-src [url]http://archive.canonical.com/ubuntu[/url] trusty partner
    87	

/etc/apt/sources.list.d/mc3man-ubuntu-trusty-media-bionic.list

     1	deb [url]http://ppa.launchpad.net/mc3man/trusty-media/ubuntu[/url] bionic main
     2	deb-src [url]http://ppa.launchpad.net/mc3man/trusty-media/ubuntu[/url] bionic main

/etc/apt/sources.list.d/mc3man-ubuntu-trusty-media-bionic.list.save

     1	deb [url]http://ppa.launchpad.net/mc3man/trusty-media/ubuntu[/url] bionic main
     2	deb-src [url]http://ppa.launchpad.net/mc3man/trusty-media/ubuntu[/url] bionic main

/etc/apt/sources.list.save

     1	# deb cdrom:[Ubuntu 14.04 LTS _Trusty Tahr_ - Release amd64 (20140417)]/ trusty main restricted
     2	# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
     3	# See [url]http://help.ubuntu.com/community/UpgradeNotes[/url] for how to upgrade to
     4	# newer versions of the distribution.
     5	
     6	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] bionic main restricted
     7	
     8	## Major bug fix updates produced after the final release of the
     9	## distribution.
    10	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] bionic-updates main restricted
    11	
    12	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    13	## team. Also, please note that software in universe WILL NOT receive any
    14	## review or updates from the Ubuntu security team.
    15	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] bionic universe
    16	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] bionic-updates universe
    17	
    18	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    19	## team, and may not be under a free licence. Please satisfy yourself as to 
    20	## your rights to use the software. Also, please note that software in 
    21	## multiverse WILL NOT receive any review or updates from the Ubuntu
    22	## security team.
    23	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] bionic multiverse
    24	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] bionic-updates multiverse
    25	
    26	## Uncomment the following two lines to add software from the 'backports'
    27	## repository.
    28	## N.B. software from this repository may not have been tested as
    29	## extensively as that contained in the main release, although it includes
    30	## newer versions of some applications which may provide useful features.
    31	## Also, please note that software in backports WILL NOT receive any review
    32	## or updates from the Ubuntu security team.
    33	deb-src [url]http://fr.archive.ubuntu.com/ubuntu/[/url] lucid-backports main restricted universe multiverse
    34	
    35	## Uncomment the following two lines to add software from Canonical's
    36	## 'partner' repository.
    37	## This software is not part of Ubuntu, but is offered by Canonical and the
    38	## respective vendors as a service to Ubuntu users.
    39	deb [url]http://archive.canonical.com/ubuntu[/url] bionic partner
    40	deb-src [url]http://archive.canonical.com/ubuntu[/url] bionic partner
    41	
    42	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] bionic-security main restricted
    43	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] bionic-security universe
    44	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] bionic-security multiverse
    45	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] bionic universe
    46	
    47	# See [url]http://help.ubuntu.com/community/UpgradeNotes[/url] for how to upgrade to
    48	# newer versions of the distribution.
    49	
    50	## Major bug fix updates produced after the final release of the
    51	## distribution.
    52	
    53	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    54	## team. Also, please note that software in universe WILL NOT receive any
    55	## review or updates from the Ubuntu security team.
    56	
    57	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    58	## team, and may not be under a free licence. Please satisfy yourself as to 
    59	## your rights to use the software. Also, please note that software in 
    60	## multiverse WILL NOT receive any review or updates from the Ubuntu
    61	## security team.
    62	
    63	## N.B. software from this repository may not have been tested as
    64	## extensively as that contained in the main release, although it includes
    65	## newer versions of some applications which may provide useful features.
    66	## Also, please note that software in backports WILL NOT receive any review
    67	## or updates from the Ubuntu security team.
    68	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] bionic-backports main restricted universe multiverse
    69	
    70	
    71	## Uncomment the following two lines to add software from Canonical's
    72	## 'partner' repository.
    73	## This software is not part of Ubuntu, but is offered by Canonical and the
    74	## respective vendors as a service to Ubuntu users.
    75	deb [url]http://archive.canonical.com/ubuntu[/url] trusty partner
    76	deb-src [url]http://archive.canonical.com/ubuntu[/url] trusty partner
    77	

/etc/apt/sources.list

     1	# deb cdrom:[Ubuntu 14.04 LTS _Trusty Tahr_ - Release amd64 (20140417)]/ trusty main restricted
     2	# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
     3	# See [url]http://help.ubuntu.com/community/UpgradeNotes[/url] for how to upgrade to
     4	# newer versions of the distribution.
     5	
     6	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] bionic main restricted
     7	
     8	## Major bug fix updates produced after the final release of the
     9	## distribution.
    10	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] bionic-updates main restricted
    11	
    12	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    13	## team. Also, please note that software in universe WILL NOT receive any
    14	## review or updates from the Ubuntu security team.
    15	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] bionic universe
    16	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] bionic-updates universe
    17	
    18	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    19	## team, and may not be under a free licence. Please satisfy yourself as to 
    20	## your rights to use the software. Also, please note that software in 
    21	## multiverse WILL NOT receive any review or updates from the Ubuntu
    22	## security team.
    23	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] bionic multiverse
    24	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] bionic-updates multiverse
    25	
    26	## Uncomment the following two lines to add software from the 'backports'
    27	## repository.
    28	## N.B. software from this repository may not have been tested as
    29	## extensively as that contained in the main release, although it includes
    30	## newer versions of some applications which may provide useful features.
    31	## Also, please note that software in backports WILL NOT receive any review
    32	## or updates from the Ubuntu security team.
    33	deb-src [url]http://fr.archive.ubuntu.com/ubuntu/[/url] lucid-backports main restricted universe multiverse
    34	
    35	## Uncomment the following two lines to add software from Canonical's
    36	## 'partner' repository.
    37	## This software is not part of Ubuntu, but is offered by Canonical and the
    38	## respective vendors as a service to Ubuntu users.
    39	deb [url]http://archive.canonical.com/ubuntu[/url] bionic partner
    40	deb-src [url]http://archive.canonical.com/ubuntu[/url] bionic partner
    41	
    42	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] bionic-security main restricted
    43	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] bionic-security universe
    44	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] bionic-security multiverse
    45	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] bionic universe
    46	
    47	# See [url]http://help.ubuntu.com/community/UpgradeNotes[/url] for how to upgrade to
    48	# newer versions of the distribution.
    49	
    50	## Major bug fix updates produced after the final release of the
    51	## distribution.
    52	
    53	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    54	## team. Also, please note that software in universe WILL NOT receive any
    55	## review or updates from the Ubuntu security team.
    56	
    57	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    58	## team, and may not be under a free licence. Please satisfy yourself as to 
    59	## your rights to use the software. Also, please note that software in 
    60	## multiverse WILL NOT receive any review or updates from the Ubuntu
    61	## security team.
    62	
    63	## N.B. software from this repository may not have been tested as
    64	## extensively as that contained in the main release, although it includes
    65	## newer versions of some applications which may provide useful features.
    66	## Also, please note that software in backports WILL NOT receive any review
    67	## or updates from the Ubuntu security team.
    68	deb [url]http://fr.archive.ubuntu.com/ubuntu/[/url] bionic-backports main restricted universe multiverse
    69	
    70	
    71	## Uncomment the following two lines to add software from Canonical's
    72	## 'partner' repository.
    73	## This software is not part of Ubuntu, but is offered by Canonical and the
    74	## respective vendors as a service to Ubuntu users.
    75	deb [url]http://archive.canonical.com/ubuntu[/url] trusty partner
    76	deb-src [url]http://archive.canonical.com/ubuntu[/url] trusty partner
    77	
david@david-System-Product-Name:~$

Dernière modification par davidr (Le 11/11/2018, à 21:52)

Hors ligne

#4 Le 11/11/2018, à 21:49

xubu1957

Re : [Resolu] Impossibilité de faire des mises à jour sous Ubuntu 18.04

Bonjour,

Pour ajouter toi-même les balises code à tes précédents messages #1 et #3 :             Merci            wink

  • Cliquer sur  le lien « Modifier » en bas à droite du message

  • Sélectionner le texte

  • Cliquer sur le <> de l'éditeur de message

1530289742.png

comme indiqué dans le : Retour utilisable de commande

Dernière modification par xubu1957 (Le 11/11/2018, à 22:11)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#5 Le 11/11/2018, à 21:53

Mornagest

Re : [Resolu] Impossibilité de faire des mises à jour sous Ubuntu 18.04

Waw. C'est le boxon, comme je m'y attendais tongue

En gros, tu vas pouvoir tout supprimer et refaire un sources.list à neuf pour repartir sur quelque chose de sain.

Pour supprimer tout ça, tu fais sudo rm -R /etc/apt/sources.list.d (là aussi, copie-colle la commande pour éviter les fautes de frappe ou de manip !)

Ensuite, tu supprimes les sources.list "de base" qui contient plein de vieilles références à Trusty : sudo rm /etc/apt/sources.list /etc/apt/sources.listdistUpgrade

Puis tu recrées ce fichier : sudo nano /etc/apt/sources.list et tu y colles ceci :

deb http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

# Dépôts de sources (uniquement utiles pour télécharger les sources avec apt-get source. Dans ce cas, enlever les #)
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

Tu enregistres les changements en faisant Ctrl + o (la lettre, pas le chiffre), tu valides en faisant Entrée, et tu quittes nano en faisant Ctrl + x.

Enfin, tu mets à jour : sudo apt update ; sudo apt full-upgrade ; sudo apt clean ; sudo apt autoclean ; sudo apt autoremove

Dernière modification par Mornagest (Le 11/11/2018, à 21:54)


N'oubliez pas de consulter la documentation pour vous donner un coup de main !
Merci de modifier le premier message de votre sujet pour ajouter [Résolu] lorsque votre problème l'est :)
Xubuntu 20.04 sur deux ordinateurs, zéro souci. Passez à Xubuntu ;)

Hors ligne

#6 Le 11/11/2018, à 22:05

davidr

Re : [Resolu] Impossibilité de faire des mises à jour sous Ubuntu 18.04

voilà ce que j'obtiens :

david@david-System-Product-Name:~$ sudo rm /etc/apt/sources.list
david@david-System-Product-Name:~$ sudo nano /etc/apt/sources.list 
david@david-System-Product-Name:~$ sudo apt update
Réception de:1 http://fr.archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Réception de:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Réception de:3 http://fr.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Réception de:4 http://fr.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Réception de:5 http://fr.archive.ubuntu.com/ubuntu xenial/main i386 Packages [1196 kB]
Réception de:6 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1201 kB]
Réception de:7 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [494 kB]
Réception de:8 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [575 kB]
Réception de:9 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [241 kB]
Réception de:10 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [67,7 kB]
Réception de:11 http://fr.archive.ubuntu.com/ubuntu xenial/main Translation-fr [597 kB]
Réception de:12 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 48x48 Icons [4031 B]
Réception de:13 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [68,0 kB]
Réception de:14 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [7204 B]
Réception de:15 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 Packages [7224 B]
Réception de:16 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en [2152 B]
Réception de:17 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 DEP-11 Metadata [200 B]
Réception de:18 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [345 kB]
Réception de:19 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [398 kB]
Réception de:20 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [154 kB]
Réception de:21 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [108 kB]
Réception de:22 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 48x48 Icons [29 B]
Réception de:23 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [150 kB]
Réception de:24 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages [3632 B]
Réception de:25 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [3460 B]
Réception de:26 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [1744 B]
Réception de:27 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata [212 B]
Réception de:28 http://security.ubuntu.com/ubuntu xenial-security/multiverse DEP-11 64x64 Icons [29 B]
Réception de:29 http://fr.archive.ubuntu.com/ubuntu xenial/main Translation-en [568 kB]
Réception de:30 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 DEP-11 Metadata [733 kB]
Réception de:31 http://fr.archive.ubuntu.com/ubuntu xenial/main DEP-11 64x64 Icons [409 kB]
Réception de:32 http://fr.archive.ubuntu.com/ubuntu xenial/restricted i386 Packages [8684 B]
Réception de:33 http://fr.archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [8344 B]
Réception de:34 http://fr.archive.ubuntu.com/ubuntu xenial/restricted Translation-fr [2824 B]
Réception de:35 http://fr.archive.ubuntu.com/ubuntu xenial/restricted Translation-en [2908 B]
Réception de:36 http://fr.archive.ubuntu.com/ubuntu xenial/restricted amd64 DEP-11 Metadata [186 B]
Réception de:37 http://fr.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7532 kB]
Réception de:38 http://fr.archive.ubuntu.com/ubuntu xenial/universe i386 Packages [7512 kB]
Réception de:39 http://fr.archive.ubuntu.com/ubuntu xenial/universe Translation-en [4354 kB]
Réception de:40 http://fr.archive.ubuntu.com/ubuntu xenial/universe Translation-fr [2524 kB]
Réception de:41 http://fr.archive.ubuntu.com/ubuntu xenial/universe amd64 DEP-11 Metadata [3410 kB]
Réception de:42 http://fr.archive.ubuntu.com/ubuntu xenial/universe DEP-11 64x64 Icons [7448 kB]
Réception de:43 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB]
Réception de:44 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages [140 kB]
Réception de:45 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB]
Réception de:46 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse Translation-fr [105 kB]
Réception de:47 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse amd64 DEP-11 Metadata [63,8 kB]
Réception de:48 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse DEP-11 64x64 Icons [230 kB]
Réception de:49 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [778 kB]
Réception de:50 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [873 kB]
Réception de:51 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [355 kB]
Réception de:52 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [320 kB]
Réception de:53 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 48x48 Icons [14,6 kB]
Réception de:54 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [227 kB]
Réception de:55 http://fr.archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages [7524 B]
Réception de:56 http://fr.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [7556 B]
Réception de:57 http://fr.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2272 B]
Réception de:58 http://fr.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 DEP-11 Metadata [157 B]
Réception de:59 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [644 kB]
Réception de:60 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [702 kB]
Réception de:61 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [286 kB]
Réception de:62 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [247 kB]
Réception de:63 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 48x48 Icons [6893 B]
Réception de:64 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [333 kB]
Réception de:65 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages [15,5 kB]
Réception de:66 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [16,4 kB]
Réception de:67 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [8344 B]
Réception de:68 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5964 B]
Réception de:69 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse DEP-11 48x48 Icons [29 B]
Réception de:70 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons [14,3 kB]
Réception de:71 http://fr.archive.ubuntu.com/ubuntu xenial-backports/main i386 Packages [7292 B]
Réception de:72 http://fr.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [7288 B]
Réception de:73 http://fr.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en [4456 B]
Réception de:74 http://fr.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3324 B]
Réception de:75 http://fr.archive.ubuntu.com/ubuntu xenial-backports/main DEP-11 48x48 Icons [29 B]
Réception de:76 http://fr.archive.ubuntu.com/ubuntu xenial-backports/main DEP-11 64x64 Icons [29 B]
Réception de:77 http://fr.archive.ubuntu.com/ubuntu xenial-backports/restricted amd64 DEP-11 Metadata [194 B]
Réception de:78 http://fr.archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages [7488 B]
Réception de:79 http://fr.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [7804 B]
Réception de:80 http://fr.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [4184 B]
Réception de:81 http://fr.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [5100 B]
Réception de:82 http://fr.archive.ubuntu.com/ubuntu xenial-backports/universe DEP-11 48x48 Icons [29 B]
Réception de:83 http://fr.archive.ubuntu.com/ubuntu xenial-backports/universe DEP-11 64x64 Icons [1789 B]
Réception de:84 http://fr.archive.ubuntu.com/ubuntu xenial-backports/multiverse amd64 DEP-11 Metadata [216 B]
Réception de:85 http://fr.archive.ubuntu.com/ubuntu xenial-backports/multiverse DEP-11 64x64 Icons [29 B]
46,4 Mo réceptionnés en 23s (2000 ko/s)                                       
sudo apt full-upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Tous les paquets sont à jour.
david@david-System-Product-Name:~$ sudo apt full-upgrade
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
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
david@david-System-Product-Name:~$ sudo apt clean
david@david-System-Product-Name:~$ sudo apt autoclean
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
david@david-System-Product-Name:~$ sudo apt autoremove
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 0 non mis à jour.
david@david-System-Product-Name:~$ 

je ne sais pas si c'est bon signe mais on dirait ! Lorsque je lance maintenant mon gestionnaire de mises à jour cela ne m'indique plus le message d'erreur et me dit simplement que les logiciels sont à jour.

Merci mille fois Mornagest pour la solution !
Merci xubu1957 pour l'aide à la lisibilité de mes message (d'ailleurs je me suis rendu compte que je ne l'avais pas vraiment posté dans la bonne rubrique...)

dernière question comment indiqué que c'est résolu si cela se confirma être le cas ?

Merci encore !

Hors ligne

#7 Le 11/11/2018, à 22:12

xubu1957

Re : [Resolu] Impossibilité de faire des mises à jour sous Ubuntu 18.04

Pour éditer ta discussion et rajouter [Résolu] au début du titre, il faut utiliser le bouton Modifier au bas de ton premier message.

Merci wink


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#8 Le 11/11/2018, à 22:12

Mornagest

Re : [Resolu] Impossibilité de faire des mises à jour sous Ubuntu 18.04

Aucune erreur lors de sudo apt update, ça semble fonctionner smile

Tu peux effectuer la commande sudo apt update ; sudo apt full-upgrade ; sudo apt clean ; sudo apt autoclean ; sudo apt autoremove sur une seule ligne, en séparant par un point-virgule, cela les fait s'exécuter l'une après l'autre.

Pour passer en résolu, tu modifies le premier message du sujet et tu auras accès au titre smile


N'oubliez pas de consulter la documentation pour vous donner un coup de main !
Merci de modifier le premier message de votre sujet pour ajouter [Résolu] lorsque votre problème l'est :)
Xubuntu 20.04 sur deux ordinateurs, zéro souci. Passez à Xubuntu ;)

Hors ligne

#9 Le 11/11/2018, à 22:20

PPdM

Re : [Resolu] Impossibilité de faire des mises à jour sous Ubuntu 18.04

Salut
avec les balises code c'est mieux wink

sudo apt update;sudo apt full-upgrade;sudo apt clean;sudo apt autoclean;sudo apt autoremove

Dernière modification par PPdM (Le 11/11/2018, à 22:39)


La critique est facile, mais l'art est difficile !
L'humanité étant ce qu'elle est, la liberté ne sera jamais un acquit, mais toujours un droit à défendre !
Pour résoudre un problème commence par poser les bonnes questions, la bonne solution en découlera

Hors ligne

#10 Le 11/11/2018, à 23:14

davidr

Re : [Resolu] Impossibilité de faire des mises à jour sous Ubuntu 18.04

Merci en tous cas,
Un premier passage sur ce forum fort concluant !

Hors ligne