Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When I run software updater it says that it failed to download repository information and to check Internet connectivity.

I have Internet connectivity.

How do I fix this?

editing to add content of sources,list:

sorry I can't figure out how to paste in the content of sources.list without making a huge mess. Some of it previews as really large bold print. I tried to follow the block quoting and code rules but it is a huge mess anyway.

share|improve this question
    
Please post the contents of /etc/apt/sources.list –  thefourtheye May 19 '13 at 3:02
add comment

1 Answer 1

up vote 2 down vote accepted

In my experience, there are at least three other causes of the failure: incorrect repository location, repository is down, and incorrect proxy settings.

First, check your software repository location in /etc/apt/sources.list or run software-properties-gtk. Make sure you can reach all of the repository, e.g. by using the web browser to make sure that the site is not currently down.

If it's OK, then check your system-wide proxy settings. Because software update is run by using root privilege, so the proxy settings used would be the root's too. Check this question to set system-wide proxy settings.

Another cause might be firewall, but I'm not sure :).

Hope it helps.

UPDATE

It is not a problem if you get message gpg: /tmp/tmp<somerandom>/trustdb.gpg: trustdb created when running software-properties-gtk from the terminal.

share|improve this answer
    
I ran sotware-properties-gtk and got this: gpg: /tmp/tmpmggoaz/trustdb.gpg: trustdb created –  bruce May 19 '13 at 15:42
    
I did a sudo apt-get update from terminal and got a bunch of 404 errors. I went the the software and updates and deselected the sources that were causing the 404 errors - I hope I didn't screw anything up by doing that. There is one source that is 'timing out.' Not sure what I should do with that one. –  bruce May 19 '13 at 15:50
    
I just did the sudo apt-get update and ran software updater and it worked. Not sure if it was the 404 errors or the timing out source or both. –  bruce May 19 '13 at 15:51
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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