Ubuntu domain name resolution failure resolution

Problem Description

The test environment of a recent project is related to the Linux environment, and the Linux environment needs to be built. Therefore, I downloaded and installed Ubuntu. When I installed Python and related plug-ins on Ubuntu 20.04 Linux, the following error warning appeared:

warning
I still couldn’t install some plug-ins, and finally found that it was a network problem. I searched some information and finally solved it. Although I don’t know why, I still need to record...

Solution

sudo service network-manager stop

sudo rm /var/lib/NetworkManager/NetworkManager.state

sudo service network-manager start

After the execution is complete, it can finally be installed normally...

Guess you like

Origin blog.csdn.net/My_CSDN_IT/article/details/113889592
Recommended