1、在unbantu上下载一个lrzsz包出现一下错误
Err:1 http://mirrors.cloud.aliyuncs.com/ubuntu focal/universe amd64 lrzsz amd64 0.12.21-10
Could not resolve 'mirrors.cloud.aliyuncs.com'
E: Failed to fetch http://mirrors.cloud.aliyuncs.com/ubuntu/pool/universe/l/lrzsz/lrzsz_0.12.21-10_amd64.deb Could not resolve 'mirrors.cloud.aliyuncs.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
2、解决方式
1、vi /etc/resolv.conf
加上(一定是加上哈)
nameserver 8.8.8.8
nameserver 114.114.114.114
2、然后执行命令:
resolvconf -u
3、sudo apt-get update
4、在下载就可以了