最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Debian更新源出错以及"There is no public key available"解决方法
时间:2016-08-23 编辑:简简单单 来源:一聚教程网
一般我们再购买和开通Linux VPS主机之后,登入SSH首先需要做的肯定是更新当前服务器的源安装包,这样可以确保服务器的最新安全补丁最新,而且在编译安装软件的时候可以确保软件的最新版本。今天老蒋在Debian6系统中update更新源的时候出现错误无法更新。
第一、Debian更新源错误提示
代码如下 | 复制代码 |
W: Failed to fetch http://http.debian.net/debian/dists/squeeze/main/binary-i386/Packages.gz 404 Not Found [IP: 149.20.37.36 80]
E: Some index files failed to download, they have been ignored, or old ones used instead. |
代码如下 | 复制代码 |
/etc/apt/sources.list
|
代码如下 | 复制代码 |
deb http://mirrors.aliyun.com/debian wheezy main contrib non-free
deb-src http://mirrors.aliyun.com/debian wheezy main contrib non-free deb http://mirrors.aliyun.com/debian wheezy-updates main contrib non-free deb-src http://mirrors.aliyun.com/debian wheezy-updates main contrib non-free deb http://mirrors.aliyun.com/debian-security wheezy/updates main contrib non-free deb-src http://mirrors.aliyun.com/debian-security wheezy/updates main contrib non-free |
代码如下 | 复制代码 |
W: There is no public key available for the following key IDs:7638D0442B90D010
W: There is no public key available for the following key IDs:7638D0442B90D010 W: There is no public key available for the following key IDs:9D6D8F6BC857C906 |
代码如下 | 复制代码 |
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 7638D0442B90D010
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 7638D0442B90D010 apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 9D6D8F6BC857C906 |
代码如下 | 复制代码 |
apt-get update -y
|
相关文章
- Debian系统自选选择最快更新源方法 03-14
- win11内核隔离和内存完整性介绍 10-31
- win10全屏缩放设置教程 10-31
- win10系统备份出错解决教程 10-31
- win10打开软件每次都要询问解决教程 10-31
- win10更新驱动后设备出现异常解决教程 10-31