apt-get instal Update
Hint: error, unable to resolve domain name, etc.
Online solution A lot of, don't rush to use the online method, to check whether the system has network connectivity
Network icon shows network connection, and so on, don't be fooled by the surface, order to check
First ping the IP of your host, see if you can ping through
Ping 192.168.1.1
Ping does not pass, go to the following method one ↓
and ping the extranet.
Ping www.baidu.com
Also ping does not pass, go to the following method one ↓
If the ping IP address can be, ping outside the network does not work, go to the following method two ↓
-----------------------------------------------------------????????????????? ---------------------------------------------------------------
Method One: Network reconnection, disconnect the network, and then reconnect, then open the terminal, re-try the ping command, if possible, and then continue to execute the installation command, there is no error notification;
Method Two: Modify the network configuration file
sudo nano/etc/network/interfaces
Add a line at the end of the network connection that you are using:
Nds-nameservers 8.8.8.8 192.168.1.1 {default gateway (192.168.1.1), this item is generally not added, plus it doesn't matter}
This is the author in the encounter such problems when the solution, and the problem has been resolved, if the reader friend using the above method is invalid, please consider other solutions, do not hang in a tree dead!
Ubuntu Software Update Error problem resolution