stretch upgrade - security repositories not found

Kernels & Hardware, configuring network, installing services

stretch upgrade - security repositories not found

Postby guthrie » 2017-09-09 18:38

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/
guthrie
 
Posts: 25
Joined: 2014-05-24 04:15

Re: stretch upgrade - security repositories not found

Postby arochester » 2017-09-09 18:57

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
"Something to be aware of: Debian is a core or source distribution. This means there are many Debian-based distributions. THEY ARE NOT DEBIAN."
arochester
 
Posts: 1089
Joined: 2010-12-07 19:55

Re: stretch upgrade - security repositories not found

Postby guthrie » 2017-09-09 19:31

Great, thanks.
guthrie
 
Posts: 25
Joined: 2014-05-24 04:15


Return to System configuration

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable