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 02/03/2020, à 16:43

stephan11

Problème avec la mise à jour d'Ubuntu [Résolu]

Bonjour,

J'aimerais mettre à jour mon Ubuntu.

j'ai lancé un:

sudo apt-get update

Mais j'obtiens cela:

Atteint :1 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease
Atteint :2 http://fr.archive.ubuntu.com/ubuntu bionic InRelease                                                                                                                                            
Atteint :3 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease                                                                                                                                  
Atteint :4 http://archive.ubuntu.com/ubuntu bionic InRelease                                                                                                                                               
Atteint :5 http://archive.canonical.com bionic InRelease                                                                                                                                                   
Ign :6 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                                              
Atteint :7 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease                                                                                                                                     
Réception de :8 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]                                                                                                                       
Atteint :9 http://dl.google.com/linux/chrome/deb stable Release                                                                                                                                            
Réception de :10 https://download.docker.com/linux/ubuntu bionic InRelease [64,4 kB]                                                                                                                       
Réception de :11 https://dl.yarnpkg.com/debian stable InRelease [17,1 kB]                                                                                                                                  
Réception de :12 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]                                                                 
Réception de :13 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]              
Err :11 https://dl.yarnpkg.com/debian stable InRelease          
  Les signatures suivantes ne sont pas valables : EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
Réception de :15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [871 kB]
Réception de :16 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [650 kB]
Réception de :17 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1054 kB]
Réception de :18 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1010 kB]
3917 ko réceptionnés en 3s (1499 ko/s)                                                    
Lecture des listes de paquets... Fait
W: Une erreur s'est produite lors du contrôle de la signature. Le dépôt n'est pas mis à jour et les fichiers d'index précédents seront utilisés. Erreur de GPG : https://dl.yarnpkg.com/debian stable InRelease : Les signatures suivantes ne sont pas valables : EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
W: La cible Packages (main/binary-amd64/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible Packages (main/binary-i386/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible Packages (main/binary-all/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible Translations (main/i18n/Translation-fr_FR) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible Translations (main/i18n/Translation-fr) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible Translations (main/i18n/Translation-en) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible DEP-11 (main/dep11/Components-amd64.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible DEP-11 (main/dep11/Components-all.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible DEP-11-icons-small (main/dep11/icons-48x48.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible DEP-11-icons (main/dep11/icons-64x64.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible CNF (main/cnf/Commands-amd64) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible CNF (main/cnf/Commands-all) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible Packages (multiverse/binary-amd64/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible Packages (multiverse/binary-i386/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible Packages (multiverse/binary-all/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible Translations (multiverse/i18n/Translation-fr_FR) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible Translations (multiverse/i18n/Translation-fr) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible Translations (multiverse/i18n/Translation-en) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible DEP-11 (multiverse/dep11/Components-amd64.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible DEP-11 (multiverse/dep11/Components-all.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible DEP-11-icons-small (multiverse/dep11/icons-48x48.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible DEP-11-icons (multiverse/dep11/icons-64x64.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible CNF (multiverse/cnf/Commands-amd64) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible CNF (multiverse/cnf/Commands-all) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible Packages (universe/binary-amd64/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57
W: La cible Packages (universe/binary-i386/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57
W: La cible Packages (universe/binary-all/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57
W: La cible Translations (universe/i18n/Translation-fr_FR) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57
W: La cible Translations (universe/i18n/Translation-fr) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57
W: La cible Translations (universe/i18n/Translation-en) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57
W: La cible DEP-11 (universe/dep11/Components-amd64.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57
W: La cible DEP-11 (universe/dep11/Components-all.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57
W: La cible DEP-11-icons-small (universe/dep11/icons-48x48.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57
W: La cible DEP-11-icons (universe/dep11/icons-64x64.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57
W: La cible CNF (universe/cnf/Commands-amd64) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57
W: La cible CNF (universe/cnf/Commands-all) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57
W: Impossible de récupérer https://dl.yarnpkg.com/debian/dists/stable/InRelease  Les signatures suivantes ne sont pas valables : EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
W: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
W: La cible Packages (main/binary-amd64/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible Packages (main/binary-i386/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible Packages (main/binary-all/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible Translations (main/i18n/Translation-fr_FR) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible Translations (main/i18n/Translation-fr) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible Translations (main/i18n/Translation-en) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible DEP-11 (main/dep11/Components-amd64.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible DEP-11 (main/dep11/Components-all.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible DEP-11-icons-small (main/dep11/icons-48x48.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible DEP-11-icons (main/dep11/icons-64x64.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible CNF (main/cnf/Commands-amd64) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible CNF (main/cnf/Commands-all) est spécifiée plusieurs fois dans /etc/apt/sources.list:46 et /etc/apt/sources.list:57
W: La cible Packages (multiverse/binary-amd64/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible Packages (multiverse/binary-i386/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible Packages (multiverse/binary-all/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible Translations (multiverse/i18n/Translation-fr_FR) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible Translations (multiverse/i18n/Translation-fr) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible Translations (multiverse/i18n/Translation-en) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible DEP-11 (multiverse/dep11/Components-amd64.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible DEP-11 (multiverse/dep11/Components-all.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible DEP-11-icons-small (multiverse/dep11/icons-48x48.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible DEP-11-icons (multiverse/dep11/icons-64x64.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible CNF (multiverse/cnf/Commands-amd64) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible CNF (multiverse/cnf/Commands-all) est spécifiée plusieurs fois dans /etc/apt/sources.list:50 et /etc/apt/sources.list:57
W: La cible Packages (universe/binary-amd64/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57
W: La cible Packages (universe/binary-i386/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57
W: La cible Packages (universe/binary-all/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57
W: La cible Translations (universe/i18n/Translation-fr_FR) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57
W: La cible Translations (universe/i18n/Translation-fr) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57
W: La cible Translations (universe/i18n/Translation-en) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57
W: La cible DEP-11 (universe/dep11/Components-amd64.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57
W: La cible DEP-11 (universe/dep11/Components-all.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57
W: La cible DEP-11-icons-small (universe/dep11/icons-48x48.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57
W: La cible DEP-11-icons (universe/dep11/icons-64x64.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57
W: La cible CNF (universe/cnf/Commands-amd64) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57
W: La cible CNF (universe/cnf/Commands-all) est spécifiée plusieurs fois dans /etc/apt/sources.list:48 et /etc/apt/sources.list:57

Pouvez vous m'aider à résoudre ce problème s'il vous plaît?

Je vous remercie d'avance

Dernière modification par stephan11 (Le 02/03/2020, à 19:31)

Hors ligne

#2 Le 02/03/2020, à 16:49

xubu1957

Re : Problème avec la mise à jour d'Ubuntu [Résolu]

Bonjour,

Pour :

Err :11 https://dl.yarnpkg.com/debian stable InRelease          

Tu peux regarder > [Résolu] The following signatures were invalid: KEYEXPIRED

_ _ _

Pour tes lignes en doublons, montre le sources.list :

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

Dernière modification par xubu1957 (Le 02/03/2020, à 16:50)


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

En ligne

#3 Le 02/03/2020, à 19:12

stephan11

Re : Problème avec la mise à jour d'Ubuntu [Résolu]

Ok, pour yarnpkg.

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

me donne:

/etc/apt/sources.list.d/texlive-backports-ubuntu-ppa-bionic.list


/etc/apt/sources.list.d/docker.list

     1	deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable

/etc/apt/sources.list.d/google-chrome.list

     1	### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2	# You may comment out this entry, but any other modifications may be lost.
     3	deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

/etc/apt/sources.list.d/ondrej-ubuntu-php-bionic.list

     1	deb http://ppa.launchpad.net/ondrej/php/ubuntu bionic main
     2	# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu bionic main

/etc/apt/sources.list.d/yarn.list

     1	deb https://dl.yarnpkg.com/debian/ stable main

/etc/apt/sources.list

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

Hors ligne

#4 Le 02/03/2020, à 19:16

xubu1957

Re : Problème avec la mise à jour d'Ubuntu [Résolu]

46	deb http://security.ubuntu.com/ubuntu bionic-security main restricted
 48	deb http://security.ubuntu.com/ubuntu bionic-security universe
 50	deb http://security.ubuntu.com/ubuntu bionic-security multiverse

font doublon avec :

    57	deb http://security.ubuntu.com/ubuntu/ bionic-security main multiverse universe

J'aide à passer le frottoir dans les couloirs du forum, mais pour la chirurgie au bistouri, je vais demander de l'aide.


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

En ligne

#5 Le 02/03/2020, à 19:29

stephan11

Re : Problème avec la mise à jour d'Ubuntu [Résolu]

Du coup, j'ai supprimé:

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse

et j'ai laissé:

http://security.ubuntu.com/ubuntu/ bionic-security main multiverse universe

et la mise à jour a fonctionné.

Merci

Hors ligne

#6 Le 02/03/2020, à 19:35

nany

Re : Problème avec la mise à jour d'Ubuntu [Résolu]

Bonjour,


xubu1957 a écrit :

mais pour la chirurgie au bistouri, je vais demander de l'aide.

Alors me voilà avec mon bistouri. big_smile


@stephan11 ; donne les retours de :

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "# deb cdrom:"$(sed 's/^/\[/;s/\"/_/g;s/$/\]/' /var/log/installer/media-info)"/ "$(awk -F'"' '{sub(" .*","",$2); print tolower($2)}' /var/log/installer/media-info)" main restricted" | sudo tee /etc/apt/sources.list
tail +9 /snap/core/current/etc/cloud/templates/sources.list.ubuntu.tmpl | sed "s#{{mirror}}#http://fr.archive.ubuntu.com/ubuntu/#;s#{{codename}}#$(lsb_release -sc)#;s#{{security}}#http://security.ubuntu.com/ubuntu/#" | sudo tee -a /etc/apt/sources.list
sudo apt clean && sudo apt update

En ligne

#7 Le 02/03/2020, à 19:51

stephan11

Re : Problème avec la mise à jour d'Ubuntu [Résolu]

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -

me donne:

OK
echo "# deb cdrom:"$(sed 's/^/\[/;s/\"/_/g;s/$/\]/' /var/log/installer/media-info)"/ "$(awk -F'"' '{sub(" .*","",$2); print tolower($2)}' /var/log/installer/media-info)" main restricted" | sudo tee /etc/apt/sources.list

me donne:

# deb cdrom:[Ubuntu 18.04.3 LTS _Bionic Beaver_ - Release amd64 (20190805)]/ bionic main restricted
tail +9 /snap/core/current/etc/cloud/templates/sources.list.ubuntu.tmpl | sed "s#{{mirror}}#http://fr.archive.ubuntu.com/ubuntu/#;s#{{codename}}#$(lsb_release -sc)#;s#{{security}}#http://security.ubuntu.com/ubuntu/#" | sudo tee -a /etc/apt/sources.list

me donne:

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ bionic universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic universe
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ bionic multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ bionic-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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 bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu/ bionic-security main restricted
deb http://security.ubuntu.com/ubuntu/ bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu/ bionic-security universe
deb http://security.ubuntu.com/ubuntu/ bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu/ bionic-security multiverse
sudo apt clean && sudo apt update

me donne:

Atteint :1 http://fr.archive.ubuntu.com/ubuntu bionic InRelease
Atteint :2 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                                                                         
Atteint :3 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease                                                                                                       
Atteint :4 http://security.ubuntu.com/ubuntu bionic-security InRelease                                                                                                          
Atteint :5 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease                                                                                                          
Ign :6 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                 
Atteint :7 http://dl.google.com/linux/chrome/deb stable Release                                                                                       
Réception de :8 https://download.docker.com/linux/ubuntu bionic InRelease [64,4 kB]                                                                        
Atteint :9 https://dl.yarnpkg.com/debian stable InRelease                                                                                                  
Réception de :10 http://fr.archive.ubuntu.com/ubuntu bionic/main i386 Packages [1007 kB]         
Réception de :11 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1019 kB]
Réception de :12 http://fr.archive.ubuntu.com/ubuntu bionic/main Translation-fr [513 kB]   
Réception de :13 http://fr.archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB]   
Réception de :14 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 DEP-11 Metadata [477 kB]
Réception de :15 http://fr.archive.ubuntu.com/ubuntu bionic/main DEP-11 48x48 Icons [118 kB] 
Réception de :16 http://fr.archive.ubuntu.com/ubuntu bionic/main DEP-11 64x64 Icons [245 kB]
Réception de :17 http://fr.archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [9184 B]
Réception de :18 http://fr.archive.ubuntu.com/ubuntu bionic/restricted i386 Packages [9156 B]
Réception de :19 http://fr.archive.ubuntu.com/ubuntu bionic/restricted Translation-en [3584 B]
Réception de :20 http://fr.archive.ubuntu.com/ubuntu bionic/restricted Translation-fr [2380 B]   
Réception de :21 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [23,8 kB]
Réception de :22 http://security.ubuntu.com/ubuntu bionic-security/restricted i386 Packages [4280 B]
Réception de :23 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [6528 B]
4019 ko réceptionnés en 1s (3166 ko/s)                                                               
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
126 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.

Hors ligne

#8 Le 02/03/2020, à 19:57

nany

Re : Problème avec la mise à jour d'Ubuntu [Résolu]

Il ne reste plus qu’à réactiver le dépôt partner. Donne le retour de :

sudo sed -i '/partner/s/^# deb http/deb http/' /etc/apt/sources.list && sudo apt clean && sudo apt update

En ligne

#9 Le 02/03/2020, à 20:01

stephan11

Re : Problème avec la mise à jour d'Ubuntu [Résolu]

sudo sed -i '/partner/s/^# deb http/deb http/' /etc/apt/sources.list && sudo apt clean && sudo apt update

me donne:

Atteint :1 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
Atteint :2 http://fr.archive.ubuntu.com/ubuntu bionic InRelease                                                                                                                                            
Atteint :3 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                                                                                                    
Atteint :4 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease                                                                                                                                  
Réception de :5 https://download.docker.com/linux/ubuntu bionic InRelease [64,4 kB]                                                                                                                        
Ign :6 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                                              
Atteint :7 https://dl.yarnpkg.com/debian stable InRelease                                                                                                                                                  
Atteint :8 http://dl.google.com/linux/chrome/deb stable Release                                                                                                                                   
Atteint :9 http://security.ubuntu.com/ubuntu bionic-security InRelease                                                                                    
Réception de :10 http://archive.canonical.com/ubuntu bionic InRelease [10,2 kB]                                         
Réception de :12 http://archive.canonical.com/ubuntu bionic/partner amd64 Packages [2292 B]
Réception de :13 http://archive.canonical.com/ubuntu bionic/partner i386 Packages [2292 B]
Réception de :14 http://archive.canonical.com/ubuntu bionic/partner Translation-en [1332 B]
80,6 ko réceptionnés en 2s (48,9 ko/s)
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
126 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.

Hors ligne

#10 Le 02/03/2020, à 20:08

nany

Re : Problème avec la mise à jour d'Ubuntu [Résolu]

Voilà, ton fichier sources.list est maintenant d’aplomb.

Tu peux passer aux mises à jour :

sudo apt full-upgrade

En ligne

#11 Le 02/03/2020, à 20:13

stephan11

Re : Problème avec la mise à jour d'Ubuntu [Résolu]

J'ai fait la mise à jour.

Merci encore

Hors ligne

#12 Le 02/03/2020, à 20:25

xubu1957

Re : Problème avec la mise à jour d'Ubuntu [Résolu]

Merci nany smile


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

En ligne