运行apt-get的时候提示
sudo: unable to resolve host DESKTOP-PS8VD9E
在 /etc/hosts文件中 127.0.0.1 对应主机名字给加一行就好了
运行apt-get的时候提示
sudo: unable to resolve host DESKTOP-PS8VD9E
在 /etc/hosts文件中 127.0.0.1 对应主机名字给加一行就好了
转载于:https://www.cnblogs.com/hitnoah/p/6185940.html