33

Whenever trying to install some programs from source, or specifically running apt update, I receive this message:

E: The repository 'http://ftp.ca.debian.org/debian stretch/updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

I started getting this after adding the architecture i386. Without it, I would not be able to install the proprietary Nvidia driver, and Steam client would not start at all. This is what my /etc/apt/sources.list reads:

deb http://ftp.ca.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.ca.debian.org/debian/ stretch main contrib non-free

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

####stretch-updates, previously known as 'volatile'

deb http://ftp.ca.debian.org/debian/ stretch-updates main contrib non-free

deb-src http://ftp.ca.debian.org/debian/ stretch-updates main contrib non-free
21

You’ve got both stretch-updates and stretch/updates, but the latter doesn’t exist any more (at least on the mirror you’re using). You should remove the references to stretch/updates, or — if you’re expecting the stretch/updates lines to provide security updates — replace them with

deb http://security.debian.org/ stretch/updates main contrib non-free
  • i removed it, and it solved the issue, but its odd because in the Software & Sources program, stretch/release (with the slash) refers to the security updates of stretch. – user77647 Jun 19 '17 at 5:37
  • 2
    Right, but that’s from https://security.debian.org, not your local mirror. (And it’s stretch/updates , not stretch/release; see here for the Release file and the corresponding instructions.) – Stephen Kitt Jun 19 '17 at 6:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy