web-dev-qa-db-fra.com

Comment réparer les informations de référentiel brisées?

J'ai une petite icône en forme de croix rouge dans mon applet indicateur, et en survolant, elle indique que Une erreur est survenue lors de la recherche de mises à jour. . N'éditez pas les référentiels sélectionnés via synaptic, qui refuse d'ouvrir la boîte de dialogue et tente simplement de mettre à jour la liste des packages.

Get:1 http://dl.google.com stable Release.gpg [197B]
Hit http://archive.ubuntu.com maverick Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Hit http://extras.ubuntu.com maverick Release.gpg
Ign http://extras.ubuntu.com/ubuntu/ maverick/main Translation-en
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/elementaryart/ppa/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/elementaryart/ppa/ubuntu/ maverick/main Translation-en_GB
Ign http://dl.google.com/linux/chrome/deb/ stable/main Translation-en
Hit http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en_GB
Ign http://archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en
Hit http://archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en_GB
Ign http://archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en
Hit http://archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en_GB
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Hit http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en_GB
Hit http://archive.ubuntu.com maverick-updates Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en
Ign http://extras.ubuntu.com/ubuntu/ maverick/main Translation-en_GB
Hit http://extras.ubuntu.com maverick Release
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/nikount/orta-desktop/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/nikount/orta-desktop/ubuntu/ maverick/main Translation-en_GB
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/stk/dev/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/stk/dev/ubuntu/ maverick/main Translation-en_GB
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/tiheum/equinox/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/tiheum/equinox/ubuntu/ maverick/main Translation-en_GB
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en_GB
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en_GB
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en_GB
Hit http://ppa.launchpad.net maverick Release
Hit http://ppa.launchpad.net maverick Release
Hit http://ppa.launchpad.net maverick Release
Hit http://extras.ubuntu.com maverick/main Sources
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en_GB
Hit http://archive.ubuntu.com maverick-security Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/main Translation-en_GB
Hit http://ppa.launchpad.net maverick Release
Hit http://extras.ubuntu.com maverick/main i386 Packages
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en_GB
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en_GB
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/universe Translation-en
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Ign http://dl.google.com/linux/chrome/deb/ stable/main Translation-en_GB
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/universe Translation-en_GB
Hit http://archive.ubuntu.com maverick Release
Hit http://archive.ubuntu.com maverick-updates Release
Hit http://archive.ubuntu.com maverick-security Release
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Get:2 http://dl.google.com stable Release.gpg [197B]
Hit http://archive.ubuntu.com maverick/main Sources
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://archive.ubuntu.com maverick/restricted Sources
Hit http://archive.ubuntu.com maverick/universe Sources
Hit http://archive.ubuntu.com maverick/multiverse Sources
Hit http://archive.ubuntu.com maverick/main i386 Packages
Hit http://archive.ubuntu.com maverick/restricted i386 Packages
Hit http://archive.ubuntu.com maverick/universe i386 Packages
Hit http://archive.ubuntu.com maverick/multiverse i386 Packages
Hit http://archive.ubuntu.com maverick-updates/main Sources
Ign http://dl.google.com/linux/talkplugin/deb/ stable/main Translation-en
Hit http://archive.ubuntu.com maverick-updates/restricted Sources
Hit http://archive.ubuntu.com maverick-updates/universe Sources
Hit http://archive.ubuntu.com maverick-updates/multiverse Sources
Hit http://archive.ubuntu.com maverick-updates/main i386 Packages
Hit http://archive.ubuntu.com maverick-updates/restricted i386 Packages
Hit http://archive.ubuntu.com maverick-updates/universe i386 Packages
Hit http://archive.ubuntu.com maverick-updates/multiverse i386 Packages
Ign http://dl.google.com/linux/talkplugin/deb/ stable/main Translation-en_GB
Get:3 http://dl.google.com stable Release [1,347B]
Hit http://archive.ubuntu.com maverick-security/main Sources
Hit http://archive.ubuntu.com maverick-security/restricted Sources
Hit http://archive.ubuntu.com maverick-security/universe Sources
Hit http://archive.ubuntu.com maverick-security/multiverse Sources
Hit http://archive.ubuntu.com maverick-security/main i386 Packages
Hit http://archive.ubuntu.com maverick-security/restricted i386 Packages
Hit http://archive.ubuntu.com maverick-security/universe i386 Packages
Get:4 http://dl.google.com stable Release [1,347B]
Hit http://archive.ubuntu.com maverick-security/multiverse i386 Packages
Get:5 http://dl.google.com stable/main i386 Packages [1,076B]
Get:6 http://dl.google.com stable/main i386 Packages [735B]
Fetched 4,899B in 4s (1,060B/s)
Reading package lists...
4
aviraldg

La première étape consiste à supprimer les outils "intermédiaires" et à utiliser des commandes invoquées en votre nom:

 Sudo apt-get check && Sudo apt-get update 
 # you may need to repeat the update if it complains
 Sudo apt-get upgrade

Toute erreur générée par ces commandes serait très informative lorsqu'elle serait ajoutée à votre question d'origine. Si la check échoue, suivez les instructions ou arrêtez et publiez votre résultat.

4
msw

Vous devrez ajuster votre fichier sources.list puis exécuter Sudo apt-get update puis Sudo apt-get upgrade.

Ces réclamations ignore sont dues au fait que vous pouvez toujours avoir un domaine actuel toujours répertorié comme us.archive.ubuntu.com

Assurez-vous simplement que dans /etc/apt/sources.list vous avez http://old.releases.ubuntu.com pour tous les référentiels.

Voici une URL vidéo de mon correctif que j'ai dû tester: https://youtu.be/dDWwcW5e6eI

0
Kent C.

Je viens d'avoir le même problème et j'ai trouvé un fichier /etc/apt/sources.list mis à jour qui diffère du précédent en ce qu'il utilise http://76.73.4.58/ubunt à la place de us.archive .ubuntu.com/ubuntu. Quand j'ai remplacé l'ancien fichier sources.list par l'ancien, la mise à niveau d'apt-get a fonctionné.

0
user11024