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

SOLVED: apt-get update 404 on

#1 Post by kepler19 »

Hello here i need your help in that issue on my Debian Jessie, after apt-get update i have that errors, see below error codes and help to solve it please. Thanks in advanced.

Code: Select all

Ign http://httpredir.debian.org jessie InRelease                               
Hit http://httpredir.debian.org jessie Release.gpg                             
Hit http://httpredir.debian.org jessie Release                                 
Hit http://httpredir.debian.org jessie/main amd64 Packages                     
Hit http://httpredir.debian.org jessie/contrib amd64 Packages                  
Hit http://httpredir.debian.org jessie/non-free amd64 Packages                 
Hit http://httpredir.debian.org jessie/contrib Translation-en                  
Hit http://httpredir.debian.org jessie/main Translation-en                     
Hit http://httpredir.debian.org jessie/non-free Translation-en                 
Ign http://mozilla.debian.net jessie-backports InRelease                       
Hit http://mozilla.debian.net jessie-backports Release.gpg                     
Hit http://mozilla.debian.net jessie-backports Release                         
Ign http://deb.debian.org stable InRelease                                     
Hit http://ftp.debian.org jessie-backports InRelease                           
Ign http://mirrors.kernel.org jessie InRelease                                 
Ign http://deb.debian.org stable-updates InRelease                             
Hit http://security.debian.org jessie/updates InRelease                        
Hit http://mozilla.debian.net jessie-backports/firefox-release amd64 Packages  
Get:1 http://ftp.debian.org jessie-backports/main Sources/DiffIndex [27.8 kB]  
Hit http://mirrors.kernel.org jessie-updates InRelease                         
Ign http://deb.debian.org stable/updates InRelease                             
Ign http://deb.debian.org stable Release.gpg                                   
Get:2 http://ftp.debian.org jessie-backports/main amd64 Packages/DiffIndex [27.8 kB]
Hit http://mirrors.kernel.org jessie Release.gpg                               
Ign http://deb.debian.org stable-updates Release.gpg                           
Get:3 http://ftp.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]
Ign http://mozilla.debian.net jessie-backports/firefox-release Translation-en_US
Ign http://deb.debian.org stable/updates Release.gpg                           
Ign http://mozilla.debian.net jessie-backports/firefox-release Translation-en
Get:4 http://mirrors.kernel.org jessie-updates/main amd64 Packages/DiffIndex [7,900 B]
Ign http://deb.debian.org stable Release                                       
Get:5 http://mirrors.kernel.org jessie-updates/main Translation-en/DiffIndex [2,704 B]
Ign http://deb.debian.org stable-updates Release                               
Hit http://security.debian.org jessie/updates/main Sources
Hit http://mirrors.kernel.org jessie Release                                   
Ign http://deb.debian.org stable/updates Release                               
Hit http://security.debian.org jessie/updates/main amd64 Packages              
Hit http://mirrors.kernel.org jessie-updates/main Sources                      
Hit http://security.debian.org jessie/updates/main Translation-en              
Hit http://mirrors.kernel.org jessie/main Sources                              
Hit http://mirrors.kernel.org jessie/main amd64 Packages                       
Hit http://mirrors.kernel.org jessie/main Translation-en                       
Err http://deb.debian.org stable/main Sources                                  
  404  Not Found [IP: 149.20.4.15 80]
Err http://deb.debian.org stable/contrib Sources
  404  Not Found [IP: 149.20.4.15 80]
Err http://deb.debian.org stable/main amd64 Packages
  404  Not Found [IP: 149.20.4.15 80]
Err http://deb.debian.org stable/contrib amd64 Packages
  404  Not Found [IP: 149.20.4.15 80]
Ign http://deb.debian.org stable/contrib Translation-en_US
Ign http://deb.debian.org stable/contrib Translation-en
Ign http://deb.debian.org stable/main Translation-en_US
Ign http://deb.debian.org stable/main Translation-en
Err http://deb.debian.org stable-updates/main Sources
  404  Not Found [IP: 149.20.4.15 80]
Err http://deb.debian.org stable-updates/contrib Sources
  404  Not Found [IP: 149.20.4.15 80]
Err http://deb.debian.org stable-updates/main amd64 Packages
  404  Not Found [IP: 149.20.4.15 80]
Err http://deb.debian.org stable-updates/contrib amd64 Packages
  404  Not Found [IP: 149.20.4.15 80]
Ign http://deb.debian.org stable-updates/contrib Translation-en_US
Ign http://deb.debian.org stable-updates/contrib Translation-en
Ign http://deb.debian.org stable-updates/main Translation-en_US
Ign http://deb.debian.org stable-updates/main Translation-en
Err http://deb.debian.org stable/updates/main Sources
  404  Not Found [IP: 149.20.4.15 80]
Err http://deb.debian.org stable/updates/main amd64 Packages
  404  Not Found [IP: 149.20.4.15 80]
Ign http://deb.debian.org stable/updates/main Translation-en_US
Ign http://deb.debian.org stable/updates/main Translation-en
Fetched 94.0 kB in 35s (2,655 B/s)
W: Failed to fetch http://deb.debian.org/dists/stable/main/source/Sources  404  Not Found [IP: 149.20.4.15 80]

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

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

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

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

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

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

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

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

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

E: Some index files failed to download. They have been ignored, or old ones used instead.
Last edited by kepler19 on 2017-05-13 21:31, edited 1 time in total.
It's not the answers that matter, it's the questions.

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: apt-get update 404 on

#2 Post by phenest »

Jessie doesn't use http://deb.debian.org. You should use http://ftp.debian.org instead.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: apt-get update 404 on

#3 Post by Head_on_a_Stick »

phenest wrote:You should use http://ftp.debian.org instead.
Actually, Debian are dropping their ftp servers soon so that won't work for long either.

https://www.debian.org/News/2017/20170425

The current recommendations are here:

https://deb.debian.org

EDIT: your source lines are wrong, check my link.
deadbang

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: apt-get update 404 on

#4 Post by phenest »

Head_on_a_Stick wrote:
phenest wrote:You should use http://ftp.debian.org instead.
Actually, Debian are dropping their ftp servers soon so that won't work for long either.

https://www.debian.org/News/2017/20170425
Incorrect. That refers to ftp:// not http://
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: apt-get update 404 on

#5 Post by phenest »

Head_on_a_Stick wrote:https://deb.debian.org

EDIT: your source lines are wrong, check my link.
Also incorrect. That link clearly states "in Stretch and later", whereas the OP is using Jessie.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: apt-get update 404 on

#6 Post by debiman »

phenest wrote:Incorrect. That refers to ftp://... not http://ftp...
i concur, and made it clearer.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: apt-get update 404 on

#7 Post by Head_on_a_Stick »

Apologies to all for my careless post :)

To clarify: for Debian jessie, these direct links should work (this is what we use in BunsenLabs atm):

Code: Select all

deb http://cdn-fastly.deb.debian.org/debian stable main
deb http://cdn-fastly.deb.debian.org/debian-security stable/updates main
EDIT: FWIW, https://deb.debian.org works just fine in my Debian jessie systems.
deadbang

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: apt-get update 404 on

#8 Post by phenest »

Head_on_a_Stick wrote:Apologies to all for my careless post :)
Yeah, that's not like you. Were you suffering from a caffeine deficiency?
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: apt-get update 404 on

#9 Post by Head_on_a_Stick »

^ Too much CS:GO :twisted:
deadbang

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: apt-get update 404 on

#10 Post by stevepusser »

Head_on_a_Stick wrote:Apologies to all for my careless post :)

To clarify: for Debian jessie, these direct links should work (this is what we use in BunsenLabs atm):

Code: Select all

deb http://cdn-fastly.deb.debian.org/debian stable main
deb http://cdn-fastly.deb.debian.org/debian-security stable/updates main
EDIT: FWIW, https://deb.debian.org works just fine in my Debian jessie systems.
Does Jessie install apt-transport-https by default?
MX Linux packager and developer

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: apt-get update 404 on

#11 Post by phenest »

I've got it installed in Stretch. I didn't install myself, and nothing seems to depend on it. And this was a clean install of Jessie before I upgraded to Stretch. So maybe.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: apt-get update 404 on

#12 Post by Head_on_a_Stick »

stevepusser wrote:Does Jessie install apt-transport-https by default?
No but deb.debian.org does mention that the package is needed for https
deadbang


User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: apt-get update 404 on

#14 Post by phenest »

There's some conflicting information on their website. On this one:
https://tiliado.eu/nuvolaplayer/repository/deb/dists/
... it doesn't show Jessie. But on this one it does (under Install Rolling Releases):
https://tiliado.eu/nuvolaplayer/
Lysander wrote:Hope this doesn't count as hijacking the topic]
Yes it does. And it's not even a Debian issue.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

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

Re: apt-get update 404 on

#15 Post by kepler19 »

Thanks for your supports all of you but i am little confused , how to correct my source list without above mentioned errors? can you provide correct source list or tell me what should i do?

Thanks again.
It's not the answers that matter, it's the questions.

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: apt-get update 404 on

#16 Post by phenest »

You've already been told.
phenest wrote:Jessie doesn't use http://deb.debian.org. You should use http://ftp.debian.org instead.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: apt-get update 404 on

#17 Post by dasein »

kepler19 wrote:can you provide correct source list or tell me what should i do?
The very first thing you should always do is check to see if the Wiki already has an answer to your question.

Sure enough, for this question, it does: https://wiki.debian.org/SourcesList

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

Re: apt-get update 404 on

#18 Post by kepler19 »

Thanks all of you.
It's not the answers that matter, it's the questions.

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

Re: apt-get update 404 on

#19 Post by kepler19 »

I did it and change deb. to ftp instead but have that error too:

Code: Select all

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 7,885 kB in 15s (525 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

#20 Post by Dai_trying »

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.

Post Reply