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的更多相关文章

  1. apt get update无法正常使用解决方案(转载)

    apt get update无法正常使用 解决方法参考博客 [问题描述] 前几天执行apt相关命令(如apt-get update),都会长时间停在``等待报头'',超时后,显示连接超时. 换了快速指 ...

  2. 【亲测有效】Ubuntu18.04 sudo apt update无法解析域名的解决方案

    问题描述如下: 拿起了封尘已久的ThinkPad,输入 sudo apt update 的时候,发现这个命令变得不好使了,具体出现的问题如下图所示: #( 09/08/19@ 2:44下午 )( py ...

  3. 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:~$ ...

  4. kali sudo apt install 无法定位软件包

    在etc/apt   的sources.list 添加镜像源 debhttp://http.kali.org/kali kali-rolling main non-free contrib 或 deb ...

  5. 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正在读取软件包列表... 完成正 ...

  6. sudo apt install net-tools [sudo] zyw 的密码: 正在读取软件包列表... 完成 正在分析软件包的依赖关系树,正在读取状态信息... 完成,没有可用的软件包 net-tools,但是它被其它的软件包引用了。这可能意味着这个缺失的软件包可能已被废弃,或者只能在其他发布源中找到

    截图: 先执行: sudo apt-get update 再执行: sudo apt install net-tools 即可安装成功!!

  7. Ubuntu18下sudo apt install xxx出现问题

    当执行sudo apt install rpm时失败(apt-get也失败),输出如下报错信息: E: Could not get lock /var/lib/dpkg/lock - open (11 ...

  8. sudo apt -y upgrade

    sudo apt -y upgrade     直接upgrade,不再询问y/n 但是如果是sudo apt-get install scilab -y 那么,就不再显示上图中的信息,即当安装包的时 ...

  9. 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错误解决办法 ...

随机推荐

  1. Oracle删除主键约束的同时删除索引

    继续昨天的折腾(Oracle修改主键约束),删掉主键约束后,发现唯一索引并未删掉.仔细看了下,主键约束跟唯一索引名称不一样,这说明是先创建了唯一索引,后创建的主键约束.我们来试验下: SQL> ...

  2. docker怎么破?

    为什么要装docker? 因为linux服务器不好用,很多操作不好进行,比如安装包没有管理员权限 docker可以访问本地显卡,比一般的virtual box 或者VMware都要好 怎么装docke ...

  3. Unix网络编程 3.9 readline函数

    其实看APUE时就想试着写些简单的stdio函数了,但是一直没实践,看到这里时发现书上写得不完整,便敲代码试了下. 第1个readline速度非常慢原因在于每次读取字符都执行了系统调用read(),而 ...

  4. python is 和 == 的区别

    一.is 和 == 的区别 == 比较 比较的俩边的值 is 比较 比较的是内存地址 id() 二.小数据池 数字小数据池的范围 -5 ~ 256 字符串中如果有特殊字符他们的内存地址就不一样 字符串 ...

  5. 【转】活用软件测试工具之Jmeter活用

    软件测试工具不光能测试用,拿Jmeter来说,使用它可以进行web性能测试. 简单说一下大概使用: 如果要测试某个网页内的功能,首先要录制Jmeter脚本,脚本的录制与运行过程,也就是打开网页,执行被 ...

  6. linux 文件权限详细说明

    在本章前部,当你试图转换到根用户的登录目录时,你收到了以下消息: cd /root bash: /root: Permission denied 这是 Linux 安全功能的一个演示.Linux 和 ...

  7. 13.solr学习速成之IK分词器

    IKAnalyzer简介 IKAnalyzer是一个开源的,基于java语言开发的轻量级的中文分词工具包. IKAnalyzer特性 a. 算法采用“正向迭代最细粒度切分算法”,支持细粒度和最大词长两 ...

  8. Tkinter Entry

    Python - Tkinter输入(Entry): 用于接受用户Entry小窗口部件单行文本字符串.   用于接受用户Entry小窗口部件单行文本字符串. 如果你想显示多行文本可以编辑,那么你应该使 ...

  9. Python网络编程与并发编程

    网络编程基础 黏包 , 并发 计算机网络的发展及基础网络概念 Python 中的进程与 锁 Python IO 多路复用 \协程

  10. Android屏幕录制

    自己实现了Android的屏幕录制App. 用了MediaProjection类来作为源,MediaRecoder来捕捉,编码转换为本地视频. 效果图: 主要是这段代码开始录像: startActiv ...