Ubuntu Software Update Error problem resolution

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.