关于sudo apt-get update错误 http://archive.canonical.com natty InRelease
sudo apt-get update
错误 http://archive.canonical.com natty InRelease
错误 http://mirror.rootguide.org natty InRelease
错误 http://mirror.lupaworld.com natty InRelease
错误 http://mirrors.shlug.org natty InRelease
错误 http://tw.archive.ubuntu.com natty InRelease
错误 http://mirrors.163.com natty InRelease
错误 http://mirrors.163.com natty-updates InRelease
错误 http://mirrors.163.com natty-proposed InRelease
错误 http://mirrors.163.com natty-backports InRelease
错误 http://mirrors.163.com natty Release.gpg
无法解析域名“mirrors.163.com”
错误 http://mirrors.163.com natty-updates Release.gpg
无法解析域名“mirrors.163.com”
错误 http://mirrors.163.com natty-proposed Release.gpg
无法解析域名“mirrors.163.com”
错误 http://mirrors.163.com natty-backports Release.gpg
无法解析域名“mirrors.163.com”
错误 http://mirror.rootguide.org natty-updates InRelease
错误 http://mirror.rootguide.org natty-proposed InRelease
错误 http://mirror.rootguide.org natty-backports InRelease
错误 http://mirror.rootguide.org natty Release.gpg
无法解析域名“mirror.rootguide.org”
错误 http://mirror.rootguide.org natty-updates Release.gpg
无法解析域名“mirror.rootguide.org”
错误 http://mirror.rootguide.org natty-proposed Release.gpg
无法解析域名“mirror.rootguide.org”
错误 http://mirror.rootguide.org natty-backports Release.gpg
无法解析域名“mirror.rootguide.org”
错误 http://mirrors.shlug.org natty-security InRelease
错误 http://mirrors.shlug.org natty-updates InRelease
错误 http://tw.archive.ubuntu.com natty-updates InRelease
错误 http://mirrors.shlug.org natty-proposed InRelease
错误 http://tw.archive.ubuntu.com karmic InRelease
错误 http://mirrors.shlug.org natty-backports InRelease
错误 http://tw.archive.ubuntu.com karmic-security InRelease
错误 http://tw.archive.ubuntu.com karmic-updates InRelease
错误 http://tw.archive.ubuntu.com karmic-backports InRelease
错误 http://tw.archive.ubuntu.com karmic-proposed InRelease
。。。。。
解决办法:
1、软件源那里改源,该成适合你的
2、然后将/var/lib/apt/lists里面的东东清空
3、登入root(VPS)。
进入/etc/resolv.conf。
修改内容为下
nameserver 8.8.8.8 #google域名服务器
nameserver 8.8.4.4 #google域名服务器
记得加上自己的域名服务器
关于sudo apt-get update错误 http://archive.canonical.com natty InRelease的更多相关文章
- apt get update无法正常使用解决方案(转载)
apt get update无法正常使用 解决方法参考博客 [问题描述] 前几天执行apt相关命令(如apt-get update),都会长时间停在``等待报头'',超时后,显示连接超时. 换了快速指 ...
- 【亲测有效】Ubuntu18.04 sudo apt update无法解析域名的解决方案
问题描述如下: 拿起了封尘已久的ThinkPad,输入 sudo apt update 的时候,发现这个命令变得不好使了,具体出现的问题如下图所示: #( 09/08/19@ 2:44下午 )( py ...
- sudo apt install libreadline-dev Reading package lists... Error!
luo@luo-ThinkPad-W540:~$ luo@luo-ThinkPad-W540:~$ luo@luo-ThinkPad-W540:~$ luo@luo-ThinkPad-W540:~$ ...
- kali sudo apt install 无法定位软件包
在etc/apt 的sources.list 添加镜像源 debhttp://http.kali.org/kali kali-rolling main non-free contrib 或 deb ...
- Command 'ifconfig' not found, but can be installed with: sudo apt install net-tools
然后按照错误信息安安装网络工具: sudo apt install net-tools shl@shl-tx:~$ sudo apt install net-tools正在读取软件包列表... 完成正 ...
- sudo apt install net-tools [sudo] zyw 的密码: 正在读取软件包列表... 完成 正在分析软件包的依赖关系树,正在读取状态信息... 完成,没有可用的软件包 net-tools,但是它被其它的软件包引用了。这可能意味着这个缺失的软件包可能已被废弃,或者只能在其他发布源中找到
截图: 先执行: sudo apt-get update 再执行: sudo apt install net-tools 即可安装成功!!
- Ubuntu18下sudo apt install xxx出现问题
当执行sudo apt install rpm时失败(apt-get也失败),输出如下报错信息: E: Could not get lock /var/lib/dpkg/lock - open (11 ...
- sudo apt -y upgrade
sudo apt -y upgrade 直接upgrade,不再询问y/n 但是如果是sudo apt-get install scilab -y 那么,就不再显示上图中的信息,即当安装包的时 ...
- Docker:Err http://archive.ubuntu.com trusty InRelease & E: Unable to locate package [name] 问题
参考: Docker containers can't resolve DNS on Ubuntu 14.04 Desktop Host Unable to locate package错误解决办法 ...
随机推荐
- RK3288 查看时钟树
主控端可以通过指令查看时钟树,enable_cnt为1,表示时钟已使能. # cat d/clk/clk_summary cat d/clk/clk_summary clock enable_cnt ...
- Python控制台输出不换行(进度条等)
sys.stdout.write('\r'+str) sys.stdout.flush() time.sleep(1)
- Google Cloud IAM中添加自定义域名
Google Cloud支持在IAM中加入自定义域名.具体方法如下: 1. 登录Google Cloud Console,点击IAM和管理,进入身份和组织 2. 点击注册 3. 会重定向到Gmail到 ...
- Hibernate学习4—关联关系一对多映射2
第四节:班级学生一对多映射实现(双向) 查询班级的时候能够获取所有的学生: 在上一节的基础之上:我们在Class端也保存学生的关系: com.cy.model.Class: public clas ...
- 方法 中 void 的解释
- 1、Window.document对象
1.Window.document对象 一.找到元素: docunment.getElementById("id"):根据id找,最多找一个: var a =docunmen ...
- Type-C潮流下 如何衡量一款数据线好坏?
不少新一代手机开始支持Type-C接口,比如乐视.PPTV.努比亚Z11.小米4C和三星Note7等.和普通Micro USB相比,Type-C数据线因为正反插的关系对品质要求更高,不然随时有短路烧毁 ...
- NGUI的UICamera
参考 https://blog.csdn.net/kakashi8841/article/details/20548429 全文请查看:http://note.youdao.com/notesha ...
- 前段基础之HTML
HTML 初识 web服务本质 import socket def main(): sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s ...
- 线程的run( ) 和 start( ) 区别
Run() : run()就是个普通方法,可以调用执行,但是是同步调用,没有异步的效果. Run()方法就是个普通方法,可以调用多次 Start(): 通知线程规划期,此线程已经准备就绪,等待调用 ...