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

 

 

 

stretch upgrade - security repositories not found

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
guthrie
Posts: 42
Joined: 2014-05-24 04:15
Has thanked: 1 time

stretch upgrade - security repositories not found

#1 Post by guthrie »

Doing an upgrade from jessie to stretch, edited sources.list file to change dist names, but getting an error on the security site(s):

/apt/sources.list

Code: Select all

.....
deb     http://httpredir.debian.org/debian   stretch          main contrib non-free
deb-src http://httpredir.debian.org/debian   stretch          main contrib non-free
deb     http://httpredir.debian.org/debian   stretch-updates  main contrib non-free
deb-src http://httpredir.debian.org/debian   stretch-updates  main contrib non-free
deb     http://security.debian.org/   stretch         main
deb-src http://security.debian.org/   stretch         main
deb     http://security.debian.org/   stretch/updates main
deb-src http://security.debian.org/   stretch/updates main
...

Error:

Code: Select all

W: Failed to fetch http://security.debian.org/dists/stretch/main/source/Sources  404  Not Found [IP: 128.61.240.73 80]
W: Failed to fetch http://security.debian.org/dists/stretch/main/binary-amd64/Packages  404  Not Found [IP: 128.61.240.73 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Indeed, looking online, All I see is:
http://security.debian.org/dists/stretch/updates/main/

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: stretch upgrade - security repositories not found

#2 Post by arochester »

Take these lines out

Code: Select all

deb     http://security.debian.org/   stretch         main
deb-src http://security.debian.org/   stretch         main
Change these lines

Code: Select all

deb     http://security.debian.org/   stretch/updates main
deb-src http://security.debian.org/   stretch/updates main
to

Code: Select all

deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free

guthrie
Posts: 42
Joined: 2014-05-24 04:15
Has thanked: 1 time

Re: stretch upgrade - security repositories not found

#3 Post by guthrie »

Great, thanks.

Post Reply