Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How do I fix a “Failed to download package files” error?
apt-get keeps saying to check Internet, while I have a good connection

while trying to upgrade to 12.10 got the msg: Failed to download repository information.Check your Internet connection.Pinging works. Any help?

share|improve this question

marked as duplicate by Rinzwind, green7, LnxSlck, Jorge Castro, hhlp Nov 20 '12 at 18:17

This question was marked as an exact duplicate of an existing question.… Anwar's answer has alot you can try. – Rinzwind Nov 20 '12 at 14:48

Just because you can reach, it doesn't mean you can get the repository your system is expecting.

There are a few things that might be the case:

  1. You put the repo information in wrong. This is likely if it's a new one, but not if it's worked before.
  2. The repo has been removed. This is likely if you're running an old version of the software or the platform (Ubuntu, for example, has removed the repositories for 9.04).
  3. The repo doesn't have information on your version of Ubuntu. This one is the most likely. During the upgrade, Ubuntu updates your repository paths. If the repository doesn't have a branch for your version, then it will error out. If it's stopping your upgrade, deactivate the repository for the time being. Once you've upgraded to 12.10, you can reactivate the repository, making sure it still points to the 12.04 ("precise") branch. (Note: That doesn't guarantee that software will still work. If it depends on an API that has been broken in 12.10, then it may not work as expected. In which case, you'll have to wait until Two Cows puts out a "quantal" branch.)
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.