SOLVED: apt-get update 404 on

If none of the more specific forums is the right place to ask

Re: apt-get update 404 on

Postby phenest » 2017-05-07 11:02

You've already been told.
phenest wrote:Jessie doesn't use http://deb.debian.org. You should use http://ftp.debian.org instead.
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: apt-get update 404 on

Postby dasein » 2017-05-07 11:05

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
User avatar
dasein
 
Posts: 7639
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: apt-get update 404 on

Postby kepler19 » 2017-05-07 11:15

Thanks all of you.
kepler19
 
Posts: 70
Joined: 2016-10-15 10:52

Re: apt-get update 404 on

Postby kepler19 » 2017-05-07 11:34

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.
kepler19
 
Posts: 70
Joined: 2016-10-15 10:52

Re: apt-get update 404 on

Postby Dai_trying » 2017-05-07 11:43

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.
Dai_trying
 
Posts: 293
Joined: 2016-01-07 12:25

Re: apt-get update 404 on

Postby kepler19 » 2017-05-07 14:06

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.
kepler19
 
Posts: 70
Joined: 2016-10-15 10:52

Re: apt-get update 404 on

Postby Dai_trying » 2017-05-07 14:19

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).
Dai_trying
 
Posts: 293
Joined: 2016-01-07 12:25

Re: apt-get update 404 on

Postby kepler19 » 2017-05-07 15:38

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?
kepler19
 
Posts: 70
Joined: 2016-10-15 10:52

Re: apt-get update 404 on

Postby Dai_trying » 2017-05-07 18:57

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?
Dai_trying
 
Posts: 293
Joined: 2016-01-07 12:25

Re: apt-get update 404 on

Postby kepler19 » 2017-05-08 17:09

I checked and it is 52.1.0 (64-bit).
kepler19
 
Posts: 70
Joined: 2016-10-15 10:52

Re: apt-get update 404 on

Postby Dai_trying » 2017-05-08 17:33

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. :)
Dai_trying
 
Posts: 293
Joined: 2016-01-07 12:25

Re: apt-get update 404 on

Postby kepler19 » 2017-05-09 10:58

ok thanks for ur support friend i will try it too.
kepler19
 
Posts: 70
Joined: 2016-10-15 10:52

Previous

Return to General Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable