Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

SOLVED: apt-get update 404 on

If none of the specific sub-forums seem right for your thread, ask here.
Message
Author
kepler19
Posts: 83
Joined: 2016-10-15 10:52

Re: apt-get update 404 on

#21 Post by kepler19 »

Dai_trying wrote:Start with

Code: Select all

deb http://ftp.debian.org/debian/ stable main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free
deb http://ftp.debian.org/debian/ stable-updates main contrib non-free
it looks like you are missing some /debian/ parts from them.
Thanks for support i put it and after apt-get update:

Code: Select all

/etc/apt/sources.list
gelapir@Gelapir:~$ sudo apt-get update
Ign http://ftp.debian.org stable InRelease
Ign http://ftp.debian.org stable-updates InRelease                               
Ign http://ftp.debian.org stable/updates InRelease                               
Ign http://mirrors.kernel.org jessie InRelease                                   
Ign http://mozilla.debian.net jessie-backports InRelease                         
Hit http://ftp.debian.org jessie-backports InRelease                             
Ign http://ftp.debian.org stable InRelease                                       
Get:1 http://ftp.debian.org stable-updates InRelease [145 kB]                    
Hit http://mirrors.kernel.org jessie-updates InRelease                           
Hit http://security.debian.org jessie/updates InRelease                          
Hit http://mozilla.debian.net jessie-backports Release.gpg                       
Ign http://httpredir.debian.org jessie InRelease                                 
Hit http://httpredir.debian.org jessie-updates InRelease                         
Hit http://mirrors.kernel.org jessie Release.gpg                                 
Hit http://mozilla.debian.net jessie-backports Release                           
Hit http://httpredir.debian.org jessie Release.gpg                               
Get:2 http://security.debian.org stable/updates InRelease [63.1 kB]              
Ign http://ftp.debian.org stable Release.gpg                                     
Ign http://ftp.debian.org stable-updates Release.gpg                             
Get:3 http://mirrors.kernel.org jessie-updates/main Sources [15.5 kB]            
Ign http://ftp.debian.org stable/updates Release.gpg                             
Get:4 http://ftp.debian.org stable Release.gpg [2,373 B]                         
Hit http://httpredir.debian.org jessie Release                                   
Get:5 http://mirrors.kernel.org jessie-updates/main amd64 Packages/DiffIndex [7,900 B]
Get:6 http://ftp.debian.org jessie-backports/main Sources/DiffIndex [27.8 kB]    
Get:7 http://ftp.debian.org jessie-backports/main amd64 Packages/DiffIndex [27.8 kB]
Get:8 http://mirrors.kernel.org jessie-updates/main Translation-en/DiffIndex [2,704 B]
Get:9 http://ftp.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]
Ign http://ftp.debian.org stable Release                                         
Ign http://ftp.debian.org stable-updates Release                                 
Get:10 http://httpredir.debian.org jessie-updates/main Sources [15.5 kB]         
Hit http://mirrors.kernel.org jessie Release                                     
Get:11 http://httpredir.debian.org jessie-updates/contrib Sources [32 B]         
Get:12 http://ftp.debian.org stable-updates/contrib amd64 Packages [32 B]        
Hit http://mozilla.debian.net jessie-backports/firefox-release amd64 Packages    
Get:13 http://httpredir.debian.org jessie-updates/non-free Sources [920 B]       
Get:14 http://mirrors.kernel.org jessie/main Sources [7,055 kB]                  
Get:15 http://ftp.debian.org stable-updates/contrib Translation-en [14 B]        
Get:16 http://httpredir.debian.org jessie-updates/main amd64 Packages/DiffIndex [7,900 B]
Get:17 http://ftp.debian.org stable-updates/main Translation-en [12.6 kB]        
Get:18 http://ftp.debian.org stable-updates/non-free Translation-en [496 B]      
Get:19 http://httpredir.debian.org jessie-updates/contrib amd64 Packages [32 B]  
Ign http://ftp.debian.org stable/updates Release                                 
Get:20 http://ftp.debian.org stable Release [148 kB]                             
Get:21 http://httpredir.debian.org jessie-updates/non-free amd64 Packages/DiffIndex [736 B]
Hit http://security.debian.org jessie/updates/non-free Sources                   
Get:22 http://httpredir.debian.org jessie-updates/contrib Translation-en [14 B]  
Get:23 http://httpredir.debian.org jessie-updates/main Translation-en/DiffIndex [2,704 B]
Get:24 http://httpredir.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
Ign http://mozilla.debian.net jessie-backports/firefox-release Translation-en_US 
Get:25 http://httpredir.debian.org jessie/main Sources [7,055 kB]                
Hit http://security.debian.org jessie/updates/non-free amd64 Packages            
Ign http://mozilla.debian.net jessie-backports/firefox-release Translation-en    
Get:26 http://httpredir.debian.org jessie/contrib Sources [50.8 kB]              
Get:27 http://httpredir.debian.org jessie/non-free Sources [99.5 kB]             
Get:28 http://httpredir.debian.org jessie/main amd64 Packages [6,790 kB]         
Get:29 http://httpredir.debian.org jessie/contrib amd64 Packages [50.2 kB]       
Hit http://security.debian.org jessie/updates/non-free Translation-en            
Get:30 http://ftp.debian.org stable-updates/main amd64 Packages [15.5 kB]        
Get:31 http://httpredir.debian.org jessie/non-free amd64 Packages [83.6 kB]      
Get:32 http://security.debian.org stable/updates/main amd64 Packages [402 kB]    
Get:33 http://ftp.debian.org stable-updates/non-free amd64 Packages [516 B]      
Get:34 http://httpredir.debian.org jessie/contrib Translation-en [38.5 kB]       
Get:35 http://ftp.debian.org stable/main amd64 Packages [6,790 kB]               
Get:36 http://httpredir.debian.org jessie/main Translation-en [4,583 kB]         
Get:37 http://httpredir.debian.org jessie/non-free Translation-en [72.1 kB]      
Get:38 http://mirrors.kernel.org jessie/main amd64 Packages [6,790 kB]           
Get:39 http://security.debian.org stable/updates/contrib amd64 Packages [2,506 B]
Get:40 http://security.debian.org stable/updates/non-free amd64 Packages [14 B]  
Get:41 http://security.debian.org stable/updates/contrib Translation-en [1,211 B]
Get:42 http://security.debian.org stable/updates/main Translation-en [211 kB]    
Get:43 http://mirrors.kernel.org jessie/main Translation-en [4,583 kB]           
Get:44 http://security.debian.org stable/updates/non-free Translation-en [14 B]  
Hit http://security.debian.org jessie/updates/main Sources                       
Hit http://security.debian.org jessie/updates/contrib Sources                    
Hit http://security.debian.org jessie/updates/main amd64 Packages                
Hit http://security.debian.org jessie/updates/contrib amd64 Packages             
Hit http://security.debian.org jessie/updates/contrib Translation-en             
Hit http://security.debian.org jessie/updates/main Translation-en                
Get:45 http://ftp.debian.org stable/contrib amd64 Packages [50.2 kB]             
Get:46 http://ftp.debian.org stable/non-free amd64 Packages [83.6 kB]            
Get:47 http://ftp.debian.org stable/contrib Translation-en [38.5 kB]             
Get:48 http://ftp.debian.org stable/main Translation-en [4,583 kB]               
Get:49 http://ftp.debian.org stable/non-free Translation-en [72.1 kB]            
Err http://ftp.debian.org stable/main Sources                                    
  404  Not Found [IP: 130.89.148.12 80]
Err http://ftp.debian.org stable/contrib Sources                                 
  404  Not Found [IP: 130.89.148.12 80]
Err http://ftp.debian.org stable/main amd64 Packages                             
  404  Not Found [IP: 130.89.148.12 80]
Err http://ftp.debian.org stable/contrib amd64 Packages                          
  404  Not Found [IP: 130.89.148.12 80]
Ign http://ftp.debian.org stable/contrib Translation-en_US                       
Ign http://ftp.debian.org stable/contrib Translation-en                          
Ign http://ftp.debian.org stable/main Translation-en_US                          
Ign http://ftp.debian.org stable/main Translation-en                             
Err http://ftp.debian.org stable-updates/main Sources                            
  404  Not Found [IP: 130.89.148.12 80]
Err http://ftp.debian.org stable-updates/contrib Sources                         
  404  Not Found [IP: 130.89.148.12 80]
Err http://ftp.debian.org stable-updates/main amd64 Packages                     
  404  Not Found [IP: 130.89.148.12 80]
Err http://ftp.debian.org stable-updates/contrib amd64 Packages                  
  404  Not Found [IP: 130.89.148.12 80]
Ign http://ftp.debian.org stable-updates/contrib Translation-en_US               
Ign http://ftp.debian.org stable-updates/contrib Translation-en                  
Ign http://ftp.debian.org stable-updates/main Translation-en_US                  
Ign http://ftp.debian.org stable-updates/main Translation-en                     
Err http://ftp.debian.org stable/updates/main Sources                            
  404  Not Found [IP: 130.89.148.12 80]
Err http://ftp.debian.org stable/updates/main amd64 Packages                     
  404  Not Found [IP: 130.89.148.12 80]
Ign http://ftp.debian.org stable/updates/main Translation-en_US                  
Ign http://ftp.debian.org stable/updates/main Translation-en                     
Fetched 31.2 MB in 26s (1,176 kB/s)                                              
W: Failed to fetch http://ftp.debian.org/dists/stable/main/source/Sources  404  Not Found [IP: 130.89.148.12 80]

W: Failed to fetch http://ftp.debian.org/dists/stable/contrib/source/Sources  404  Not Found [IP: 130.89.148.12 80]

W: Failed to fetch http://ftp.debian.org/dists/stable/main/binary-amd64/Packages  404  Not Found [IP: 130.89.148.12 80]

W: Failed to fetch http://ftp.debian.org/dists/stable/contrib/binary-amd64/Packages  404  Not Found [IP: 130.89.148.12 80]

W: Failed to fetch http://ftp.debian.org/dists/stable-updates/main/source/Sources  404  Not Found [IP: 130.89.148.12 80]

W: Failed to fetch http://ftp.debian.org/dists/stable-updates/contrib/source/Sources  404  Not Found [IP: 130.89.148.12 80]

W: Failed to fetch http://ftp.debian.org/dists/stable-updates/main/binary-amd64/Packages  404  Not Found [IP: 130.89.148.12 80]

W: Failed to fetch http://ftp.debian.org/dists/stable-updates/contrib/binary-amd64/Packages  404  Not Found [IP: 130.89.148.12 80]

W: Failed to fetch http://ftp.debian.org/debian-secruity/dists/stable/updates/main/source/Sources  404  Not Found [IP: 130.89.148.12 80]

W: Failed to fetch http://ftp.debian.org/debian-secruity/dists/stable/updates/main/binary-amd64/Packages  404  Not Found [IP: 130.89.148.12 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
It's not the answers that matter, it's the questions.

Dai_trying
Posts: 1100
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: apt-get update 404 on

#22 Post by Dai_trying »

Ok, mv your old sources.list somewhere else or copy it somewhere (for backup) and then add the sources I posted to an empty /etc/apt/sources.list file and nothing else! then run update, if that gives you success try adding each other source one at a time and update apt after each one, the ones that give you an error can then be investigated individually (or omitted if not really required).

kepler19
Posts: 83
Joined: 2016-10-15 10:52

Re: apt-get update 404 on

#23 Post by kepler19 »

Dai_trying wrote:Ok, mv your old sources.list somewhere else or copy it somewhere (for backup) and then add the sources I posted to an empty /etc/apt/sources.list file and nothing else! then run update, if that gives you success try adding each other source one at a time and update apt after each one, the ones that give you an error can then be investigated individually (or omitted if not really required).
Thanks sir for help, i did as u sad me step by step and it is corrected now , only one thing is confusing me:

Code: Select all

Ign http://mozilla.debian.net jessie-backports/firefox-release Translation-en_US
why Mozilla is ignored?
It's not the answers that matter, it's the questions.

Dai_trying
Posts: 1100
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: apt-get update 404 on

#24 Post by Dai_trying »

I'm not entirely sure but I think it might have changed since the recent changes with the package. Have you checked if the version you want is available in the normal backports repo?

kepler19
Posts: 83
Joined: 2016-10-15 10:52

Re: apt-get update 404 on

#25 Post by kepler19 »

I checked and it is 52.1.0 (64-bit).
It's not the answers that matter, it's the questions.

Dai_trying
Posts: 1100
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: apt-get update 404 on

#26 Post by Dai_trying »

It's still a little behind the current version (53.0.2) but if your happy to use that one it would be easier than adding another source, although I simply download the tar file and unpack it to my home directory and create a link for the desktop, this way I can simply remove the folder if I change my mind and want to use the system version. :)

kepler19
Posts: 83
Joined: 2016-10-15 10:52

Re: apt-get update 404 on

#27 Post by kepler19 »

ok thanks for ur support friend i will try it too.
It's not the answers that matter, it's the questions.

Post Reply