Update Manager asks
check your internet connection but my internet connection is just fine.
sudo apt-get update in terminal. Its working fine also.
Please advise me.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
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:
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.
There is a key difference about how
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.
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.