Every time Update Manager asks check your internet connection but my internet connection is just fine.

I've tried sudo apt-get update in terminal. Its working fine also.

Please advise me.


I had similar issue on Ubuntu 14.04. To resolve it, when the Software Updater fails go to the settings > Ubuntu Software and change the server Download from to the Main Server as shown in the following image:

enter image description here

It was set on 'United States' and it was working fine, but suddenly this error showed up and as I mentioned changing the server fixed the issue.

  • Doesn't this assume that the Main Server is up and that the client can access it? Not an assumption I'd care to make personally as while it may often be true there is no guarantee it will always be true. – Elder Geek Jan 22 '18 at 16:21
  • 1
    In my case, it was set on 'United States' and I got the error, then I changed it to 'Main server' and it resolved the issue. – NKN Jan 22 '18 at 19:00
  • I recommend adding that information to your answer. However, be aware that the server for the United States is currently up and running. – Elder Geek Jan 22 '18 at 23:11
  • OK. I had the problem this morning though :) maybe it was something temporary. – NKN Jan 23 '18 at 0:49
  • 1
    The only constant is change. Cheers! – Elder Geek Jan 23 '18 at 13:20

I had similar problems at one time and solved it by selecting settings in the update manager and clicking Select Best Server. A series of tests are run to find the most responsive server for your situation.



There is a key difference about how update-manager and apt/apt-get attempt to check for the update. update-manager first checks the Internet connection by asking NetworkManager for the state of the connection. apt/apt-get, in contrast, tries to make a direct connection to the mirror.

This can create a big difference, as you have discovered. As the strength of your connection is changing or perhaps even dropping for a few seconds, NetworkManager is changing the state property. The possibilities are Active, Activating, Deactive, Deactivating, and Unknown.

Leaving out some additional details, update-manager will only accept Active as the correct response; but if NetworkManager detects less than a full signal, it's going to keep changing the state of the connection. (I don't know the details of how NM determines that.) This will cause update-manager to get responses other than Active.

Again, apt-get is attempting the connection directly. It may still timeout on you or fail to complete, but it keeps moving.

I think the issue is a combination of speed and signal strength. If apt-get is working for you, that's probably your best workaround.

Changing the mirror to a faster or closer one as @elder-geek suggest is definitely a good idea that should help both cases since apt-get will be also be using that new mirror as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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