本文借鉴自https://blog.csdn.net/weixin_43976343/article/details/86326215
遇到错误
Err:1 http://mirrors.aliyun.com/ubuntu xenial InRelease
Could not resolve ‘mirrors.aliyun.com’
Err:2 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease
Could not resolve ‘archive.ubuntukylin.com’
Err:3 http://mirrors.aliyun.com/ubuntu xenial-security InRelease
Could not resolve ‘mirrors.aliyun.com’
Err:4 http://mirrors.aliyun.com/ubuntu xenial-updates InRelease
Could not resolve ‘mirrors.aliyun.com’
Err:5 http://mirrors.aliyun.com/ubuntu xenial-backports InRelease
Could not resolve ‘mirrors.aliyun.com’
Err:6 http://mirrors.aliyun.com/ubuntu xenial-proposed InRelease
Could not resolve ‘mirrors.aliyun.com’
Err:7 http://old-releases.ubuntu.com/ubuntu jaunty InRelease
Could not resolve ‘old-releases.ubuntu.com’
Reading package lists… Done
W: Failed to fetch http://old-releases.ubuntu.com/u