jerryli 发表于 2015-12-11 18:19:15

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

咨询一个问题,在升级 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
Get:2 http://debian.ustc.edu.cn proposed-updates/contrib armhf Packages/DiffIndex
Get:3 http://debian.ustc.edu.cn proposed-updates/non-free armhf Packages/DiffIndex
Get:4 http://debian.ustc.edu.cn proposed-updates/contrib Translation-en/DiffIndex
Get:5 http://debian.ustc.edu.cn proposed-updates/main Translation-en/DiffIndex
Get:6 http://debian.ustc.edu.cn proposed-updates/non-free Translation-en/DiffIndex
Ign http://debian.cn99.com etch/updates Release
Get:7 http://debian.ustc.edu.cn stable/updates/main armhf Packages
Get:8 http://debian.ustc.edu.cn stable/updates/main Translation-en
Err http://debian.ustc.edu.cn proposed-updates/contrib armhf Packages

Get:9 http://debian.ustc.edu.cn proposed-updates/contrib armhf Packages
Err http://debian.cn99.com etch/updates/main Sources
404Not Found
Err http://debian.cn99.com etch/updates/contrib Sources
404Not Found
Err http://debian.cn99.com etch/updates/main armhf Packages
404Not Found
Err http://debian.cn99.com etch/updates/contrib armhf Packages
404Not Found
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
404Not Found
Err http://security.debian.org sarge/updates/contrib armhf Packages
404Not Found
Err http://security.debian.org sarge/updates/non-free armhf Packages
404Not 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/Sources404Not Found

W: Failed to fetch http://debian.cn99.com/debian-se ... trib/source/Sources404Not Found

W: Failed to fetch http://debian.cn99.com/debian-se ... nary-armhf/Packages404Not Found

W: Failed to fetch http://debian.cn99.com/debian-se ... nary-armhf/Packages404Not Found

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

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

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

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

wencan 发表于 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/

jerryli 发表于 2015-12-14 17:40:37

找到了
http://mirrors.163.com/.help/debian-security.html
谢谢

gcd0318 发表于 2015-12-15 13:17:15

其实可以先直接浏览器卡看是不是真的404了

jerryli 发表于 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
Get:2 http://mirrors.163.com wheezy-updates Release.gpg
Get:3 http://mirrors.163.com wheezy-backports Release.gpg
Get:4 http://mirrors.163.com wheezy/updates Release.gpg
Get:5 http://mirrors.163.com stable Release
Get:6 http://mirrors.163.com wheezy-updates Release
Get:7 http://mirrors.163.com wheezy-backports Release
Get:8 http://mirrors.163.com wheezy/updates Release
Get:9 http://mirrors.163.com stable/main Sources
Get:10 http://mirrors.163.com stable/non-free Sources
Get:11 http://mirrors.163.com stable/contrib Sources
Get:12 http://mirrors.163.com stable/contrib Translation-en
Get:13 http://mirrors.163.com stable/main Translation-en
Get:14 http://mirrors.163.com stable/non-free Translation-en
Get:15 http://mirrors.163.com wheezy-updates/main Sources
Get:16 http://mirrors.163.com wheezy-updates/non-free Sources
Get:17 http://mirrors.163.com wheezy-updates/contrib Sources
Get:18 http://mirrors.163.com wheezy-updates/contrib Translation-en
Get:19 http://mirrors.163.com wheezy-updates/main Translation-en
Get:20 http://mirrors.163.com wheezy-updates/non-free Translation-en
Get:21 http://mirrors.163.com wheezy-backports/main Sources
Get:22 http://mirrors.163.com wheezy-backports/non-free Sources
Get:23 http://mirrors.163.com wheezy-backports/contrib Sources
Get:24 http://mirrors.163.com wheezy-backports/contrib Translation-en
Get:25 http://mirrors.163.com wheezy-backports/main Translation-en
Get:26 http://mirrors.163.com wheezy-backports/non-free Translation-en
Get:27 http://mirrors.163.com wheezy/updates/main Sources
Get:28 http://mirrors.163.com wheezy/updates/non-free Sources
Get:29 http://mirrors.163.com wheezy/updates/contrib Sources
Get:30 http://mirrors.163.com wheezy/updates/contrib Translation-en
Get:31 http://mirrors.163.com wheezy/updates/main Translation-en
Get:32 http://mirrors.163.com wheezy/updates/non-free Translation-en
Err http://mirrors.163.com stable/main armhf Packages
404Not Found
Err http://mirrors.163.com stable/non-free armhf Packages
404Not Found
Err http://mirrors.163.com stable/contrib armhf Packages
404Not Found
Err http://mirrors.163.com wheezy-updates/non-free armhf Packages
404Not Found
Err http://mirrors.163.com wheezy-updates/contrib armhf Packages
404Not Found
Err http://mirrors.163.com wheezy-backports/non-free armhf Packages
404Not Found
Err http://mirrors.163.com wheezy-backports/contrib armhf Packages
404Not Found
Err http://mirrors.163.com wheezy/updates/main armhf Packages
404Not Found
Err http://mirrors.163.com wheezy/updates/non-free armhf Packages
404Not Found
Err http://mirrors.163.com wheezy/updates/contrib armhf Packages
404Not Found
Err http://mirrors.163.com wheezy-updates/main armhf Packages
404Not Found
Err http://mirrors.163.com wheezy-backports/main armhf Packages
404Not Found
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/Packages404Not Found

W: Failed to fetch http://mirrors.163.com/debian/di ... nary-armhf/Packages404Not Found

W: Failed to fetch http://mirrors.163.com/debian/di ... nary-armhf/Packages404Not Found

W: Failed to fetch http://mirrors.163.com/debian/di ... nary-armhf/Packages404Not Found

W: Failed to fetch http://mirrors.163.com/debian/di ... nary-armhf/Packages404Not Found

W: Failed to fetch http://mirrors.163.com/debian/di ... nary-armhf/Packages404Not Found

W: Failed to fetch http://mirrors.163.com/debian/di ... nary-armhf/Packages404Not Found

W: Failed to fetch http://mirrors.163.com/debian/di ... nary-armhf/Packages404Not Found

W: Failed to fetch http://mirrors.163.com/debian/di ... nary-armhf/Packages404Not Found

W: Failed to fetch http://mirrors.163.com/debian-se ... nary-armhf/Packages404Not Found

W: Failed to fetch http://mirrors.163.com/debian-se ... nary-armhf/Packages404Not Found

W: Failed to fetch http://mirrors.163.com/debian-se ... nary-armhf/Packages404Not Found

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






jerryli 发表于 2015-12-20 00:03:56

wencan 发表于 2015-12-12 20:17 static/image/common/back.gif
http://debian.cn99.com/debian-security/dists/etch/
etch是什么鬼??
应该是stretch吧??


谁有 CC-A80的
cb4-debian-server-hdmi-emmc-v1.0.img
镜像的source.list

wencan 发表于 2015-12-23 08:35:53

deb http://ftp.ubuntu-tw.org/mirror/ubuntu-ports/ trusty main universe

生死相扶 发表于 2016-1-20 17:16:06

页: [1]
查看完整版本: apt-get update 升级时 提示错误,怎么解?跪求。。。。