Ces derniers jours, mon gestionnaire de mises à jour Ubuntu 11.10 ne pouvait pas obtenir de nouvelles mises à jour. Lorsque j'ai vérifié le journal de mise à jour, j'ai constaté que, pour quelques mises à jour, le message "Le réseau n'est pas disponible". Pour les autres mises à jour, les journaux téléchargés et la connexion Internet fonctionnent également correctement.
Impossible de joindre la capture d'écran en raison de la politique de prévention du SPAM. Mais pour au-dessous, relâchez gpgv:/var/lib/apt/lists/partial/extras.ubuntu.com_ubuntu_dists_oneiric_Release.gpg
il dit "Le réseau n'est pas disponible"
Pour toutes les autres versions, le téléchargement est correct. Et pour cette raison, je ne vois aucune mise à jour disponible au cours des 10 derniers jours.
LOG DE Sudo apt-get update:
dipen@EIDLCPU1018:~$ Sudo apt-get update
[Sudo] password for dipen:
Ign http:/extras.ubuntu.com oneiric InRelease
Ign http:/archive.canonical.com oneiric InRelease
Ign http:/archive.canonical.com lucid InRelease
Get:1 http:/extras.ubuntu.com oneiric Release.gpg [72 B]
Get:2 http:/archive.canonical.com oneiric Release.gpg [198 B]
Hit http:/extras.ubuntu.com oneiric Release
Get:3 http:/archive.canonical.com lucid Release.gpg [198 B]
Err http:/extras.ubuntu.com oneiric Release
Hit http:/archive.canonical.com oneiric Release
Ign http:/archive.canonical.com oneiric Release
Hit http:/archive.canonical.com lucid Release
Ign http:/archive.canonical.com lucid Release
Ign http:/archive.canonical.com oneiric/partner i386 Packages/DiffIndex
Ign http:/archive.canonical.com oneiric/partner TranslationIndex
Ign http:/archive.canonical.com lucid/partner i386 Packages/DiffIndex
Ign http:/archive.canonical.com lucid/partner TranslationIndex
Hit http:/archive.canonical.com oneiric/partner i386 Packages
Hit http:/archive.canonical.com lucid/partner i386 Packages
Ign http:/dl.google.com stable InRelease
Ign http:/archive.canonical.com oneiric/partner Translation-en_IN
Ign http:/archive.canonical.com oneiric/partner Translation-en
Ign http:/archive.canonical.com lucid/partner Translation-en_IN
Ign http:/archive.canonical.com lucid/partner Translation-en
Ign http:/in.archive.ubuntu.com oneiric InRelease
Ign http:/in.archive.ubuntu.com oneiric-updates InRelease
Ign http:/in.archive.ubuntu.com oneiric-security InRelease
Get:4 http//dl.google.com stable Release.gpg [198 B]
Get:5 http//in.archive.ubuntu.com oneiric Release.gpg [198 B]
Get:6 http//in.archive.ubuntu.com oneiric-updates Release.gpg [198 B]
Get:7 http//in.archive.ubuntu.com oneiric-security Release.gpg [198 B]
Hit http:/in.archive.ubuntu.com oneiric Release
Ign http:/in.archive.ubuntu.com oneiric Release
Hit http:/in.archive.ubuntu.com oneiric-updates Release
Err http:/in.archive.ubuntu.com oneiric-updates Release
Hit http:/in.archive.ubuntu.com oneiric-security Release
Ign http:/in.archive.ubuntu.com oneiric-security Release
Ign http:/in.archive.ubuntu.com oneiric/main i386 Packages/DiffIndex
Ign http:/in.archive.ubuntu.com oneiric/restricted i386 Packages/DiffIndex
Ign http:/in.archive.ubuntu.com oneiric/universe i386 Packages/DiffIndex
Ign http:/in.archive.ubuntu.com oneiric/multiverse i386 Packages/DiffIndex
Hit http:/in.archive.ubuntu.com oneiric/main TranslationIndex
Hit http:/in.archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit http:/in.archive.ubuntu.com oneiric/restricted TranslationIndex
Hit http:/in.archive.ubuntu.com oneiric/universe TranslationIndex
Ign http:/in.archive.ubuntu.com oneiric-security/main i386 Packages/DiffIndex
Ign http:/in.archive.ubuntu.com oneiric-security/restricted i386 Packages/DiffIndex
Ign http:/in.archive.ubuntu.com oneiric-security/universe i386 Packages/DiffIndex
Ign http:/in.archive.ubuntu.com oneiric-security/multiverse i386 Packages/DiffIndex
Hit http:/in.archive.ubuntu.com oneiric-security/main TranslationIndex
Hit http:/in.archive.ubuntu.com oneiric-security/multiverse TranslationIndex
Hit http:/in.archive.ubuntu.com oneiric-security/restricted TranslationIndex
Hit http:/in.archive.ubuntu.com oneiric-security/universe TranslationIndex
Hit http:/in.archive.ubuntu.com oneiric/main i386 Packages
Hit http:/in.archive.ubuntu.com oneiric/restricted i386 Packages
Hit http:/in.archive.ubuntu.com oneiric/universe i386 Packages
Hit http:/in.archive.ubuntu.com oneiric/multiverse i386 Packages
Hit http:/in.archive.ubuntu.com oneiric/main Translation-en
Hit http:/in.archive.ubuntu.com oneiric/multiverse Translation-en
Hit http:/in.archive.ubuntu.com oneiric/restricted Translation-en
Hit http:/in.archive.ubuntu.com oneiric/universe Translation-en
Hit http:/in.archive.ubuntu.com oneiric-security/main i386 Packages
Hit http:/in.archive.ubuntu.com oneiric-security/restricted i386 Packages
Hit http:/in.archive.ubuntu.com oneiric-security/universe i386 Packages
Hit http:/in.archive.ubuntu.com oneiric-security/multiverse i386 Packages
Hit http:/in.archive.ubuntu.com oneiric-security/main Translation-en
Hit http:/in.archive.ubuntu.com oneiric-security/multiverse Translation-en
Get:8 http//dl.google.com stable Release [1,347 B]
Hit http:/in.archive.ubuntu.com oneiric-security/restricted Translation-en
Hit http:/in.archive.ubuntu.com oneiric-security/universe Translation-en
Get:9 http//dl.google.com stable/main i386 Packages [1,214 B]
Ign http:/dl.google.com stable/main TranslationIndex
Ign http:/dl.google.com stable/main Translation-en_IN
Ign http:/dl.google.com stable/main Translation-en
Fetched 3,821 B in 41s (91 B/s)
Reading package lists... Done
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http:/extras.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <[email protected]>
W: GPG error: http:/archive.canonical.com oneiric Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>
W: GPG error: http:/archive.canonical.com lucid Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>
W: GPG error: http:/in.archive.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http:/in.archive.ubuntu.com oneiric-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>
W: GPG error: http:/in.archive.ubuntu.com oneiric-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>
W: Failed to fetch http:/extras.ubuntu.com/ubuntu/dists/oneiric/Release
W: Failed to fetch http:/in.archive.ubuntu.com/ubuntu/dists/oneiric-updates/Release
W: Some index files failed to download. They have been ignored, or old ones used instead.
dipen@EIDLCPU1018:~$
LOG de Sudo apt-get upgrade:
dipen@EIDLCPU1018:~$ Sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
ghc6-doc haskell-zlib-doc libghc6-zlib-doc
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
dipen@EIDLCPU1018:~$
/ etc/apt/sources.list:
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric main restricted
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric universe
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric-updates universe
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
deb http:/archive.canonical.com/ubuntu oneiric partner
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric-security main restricted
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric-security universe
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric-security multiverse
deb http:/extras.ubuntu.com/ubuntu oneiric main #Third party developers repository
deb http:/archive.canonical.com/ lucid partner
Vous avez quelques problèmes qui doivent être corrigés:
Ouvrez un terminal et tapez
Sudo nano /etc/apt/sources.list
Recherchez les lignes contenant lucid
par exemple
deb http:/archive.canonical.com/ lucid partner
Ajoutez un #
au début de la ligne pour le commenter - par exemple
#deb http:/archive.canonical.com/ lucid partner
Sauvegarder et relancer
Sudo apt-get update && Sudo apt-get upgrade
Vous rencontrez un certain nombre d'erreurs avec BADSIG, car le certificat de sécurité n'a pas été téléchargé correctement. Vous pouvez corriger cela en suivant les instructions du Q & R lié ci-dessous.
Après avoir corrigé les erreurs BADSIG, exécutez à nouveau:
Sudo apt-get update && Sudo apt-get upgrade
Question liée:
`
Pouvez-vous cingler un site externe depuis le terminal? Essayez quelque chose comme:
$ ping google.com
Si cela fonctionne, vous n'avez pas de problèmes de connexion.
Essayez d’exécuter les mises à jour via apt-get:
# apt-get update
puis:
# apt-get upgrade
Est-ce que cela fonctionne?
Si vous le pouvez, essayez de voir quelle est la liste des sources d'apt:
# more /etc/apt/sources.list
Est-ce que les entrées sont correctes?
De plus, pour être sûr, vous utilisez Ubuntu 11.10 et essayez simplement d'obtenir des mises à jour logicielles, n'est-ce pas? Vous n'essayez pas de dist-upgrade?