更新Ubuntu系统报错: Err http://mirrors.163.com lenny Relese.gpg Temporary failure resolving 'mirro

添加163的Ubuntu软件源之后,sudo apt-get update 出错,报错:

 Err http://mirrors.163.com lenny Relese.gpg

        Temporary failure resolving 'mirrors.163.com'


可能原因是你的DNS没有配置好,解决办法:vim /etc/resolv.conf

添加内容

nameserver XXX.XXX.XXX.XXX

你可能感兴趣的:(更新Ubuntu系统报错: Err http://mirrors.163.com lenny Relese.gpg Temporary failure resolving 'mirro)