debian jessie apt-get update失败(404)


0

我是debian新手。我只是想在我的vps上安装更新,并且 apt-get update 最终导致404错误。我google了一段时间,有些人建议更换或重新生成sources.list文件,所以我已经完成了(afaik)。

这是我目前的来源。列表:

# Debian packages for stable
deb http://mirror.0x.sg/debian/ stable main contrib
# Uncomment the deb-src line if you want 'apt-get source'
# to work with most packages.
# deb-src http://mirror.0x.sg/debian/ stable main contrib

# Security updates for stable
deb http://security.debian.org/ stable/updates main contrib

这是我的系统:

root@debbox:/etc/apt# uname -a
Linux debbox 4.8.6-x86_64-linode78 #1 SMP Tue Nov 1 14:51:21 EDT 2016 x86_64 GNU/Linux

我安装并运行netselect-apt来重建你看到的sources.list:

root@debbox:/etc/apt# apt-get install netselect-apt
... snip ...
Writing sources.list.
Done.

但apt-get更新仍然失败。不确定ftp.utexas的东西是什么来的。

root@debbox:/etc/apt# apt-get update
Ign http://mirror.0x.sg stable InRelease
Get:1 http://mirror.0x.sg stable Release.gpg [2,373 B]                                                       
Get:2 http://mirror.0x.sg stable Release [118 kB]                                                            
Get:3 http://mirror.0x.sg stable/main amd64 Packages [7,095 kB]                                              
Get:4 http://mirror.0x.sg stable/contrib amd64 Packages [50.9 kB]                                            
Ign http://repo.mongodb.org jessie/mongodb-org/3.4 InRelease                                                 
Hit http://repo.mongodb.org jessie/mongodb-org/3.4 Release.gpg                                               
Hit http://repo.mongodb.org jessie/mongodb-org/3.4 Release                                                   
Get:5 http://repo.mongodb.org jessie/mongodb-org/3.4/main amd64 Packages [5,868 B]                           
Get:6 http://mirror.0x.sg stable/contrib Translation-en [45.9 kB]                                            
Get:7 http://mirror.0x.sg stable/main Translation-en [5,393 kB]                                              
Hit http://http.debian.net testing InRelease                                                                 
Ign http://repo.mongodb.org jessie/mongodb-org/3.4/main Translation-en_US                                    
Ign http://repo.mongodb.org jessie/mongodb-org/3.4/main Translation-en                                       
Get:8 http://security.debian.org stable/updates InRelease [62.9 kB]                                          
Get:9 http://http.debian.net testing/main amd64 Packages/DiffIndex [27.9 kB]                                 
Get:10 http://security.debian.org stable/updates/main amd64 Packages [128 kB]                                
Ign http://ftp.utexas.edu stable InRelease                                                       
Get:11 http://security.debian.org stable/updates/contrib amd64 Packages [556 B]                  
Get:12 http://security.debian.org stable/updates/contrib Translation-en [256 B]                              
Get:13 http://http.debian.net testing/main Translation-en/DiffIndex [27.9 kB]                                
Get:14 http://security.debian.org stable/updates/main Translation-en [52.7 kB]                               
Ign http://ftp.utexas.edu stable Release.gpg                                                                 
Ign http://ftp.utexas.edu stable Release                                                                     
Ign http://ftp.utexas.edu stable/all Sources/DiffIndex                        
Ign http://ftp.utexas.edu stable/all amd64 Packages/DiffIndex
Ign http://ftp.utexas.edu stable/all Translation-en_US                                                       
Ign http://ftp.utexas.edu stable/all Translation-en                                                          
Err http://ftp.utexas.edu stable/all Sources                                                                 
  404  Not Found
Err http://ftp.utexas.edu stable/all amd64 Packages                                                          
  404  Not Found
Fetched 13.0 MB in 12s (1,080 kB/s)                                                                          
W: There is no public key available for the following key IDs:
EF0F382A1A7B6500
W: Failed to fetch http://ftp.utexas.edu/dotdeb/dists/stable/all/source/Sources  404  Not Found

W: Failed to fetch http://ftp.utexas.edu/dotdeb/dists/stable/all/binary-amd64/Packages  404  Not Found

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

任何提示赞赏!


你有文件吗? /etc/apt/sources.list.d/ 和他们的内容?
sebasth

哦,我没注意到。有个 dotdeb.list (其中包含ftp.utexas地址 - deb http://ftp.utexas.edu/dotdeb/ stable all deb-src http://ftp.utexas.edu/dotdeb/ stable all ), 一个 mongodb-org-3.4.list,和 testing.list。我该如何判断它们的用途?什么是dotdeb?
frumbert

看看他们在他们的存储库中托管什么/从这些存储库安装了什么?
sebasth

Answers:


0

APT还可以存储存储库配置 /etc/apt/sources.list.d/。其中一个文件可能包含ftp.utexas.edu的错误行;我的猜测是,而不是 stable/all 它应该只包含 stable

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.