Update manager is not downloading extras in 12.04

Asked by John Corbett

I get an error window that says unable to download from repository.

Here are the details

W:Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/Release.gpg Unable to connect to extras.ubuntu.com:http:
, W:Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/main/source/Sources Unable to connect to extras.ubuntu.com:http:
, W:Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/main/binary-i386/Packages Unable to connect to extras.ubuntu.com:http:
, W:Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/main/i18n/Translation-en Unable to connect to extras.ubuntu.com:http:
, E:Some index files failed to download. They have been ignored, or old ones used instead.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
John Corbett
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Try:

sudo fuser -vvv /var/lib/dpkg/lock
sudo rm /var/lib/apt/lists/lock
sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists
sudo rm /var/cache/apt/*.bin
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
LANG=C;sudo apt-get clean
LANG=C;sudo apt-get autoclean
LANG=C;sudo apt-get --purge autoremove
LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
sudo dpkg --clear-avail
sudo dpkg --configure -a
LANG=C;sudo apt-get -f install
LANG=C;sudo apt-get --fix-missing install
LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade

Revision history for this message
John Corbett (scooterrat) said :
#2

Tried this and still come up with the same output as above. Is it possible that those files might not be available yet?

Revision history for this message
John Corbett (scooterrat) said :
#3

Thanks for your help Andrew. I ended up rebooting my modem and router and computer. For some reason doing that seemed to fix the problem.