关于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错误解决办法 ...
随机推荐
- dd装机
如何在 Linux 系统中使用 dd 命令而不会损毁你的磁盘 使用 Linux 中的 dd 工具安全.可靠地制作一个驱动器.分区和文件系统的完整镜像. _这篇文章节选自 Manning 出版社出版的图 ...
- 保证service不被杀死的方法
Service设置成START_STICKY kill 后会被重启(等待5秒左右),重传Intent,保持与重启前一样 提升service优先级 在AndroidManifest.xml文件中对于in ...
- SpringMVC-Spring-Hibernate项目搭建之一-- 搭建maven 项目 & servlet的demo
一. 搭建maven项目 1. 新建maven项目,选择maven Project --> Next 2. 勾选 Create a simple project --> Next 3. ...
- centos6.9 x64安装http,php5.6,curl5.29,mysql最后安装zabbix3.4+zabbix客户端
https://www.zabbix.com/documentation/3.4/zh/manual/installation/requirementshttps://www.zabbix.com/d ...
- ListView下拉刷新,上拉自动加载更多
下拉刷新,Android中非常普遍的功能.为了方便便重写的ListView来实现下拉刷新,同时添加了上拉自动加载更多的功能.设计最初是参考开源中国的Android客户端源码.先看示例图. ...
- 在线pubmed
ESearch(文本搜索) eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi http://eutils.ncbi.nlm.nih.gov/entr ...
- IDA Pro 权威指南学习笔记(九) - 数据搜索
Search -> Next Code 命令将光标移动到下一个包含指令的位置 Jump -> Jump to Function 命令可以打开所有函数,可以迅速选择一个函数并导航到该函数所在 ...
- PHP redis client封装
config1.inc.php if (!isset($_REQUEST['pageName']) || $_REQUEST['pageName'] != 'txl-app-test') { $CON ...
- 启动Eclipse之后,关闭Maven自动更新
问题描述: 因为架包的修改,所以Maven需要更新,一启动Eclipse之后,自动更新,由于Maven的架包很多download不下来,就一直卡着的样子,很长时间,什么都做不了. 解决办法: Ecli ...
- sql查询语句常用例子
1.查找与jams在同一个单位的员工姓名.性别.部门和职称:select emp_no, emp_name, dept, title from employee where emp_name< ...