Update Manager not working

Asked by vishal

hello
my one laptop has issues with wired connection, my another laptop seems to have two issues one wired connection not working and the next even though internet connection exists the update manager says no internet connection so no download. will be grateful for the help.

Question information

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

Can you ping 8.8.8.8 over the wifi?

Revision history for this message
vishal (zvesda1) said :
#2

I don't know how to ping ? But i have resolved the the issue of connectivity by changing my modem! I am now using different modem however i am encountering a different problem i am not able to update software using update manager it says check your internet connection even though i have a working internet connection. Any idea what to do to resolve it. Thank you. I appreciate your time and help.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

It's the same in all OSes. Press CTRL+ALT+T and run:

ping -c 4 8.8.8.8

Does it ping

Revision history for this message
vishal (zvesda1) said :
#4

ya it does ping but if its all about connectivity i have resolved it but my update manager has some issues, i am using sudo apt-get update to update my laptop, it doesn't identify connection. Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Ok then run:

echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null

And it will apply the DNS, basically the issue is that the DNS you currently have sucks but (as you can see) networking is not an issue as 8.8.8.8 pings ok. Using the IP bypasses the need for DNS.

You should now be able to run:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

8.8.8.8 is Google's public DNS and very easy to remember, use that to get the upated then reboot and it may make the OS use the DHCP DNS better, or you can apply Google's public DNS permanently but lets see if adding the DNS manually and getting updates fixes the whole issue