apt-get update mirrors Err:2
来源:互联网 发布:手机吉他软件模拟 编辑:程序博客网 时间:2024/05/20 15:59
Err:1 http://mirrors.aliyun.com/ubuntu xenial InRelease
Temporary failure resolving 'mirrors.aliyun.com'
Err:2 http://mirrors.aliyun.com/ubuntu xenial-security InRelease
Temporary failure resolving 'mirrors.aliyun.com'
Err:3 http://mirrors.aliyun.com/ubuntu xenial-updates InRelease
Temporary failure resolving 'mirrors.aliyun.com'
Err:4 http://mirrors.aliyun.com/ubuntu xenial-proposed InRelease
Temporary failure resolving 'mirrors.aliyun.com'
Err:5 http://mirrors.aliyun.com/ubuntu xenial-backports InRelease
Temporary failure resolving 'mirrors.aliyun.com'
Reading package lists... Done
1.vim /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
nameserver 192.168.23.1
nameserver 221.130.33.52
nameserver 169.95.1.1
2. 你可以在服务器的终端中输入“lsb_release -a”命令或者查看“/etc/issue”文件来确定当前系统的版本。
eg: xenial----my version
3.vim /etc/apt/sources.list
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main multiverse restricted universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main multiverse restricted universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-proposed main multiverse restricted universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main multiverse restricted universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main multiverse restricted universe
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main multiverse restricted universe
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main multiverse restricted universe
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-proposed main multiverse restricted universe
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main multiverse restricted universe
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main multiverse restricted universe
4.sudo apt-get clean
- apt-get update mirrors Err:2
- apt-get update 结果 Ign Err
- apt-get,apt-update
- ubuntu 更细新 apt-get err
- Ubuntu下的Ubuntu虚拟机--源配置问题:apt-get update 显示could not resolve 'mirrors.163.com'
- apt-get update 出错
- apt-get update sourcelist
- sudo apt-get update
- apt-get update errors
- sudo apt-get update
- 使用apt-get update
- apt-get update 失败
- sudo apt-get update
- apt-get update 失败
- apt-get update 过期
- apt-get update错误信息
- apt-get update
- Apt-get update出错
- 这里空无一物去别家转转吧~
- Delphi下的字符串Hash函数
- 减少编译时间:pointer to implementation(Impl设计模式)
- ct升级到5.8,原来的项目出现问题
- 浅谈easyui的使用和实现机制
- apt-get update mirrors Err:2
- 关注
- java学习之java笔记(一)
- URAL-1748 The Most Complex Number
- Leetcode 1. Two Sum (Easy) (java)
- 15.2.2 字符串的提取和查询
- 我最常用的Elipse快捷键
- '<>' operator is not allowed for source level below 1.7
- 笛卡尔心形线