CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 9781|回复: 7

apt-get update 升级时 提示错误,怎么解?跪求。。。。

[复制链接]
发表于 2015-12-11 18:19:15 | 显示全部楼层 |阅读模式
咨询一个问题,在升级 apt-get update 包的时候,提示有很多文件找不到,该如何处理?

我用的源是这个
deb http://debian.ustc.edu.cn/debian proposed-updates main contrib non-free
deb http://debian.ustc.edu.cn/debian-security stable/updates main
deb http://security.debian.org/ sarge/updates main contrib non-free
deb http://debian.cn99.com/debian-security/ etch/updates main contrib
deb-src http://debian.cn99.com/debian-security/ etch/updates main contrib

之前的源也不行:
deb http://ftp.de.debian.org/debian stable main contrib non-free
deb-src http://ftp.de.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free


错误提示信息如下:
root@cb4-test:/etc# apt-get update
Ign http://debian.cn99.com etch/updates InRelease
Ign http://debian.cn99.com etch/updates Release.gpg
Hit http://debian.ustc.edu.cn proposed-updates InRelease
Hit http://debian.ustc.edu.cn stable/updates InRelease
Get:1 http://debian.ustc.edu.cn proposed-updates/main armhf Packages/DiffIndex [4,645 B]
Get:2 http://debian.ustc.edu.cn proposed-updates/contrib armhf Packages/DiffIndex [505 B]
Get:3 http://debian.ustc.edu.cn proposed-updates/non-free armhf Packages/DiffIndex [367 B]
Get:4 http://debian.ustc.edu.cn proposed-updates/contrib Translation-en/DiffIndex [367 B]
Get:5 http://debian.ustc.edu.cn proposed-updates/main Translation-en/DiffIndex [3,679 B]
Get:6 http://debian.ustc.edu.cn proposed-updates/non-free Translation-en/DiffIndex [643 B]
Ign http://debian.cn99.com etch/updates Release
Get:7 http://debian.ustc.edu.cn stable/updates/main armhf Packages [160 kB]
Get:8 http://debian.ustc.edu.cn stable/updates/main Translation-en [87.5 kB]
Err http://debian.ustc.edu.cn proposed-updates/contrib armhf Packages

Get:9 http://debian.ustc.edu.cn proposed-updates/contrib armhf Packages [1,500 B]
Err http://debian.cn99.com etch/updates/main Sources
  404  Not Found [IP: 123.58.173.186 80]
Err http://debian.cn99.com etch/updates/contrib Sources
  404  Not Found [IP: 123.58.173.186 80]
Err http://debian.cn99.com etch/updates/main armhf Packages
  404  Not Found [IP: 123.58.173.186 80]
Err http://debian.cn99.com etch/updates/contrib armhf Packages
  404  Not Found [IP: 123.58.173.186 80]
Ign http://debian.cn99.com etch/updates/contrib Translation-en_US
Ign http://debian.cn99.com etch/updates/contrib Translation-en
Ign http://debian.cn99.com etch/updates/main Translation-en_US
Ign http://debian.cn99.com etch/updates/main Translation-en
Ign http://security.debian.org sarge/updates InRelease
Ign http://security.debian.org sarge/updates Release.gpg
Ign http://security.debian.org sarge/updates Release
Err http://security.debian.org sarge/updates/main armhf Packages
  404  Not Found
Err http://security.debian.org sarge/updates/contrib armhf Packages
  404  Not Found
Err http://security.debian.org sarge/updates/non-free armhf Packages
  404  Not Found
Ign http://security.debian.org sarge/updates/contrib Translation-en_US
Ign http://security.debian.org sarge/updates/contrib Translation-en
Ign http://security.debian.org sarge/updates/main Translation-en_US
Ign http://security.debian.org sarge/updates/main Translation-en
Ign http://security.debian.org sarge/updates/non-free Translation-en_US
Ign http://security.debian.org sarge/updates/non-free Translation-en
Fetched 10.2 kB in 11s (865 B/s)
W: Failed to fetch http://debian.cn99.com/debian-se ... main/source/Sources  404  Not Found [IP: 123.58.173.186 80]

W: Failed to fetch http://debian.cn99.com/debian-se ... trib/source/Sources  404  Not Found [IP: 123.58.173.186 80]

W: Failed to fetch http://debian.cn99.com/debian-se ... nary-armhf/Packages  404  Not Found [IP: 123.58.173.186 80]

W: Failed to fetch http://debian.cn99.com/debian-se ... nary-armhf/Packages  404  Not Found [IP: 123.58.173.186 80]

W: Failed to fetch http://security.debian.org/dists ... nary-armhf/Packages  404  Not Found

W: Failed to fetch http://security.debian.org/dists ... nary-armhf/Packages  404  Not Found

W: Failed to fetch http://security.debian.org/dists ... nary-armhf/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
回复

使用道具 举报

发表于 2015-12-12 20:17:19 | 显示全部楼层
http://debian.cn99.com/debian-security/dists/etch/
etch是什么鬼??
应该是stretch吧??

另外cn99指向了163
建议还是直接用163
http://debian.cn99.com/debian-security/dists/stretch/
回复 支持 反对

使用道具 举报

 楼主| 发表于 2015-12-14 17:40:37 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2015-12-15 13:17:15 | 显示全部楼层
其实可以先直接浏览器卡看是不是真的404了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2015-12-19 23:35:53 | 显示全部楼层
本帖最后由 jerryli 于 2015-12-19 23:46 编辑

使用163的镜像是这个错误:
source.list的内容是:
deb http://mirrors.163.com/debian/ stable main non-free contrib
deb http://mirrors.163.com/debian/ wheezy-updates main non-free contrib
deb http://mirrors.163.com/debian/ wheezy-backports main non-free contrib
deb-src http://mirrors.163.com/debian/ stable main non-free contrib
deb-src http://mirrors.163.com/debian/ wheezy-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ wheezy-backports main non-free contrib
deb http://mirrors.163.com/debian-security/ wheezy/updates main non-free contrib
deb-src http://mirrors.163.com/debian-security/ wheezy/updates main non-free contrib
----------------------------------------
root@CC-A80-Crawler:~# nano /etc/apt/sources.list
root@CC-A80-Crawler:~# apt-get update
Get:1 http://mirrors.163.com stable Release.gpg [2373 B]
Get:2 http://mirrors.163.com wheezy-updates Release.gpg [1554 B]
Get:3 http://mirrors.163.com wheezy-backports Release.gpg [1554 B]
Get:4 http://mirrors.163.com wheezy/updates Release.gpg [1554 B]
Get:5 http://mirrors.163.com stable Release [148 kB]
Get:6 http://mirrors.163.com wheezy-updates Release [143 kB]
Get:7 http://mirrors.163.com wheezy-backports Release [153 kB]
Get:8 http://mirrors.163.com wheezy/updates Release [102 kB]
Get:9 http://mirrors.163.com stable/main Sources [7058 kB]
Get:10 http://mirrors.163.com stable/non-free Sources [99.4 kB]
Get:11 http://mirrors.163.com stable/contrib Sources [50.7 kB]
Get:12 http://mirrors.163.com stable/contrib Translation-en [38.4 kB]
Get:13 http://mirrors.163.com stable/main Translation-en [4585 kB]
Get:14 http://mirrors.163.com stable/non-free Translation-en [72.2 kB]
Get:15 http://mirrors.163.com wheezy-updates/main Sources [3864 B]
Get:16 http://mirrors.163.com wheezy-updates/non-free Sources [14 B]
Get:17 http://mirrors.163.com wheezy-updates/contrib Sources [14 B]
Get:18 http://mirrors.163.com wheezy-updates/contrib Translation-en [14 B]
Get:19 http://mirrors.163.com wheezy-updates/main Translation-en [3814 B]
Get:20 http://mirrors.163.com wheezy-updates/non-free Translation-en [14 B]
Get:21 http://mirrors.163.com wheezy-backports/main Sources [449 kB]
Get:22 http://mirrors.163.com wheezy-backports/non-free Sources [9346 B]
Get:23 http://mirrors.163.com wheezy-backports/contrib Sources [7907 B]
Get:24 http://mirrors.163.com wheezy-backports/contrib Translation-en [6265 B]
Get:25 http://mirrors.163.com wheezy-backports/main Translation-en [376 kB]
Get:26 http://mirrors.163.com wheezy-backports/non-free Translation-en [21.6 kB]
Get:27 http://mirrors.163.com wheezy/updates/main Sources [203 kB]
Get:28 http://mirrors.163.com wheezy/updates/non-free Sources [14 B]
Get:29 http://mirrors.163.com wheezy/updates/contrib Sources [14 B]
Get:30 http://mirrors.163.com wheezy/updates/contrib Translation-en [523 B]
Get:31 http://mirrors.163.com wheezy/updates/main Translation-en [187 kB]
Get:32 http://mirrors.163.com wheezy/updates/non-free Translation-en [14 B]
Err http://mirrors.163.com stable/main armhf Packages
  404  Not Found [IP: 123.58.173.185 80]
Err http://mirrors.163.com stable/non-free armhf Packages
  404  Not Found [IP: 123.58.173.185 80]
Err http://mirrors.163.com stable/contrib armhf Packages
  404  Not Found [IP: 123.58.173.185 80]
Err http://mirrors.163.com wheezy-updates/non-free armhf Packages
  404  Not Found [IP: 123.58.173.185 80]
Err http://mirrors.163.com wheezy-updates/contrib armhf Packages
  404  Not Found [IP: 123.58.173.185 80]
Err http://mirrors.163.com wheezy-backports/non-free armhf Packages
  404  Not Found [IP: 123.58.173.185 80]
Err http://mirrors.163.com wheezy-backports/contrib armhf Packages
  404  Not Found [IP: 123.58.173.185 80]
Err http://mirrors.163.com wheezy/updates/main armhf Packages
  404  Not Found [IP: 123.58.173.185 80]
Err http://mirrors.163.com wheezy/updates/non-free armhf Packages
  404  Not Found [IP: 123.58.173.185 80]
Err http://mirrors.163.com wheezy/updates/contrib armhf Packages
  404  Not Found [IP: 123.58.173.185 80]
Err http://mirrors.163.com wheezy-updates/main armhf Packages
  404  Not Found [IP: 123.58.173.185 80]
Err http://mirrors.163.com wheezy-backports/main armhf Packages
  404  Not Found [IP: 123.58.173.185 80]
Fetched 13.7 MB in 13s (1034 kB/s)
W: There is no public key available for the following key IDs:
7638D0442B90D010
NO_PUBKEY CBF8D6FD518E17E1
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
W: Failed to fetch http://mirrors.163.com/debian/di ... nary-armhf/Packages  404  Not Found [IP: 123.58.173.185 80]

W: Failed to fetch http://mirrors.163.com/debian/di ... nary-armhf/Packages  404  Not Found [IP: 123.58.173.185 80]

W: Failed to fetch http://mirrors.163.com/debian/di ... nary-armhf/Packages  404  Not Found [IP: 123.58.173.185 80]

W: Failed to fetch http://mirrors.163.com/debian/di ... nary-armhf/Packages  404  Not Found [IP: 123.58.173.185 80]

W: Failed to fetch http://mirrors.163.com/debian/di ... nary-armhf/Packages  404  Not Found [IP: 123.58.173.185 80]

W: Failed to fetch http://mirrors.163.com/debian/di ... nary-armhf/Packages  404  Not Found [IP: 123.58.173.185 80]

W: Failed to fetch http://mirrors.163.com/debian/di ... nary-armhf/Packages  404  Not Found [IP: 123.58.173.185 80]

W: Failed to fetch http://mirrors.163.com/debian/di ... nary-armhf/Packages  404  Not Found [IP: 123.58.173.185 80]

W: Failed to fetch http://mirrors.163.com/debian/di ... nary-armhf/Packages  404  Not Found [IP: 123.58.173.185 80]

W: Failed to fetch http://mirrors.163.com/debian-se ... nary-armhf/Packages  404  Not Found [IP: 123.58.173.185 80]

W: Failed to fetch http://mirrors.163.com/debian-se ... nary-armhf/Packages  404  Not Found [IP: 123.58.173.185 80]

W: Failed to fetch http://mirrors.163.com/debian-se ... nary-armhf/Packages  404  Not Found [IP: 123.58.173.185 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.






回复 支持 反对

使用道具 举报

 楼主| 发表于 2015-12-20 00:03:56 | 显示全部楼层
wencan 发表于 2015-12-12 20:17
http://debian.cn99.com/debian-security/dists/etch/
etch是什么鬼??
应该是stretch吧??

谁有 CC-A80的
cb4-debian-server-hdmi-emmc-v1.0.img
镜像的source.list
回复 支持 反对

使用道具 举报

发表于 2015-12-23 08:35:53 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2016-1-20 17:16:06 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-5-4 19:57 , Processed in 0.026915 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部