执行sudo命令时候,总是提示sudo: unable to resolve host xxx
解决方法:
法1. 在/etc/hosts/添加hosts映射, 如127.0.0.1 xxx
法2. 修改/etc/hostname 为有效host
相关文章
- wget: unable to resolve host address
- unable to resolve host ““: no address associated with hostname
- ubuntu wget: unable to resolve host address 无法解析主机host地址解决办法
- can't run roscore 并且 sudo 指令返回 unable to resolve host
- [待解决] sudo unable to resolve host
- ceph-deploy出错UnableToResolveError Unable to resolve host
- 异常:fatal: unable to access 'https://git.oschina.net/pcmpcs/library.git/': Could not resolve host
- sudo: unable to resolve host ubuntu提示的解决
- 修改ubuntu DNS的步骤/wget url报错: unable to resolve host address的解决方法
- Android开发中的Unable to resolve superclass of L错误解决方法