Reading package lists... Done
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty/InRelease
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty-security/InRelease
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty-updates/InRelease
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty-proposed/InRelease
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty-backports/InRelease
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty/Release.gpg Could not resolve 'mirrors.aliyun.com'
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty-security/Release.gpg Could not resolve 'mirrors.aliyun.com'
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty-updates/Release.gpg Could not resolve 'mirrors.aliyun.com'
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty-proposed/Release.gpg Could not resolve 'mirrors.aliyun.com'
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty-backports/Release.gpg Could not resolve 'mirrors.aliyun.com'
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty/InRelease
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty-security/InRelease
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty-updates/InRelease
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty-proposed/InRelease
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty-backports/InRelease
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty/Release.gpg Could not resolve 'mirrors.aliyun.com'
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty-security/Release.gpg Could not resolve 'mirrors.aliyun.com'
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty-updates/Release.gpg Could not resolve 'mirrors.aliyun.com'
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty-proposed/Release.gpg Could not resolve 'mirrors.aliyun.com'
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty-backports/Release.gpg Could not resolve 'mirrors.aliyun.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
解决方法:
vim /etc/resolv.conf
修改DNS:
nameserver 8.8.8.8
nameserver 8.8.4.4
然后apt-get update
在使用`apt-get update`时遇到错误提示""W: Some index files failed to download. They have been ignored, or old ones used instead."",解决方法是通过编辑`/etc/resolv.conf`文件,将DNS改为8.8.8.8和8.8.4.4,之后重新运行`apt-get update`。"
127258214,13763043,Vue3响应式原理:ref与reactive实战解析,"['前端开发', 'Vue', 'JavaScript']
957

被折叠的 条评论
为什么被折叠?



