SOLVED-The repository 'http://archive.raspberrypi.org/debian stretch Release' does no longer have a Release file (2023)

I dug out an 8gb sdhc card flashed with the image i have used a few times, booted ran
1 sudo apt-get update and upgrade, both ran without errors

Code: Select all

pi@raspberrypi:~ $ sudo apt-get updateGet:1 http://mirrordirector.raspbian.org/raspbian stretch InRelease [15.0 kB]Get:2 http://archive.raspberrypi.org/debian stretch InRelease [25.3 kB]Get:3 http://mirrordirector.raspbian.org/raspbian stretch/main armhf Packages [11.7 MB]Get:4 http://archive.raspberrypi.org/debian stretch/main armhf Packages [140 kB]Get:5 http://archive.raspberrypi.org/debian stretch/ui armhf Packages [28.0 kB]Get:6 http://mirrordirector.raspbian.org/raspbian stretch/contrib armhf Packages [56.8 kB]Get:7 http://mirrordirector.raspbian.org/raspbian stretch/non-free armhf Packages [95.2 kB]Fetched 12.0 MB in 28s (420 kB/s)Reading package lists... Donepi@raspberrypi:~ $ sudo apt-get upgrade -yReading package lists... DoneBuilding dependency treeReading state information... DoneCalculating upgrade... DoneThe following packages will be upgraded: base-files bind9-host bluez-firmware curl dbus firmware-atheros firmware-brcm80211 firmware-libertas firmware-misc-nonfree firmware-realtek iproute2 libbind9-140 libcurl3 libcurl3-gnutls libdbus-1-3 libdns-export162 libdns162 libicu57 libisc-export160 libisc160 libisccc140 libisccfg140 liblwres141 libpython2.7-minimal libpython2.7-stdlib libsqlite3-0 libssl1.0.2 libtasn1-6 libxml2 openssh-client openssh-server openssh-sftp-server pi-bluetooth python2.7 python2.7-minimal raspberrypi-sys-mods raspi-config rsync sensible-utils ssh tzdata41 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.Need to get 32.9 MB of archives.After this operation, 97.3 kB disk space will be freed.Get:1 http://archive.raspberrypi.org/debian stretch/main armhf bluez-firmware all 1.2-3+rpt2 [89.7 kB]Get:3 http://archive.raspberrypi.org/debian stretch/main armhf firmware-atheros all 1:20161130-3+rpt1 [3,132 kB]Get:2 http://archive-bm.raspbian.org/raspbian stretch/main armhf base-files armhf 9.9+rpi1+deb9u3 [67.4 kB]Get:4 http://archive-bm.raspbian.org/raspbian stretch/main armhf python2.7 armhf 2.7.13-2+deb9u2 [285 kB]Get:5 http://archive-bm.raspbian.org/raspbian stretch/main armhf libsqlite3-0 armhf 3.16.2-5+deb9u1 [493 kB]Get:6 http://archive-bm.raspbian.org/raspbian stretch/main armhf libpython2.7-stdlib armhf 2.7.13-2+deb9u2 [1,830 kB]Get:7 http://archive-bm.raspbian.org/raspbian stretch/main armhf python2.7-minimal armhf 2.7.13-2+deb9u2 [1,178 kB]Get:8 http://archive-bm.raspbian.org/raspbian stretch/main armhf libpython2.7-minimal armhf 2.7.13-2+deb9u2 [389 kB]Get:9 http://archive-bm.raspbian.org/raspbian stretch/main armhf openssh-sftp-server armhf 1:7.4p1-10+deb9u2 [32.9 kB]Get:10 http://archive-bm.raspbian.org/raspbian stretch/main armhf libssl1.0.2 armhf 1.0.2l-2+deb9u2 [893 kB]Get:11 http://archive-bm.raspbian.org/raspbian stretch/main armhf openssh-server armhf 1:7.4p1-10+deb9u2 [301 kB]Get:12 http://archive-bm.raspbian.org/raspbian stretch/main armhf openssh-client armhf 1:7.4p1-10+deb9u2 [697 kB]Get:13 http://archive-bm.raspbian.org/raspbian stretch/main armhf ssh all 1:7.4p1-10+deb9u2 [189 kB]Get:14 http://archive-bm.raspbian.org/raspbian stretch/main armhf sensible-utils all 0.0.9+deb9u1 [10.8 kB]Get:15 http://archive-bm.raspbian.org/raspbian stretch/main armhf tzdata all 2017c-0+deb9u1 [262 kB]Get:16 http://archive-bm.raspbian.org/raspbian stretch/main armhf iproute2 armhf 4.9.0-1+deb9u1 [559 kB]Get:35 http://archive.raspberrypi.org/debian stretch/main armhf firmware-brcm80211 all 1:20161130-3+rpt1 [3,613 kB]Get:17 http://archive-bm.raspbian.org/raspbian stretch/main armhf libicu57 armhf 57.1-6+deb9u1 [7,426 kB]Get:18 http://archive-bm.raspbian.org/raspbian stretch/main armhf libxml2 armhf 2.9.4+dfsg1-2.2+deb9u2 [806 kB]Get:19 http://archive-bm.raspbian.org/raspbian stretch/main armhf bind9-host armhf 1:9.10.3.dfsg.P4-12.3+deb9u4 [230 kB]Get:20 http://archive-bm.raspbian.org/raspbian stretch/main armhf libisc160 armhf 1:9.10.3.dfsg.P4-12.3+deb9u4 [367 kB]Get:21 http://archive-bm.raspbian.org/raspbian stretch/main armhf libdns162 armhf 1:9.10.3.dfsg.P4-12.3+deb9u4 [956 kB]Get:22 http://archive-bm.raspbian.org/raspbian stretch/main armhf libisccc140 armhf 1:9.10.3.dfsg.P4-12.3+deb9u4 [196 kB]Get:23 http://archive-bm.raspbian.org/raspbian stretch/main armhf libisccfg140 armhf 1:9.10.3.dfsg.P4-12.3+deb9u4 [215 kB]Get:24 http://archive-bm.raspbian.org/raspbian stretch/main armhf libbind9-140 armhf 1:9.10.3.dfsg.P4-12.3+deb9u4 [204 kB]Get:25 http://archive-bm.raspbian.org/raspbian stretch/main armhf liblwres141 armhf 1:9.10.3.dfsg.P4-12.3+deb9u4 [210 kB]Get:26 http://archive-bm.raspbian.org/raspbian stretch/main armhf dbus armhf 1.10.24-0+deb9u1 [190 kB]Get:27 http://archive-bm.raspbian.org/raspbian stretch/main armhf libdbus-1-3 armhf 1.10.24-0+deb9u1 [173 kB]Get:28 http://archive-bm.raspbian.org/raspbian stretch/main armhf libtasn1-6 armhf 4.10-1.1+deb9u1 [45.6 kB]Get:29 http://archive-bm.raspbian.org/raspbian stretch/main armhf curl armhf 7.52.1-5+deb9u4 [220 kB]Get:30 http://archive-bm.raspbian.org/raspbian stretch/main armhf libcurl3 armhf 7.52.1-5+deb9u4 [261 kB]Get:31 http://archive-bm.raspbian.org/raspbian stretch/main armhf libcurl3-gnutls armhf 7.52.1-5+deb9u4 [259 kB]Get:32 http://archive-bm.raspbian.org/raspbian stretch/main armhf libisc-export160 armhf 1:9.10.3.dfsg.P4-12.3+deb9u4 [314 kB]Get:33 http://archive-bm.raspbian.org/raspbian stretch/main armhf libdns-export162 armhf 1:9.10.3.dfsg.P4-12.3+deb9u4 [767 kB]Get:34 http://archive-bm.raspbian.org/raspbian stretch/main armhf rsync armhf 3.1.2-1+deb9u1 [356 kB]Get:36 http://archive.raspberrypi.org/debian stretch/main armhf firmware-libertas all 1:20161130-3+rpt1 [2,950 kB]Get:37 http://archive.raspberrypi.org/debian stretch/main armhf firmware-misc-nonfree all 1:20161130-3+rpt1 [2,321 kB]Get:38 http://archive.raspberrypi.org/debian stretch/main armhf firmware-realtek all 1:20161130-3+rpt1 [342 kB]Get:39 http://archive.raspberrypi.org/debian stretch/main armhf raspberrypi-sys-mods armhf 20180103 [8,932 B]Get:40 http://archive.raspberrypi.org/debian stretch/main armhf pi-bluetooth all 0.1.7 [3,782 B]Get:41 http://archive.raspberrypi.org/debian stretch/main armhf raspi-config all 20171201 [19.9 kB]Fetched 32.9 MB in 30s (1,093 kB/s)apt-listchanges: Reading changelogs...Extracting templates from packages: 100%Preconfiguring packages ...(Reading database ... 34443 files and directories currently installed.)Preparing to unpack .../base-files_9.9+rpi1+deb9u3_armhf.deb ...Unpacking base-files (9.9+rpi1+deb9u3) over (9.9+rpi1+deb9u1) ...Setting up base-files (9.9+rpi1+deb9u3) ...Installing new version of config file /etc/debian_version ...(Reading database ... 34443 files and directories currently installed.)Preparing to unpack .../python2.7_2.7.13-2+deb9u2_armhf.deb ...Unpacking python2.7 (2.7.13-2+deb9u2) over (2.7.13-2) ...Preparing to unpack .../libsqlite3-0_3.16.2-5+deb9u1_armhf.deb ...Unpacking libsqlite3-0:armhf (3.16.2-5+deb9u1) over (3.16.2-5) ...Setting up libsqlite3-0:armhf (3.16.2-5+deb9u1) ...(Reading database ... 34443 files and directories currently installed.)Preparing to unpack .../0-libpython2.7-stdlib_2.7.13-2+deb9u2_armhf.deb ...Unpacking libpython2.7-stdlib:armhf (2.7.13-2+deb9u2) over (2.7.13-2) ...Preparing to unpack .../1-python2.7-minimal_2.7.13-2+deb9u2_armhf.deb ...Unpacking python2.7-minimal (2.7.13-2+deb9u2) over (2.7.13-2) ...Preparing to unpack .../2-libpython2.7-minimal_2.7.13-2+deb9u2_armhf.deb ...Unpacking libpython2.7-minimal:armhf (2.7.13-2+deb9u2) over (2.7.13-2) ...Preparing to unpack .../3-openssh-sftp-server_1%3a7.4p1-10+deb9u2_armhf.deb ...Unpacking openssh-sftp-server (1:7.4p1-10+deb9u2) over (1:7.4p1-10+deb9u1) ...Preparing to unpack .../4-libssl1.0.2_1.0.2l-2+deb9u2_armhf.deb ...Unpacking libssl1.0.2:armhf (1.0.2l-2+deb9u2) over (1.0.2l-2+deb9u1) ...Preparing to unpack .../5-openssh-server_1%3a7.4p1-10+deb9u2_armhf.deb ...Unpacking openssh-server (1:7.4p1-10+deb9u2) over (1:7.4p1-10+deb9u1) ...Preparing to unpack .../6-openssh-client_1%3a7.4p1-10+deb9u2_armhf.deb ...Unpacking openssh-client (1:7.4p1-10+deb9u2) over (1:7.4p1-10+deb9u1) ...Preparing to unpack .../7-ssh_1%3a7.4p1-10+deb9u2_all.deb ...Unpacking ssh (1:7.4p1-10+deb9u2) over (1:7.4p1-10+deb9u1) ...Preparing to unpack .../8-sensible-utils_0.0.9+deb9u1_all.deb ...Unpacking sensible-utils (0.0.9+deb9u1) over (0.0.9) ...Setting up sensible-utils (0.0.9+deb9u1) ...(Reading database ... 34443 files and directories currently installed.)Preparing to unpack .../00-tzdata_2017c-0+deb9u1_all.deb ...Unpacking tzdata (2017c-0+deb9u1) over (2017b-1) ...Preparing to unpack .../01-iproute2_4.9.0-1+deb9u1_armhf.deb ...Unpacking iproute2 (4.9.0-1+deb9u1) over (4.9.0-1) ...Preparing to unpack .../02-libicu57_57.1-6+deb9u1_armhf.deb ...Unpacking libicu57:armhf (57.1-6+deb9u1) over (57.1-6) ...Preparing to unpack .../03-libxml2_2.9.4+dfsg1-2.2+deb9u2_armhf.deb ...Unpacking libxml2:armhf (2.9.4+dfsg1-2.2+deb9u2) over (2.9.4+dfsg1-2.2+deb9u1) ...Preparing to unpack .../04-bind9-host_1%3a9.10.3.dfsg.P4-12.3+deb9u4_armhf.deb ...Unpacking bind9-host (1:9.10.3.dfsg.P4-12.3+deb9u4) over (1:9.10.3.dfsg.P4-12.3+deb9u3) ...Preparing to unpack .../05-libisc160_1%3a9.10.3.dfsg.P4-12.3+deb9u4_armhf.deb ...Unpacking libisc160:armhf (1:9.10.3.dfsg.P4-12.3+deb9u4) over (1:9.10.3.dfsg.P4-12.3+deb9u3) ...Preparing to unpack .../06-libdns162_1%3a9.10.3.dfsg.P4-12.3+deb9u4_armhf.deb ...Unpacking libdns162:armhf (1:9.10.3.dfsg.P4-12.3+deb9u4) over (1:9.10.3.dfsg.P4-12.3+deb9u3) ...Preparing to unpack .../07-libisccc140_1%3a9.10.3.dfsg.P4-12.3+deb9u4_armhf.deb ...Unpacking libisccc140:armhf (1:9.10.3.dfsg.P4-12.3+deb9u4) over (1:9.10.3.dfsg.P4-12.3+deb9u3) ...Preparing to unpack .../08-libisccfg140_1%3a9.10.3.dfsg.P4-12.3+deb9u4_armhf.deb ...Unpacking libisccfg140:armhf (1:9.10.3.dfsg.P4-12.3+deb9u4) over (1:9.10.3.dfsg.P4-12.3+deb9u3) ...Preparing to unpack .../09-libbind9-140_1%3a9.10.3.dfsg.P4-12.3+deb9u4_armhf.deb ...Unpacking libbind9-140:armhf (1:9.10.3.dfsg.P4-12.3+deb9u4) over (1:9.10.3.dfsg.P4-12.3+deb9u3) ...Preparing to unpack .../10-liblwres141_1%3a9.10.3.dfsg.P4-12.3+deb9u4_armhf.deb ...Unpacking liblwres141:armhf (1:9.10.3.dfsg.P4-12.3+deb9u4) over (1:9.10.3.dfsg.P4-12.3+deb9u3) ...Preparing to unpack .../11-dbus_1.10.24-0+deb9u1_armhf.deb ...Unpacking dbus (1.10.24-0+deb9u1) over (1.10.22-0+deb9u1) ...Preparing to unpack .../12-libdbus-1-3_1.10.24-0+deb9u1_armhf.deb ...Unpacking libdbus-1-3:armhf (1.10.24-0+deb9u1) over (1.10.22-0+deb9u1) ...Preparing to unpack .../13-libtasn1-6_4.10-1.1+deb9u1_armhf.deb ...Unpacking libtasn1-6:armhf (4.10-1.1+deb9u1) over (4.10-1.1) ...Preparing to unpack .../14-bluez-firmware_1.2-3+rpt2_all.deb ...Unpacking bluez-firmware (1.2-3+rpt2) over (1.2-3+rpt1) ...Preparing to unpack .../15-curl_7.52.1-5+deb9u4_armhf.deb ...Unpacking curl (7.52.1-5+deb9u4) over (7.52.1-5+deb9u2) ...Preparing to unpack .../16-libcurl3_7.52.1-5+deb9u4_armhf.deb ...Unpacking libcurl3:armhf (7.52.1-5+deb9u4) over (7.52.1-5+deb9u2) ...Preparing to unpack .../17-firmware-atheros_1%3a20161130-3+rpt1_all.deb ...Unpacking firmware-atheros (1:20161130-3+rpt1) over (1:20161130-3+rpi2) ...Preparing to unpack .../18-firmware-brcm80211_1%3a20161130-3+rpt1_all.deb ...Unpacking firmware-brcm80211 (1:20161130-3+rpt1) over (1:20161130-3+rpi2) ...Preparing to unpack .../19-firmware-libertas_1%3a20161130-3+rpt1_all.deb ...Unpacking firmware-libertas (1:20161130-3+rpt1) over (1:20161130-3+rpi2) ...Preparing to unpack .../20-firmware-misc-nonfree_1%3a20161130-3+rpt1_all.deb ...Unpacking firmware-misc-nonfree (1:20161130-3+rpt1) over (1:20161130-3+rpi2) ...Preparing to unpack .../21-firmware-realtek_1%3a20161130-3+rpt1_all.deb ...Unpacking firmware-realtek (1:20161130-3+rpt1) over (1:20161130-3+rpi2) ...Preparing to unpack .../22-libcurl3-gnutls_7.52.1-5+deb9u4_armhf.deb ...Unpacking libcurl3-gnutls:armhf (7.52.1-5+deb9u4) over (7.52.1-5+deb9u2) ...Preparing to unpack .../23-libisc-export160_1%3a9.10.3.dfsg.P4-12.3+deb9u4_armhf.deb ...Unpacking libisc-export160 (1:9.10.3.dfsg.P4-12.3+deb9u4) over (1:9.10.3.dfsg.P4-12.3+deb9u3) ...Preparing to unpack .../24-libdns-export162_1%3a9.10.3.dfsg.P4-12.3+deb9u4_armhf.deb ...Unpacking libdns-export162 (1:9.10.3.dfsg.P4-12.3+deb9u4) over (1:9.10.3.dfsg.P4-12.3+deb9u3) ...Preparing to unpack .../25-raspberrypi-sys-mods_20180103_armhf.deb ...Unpacking raspberrypi-sys-mods (20180103) over (20171127) ...Preparing to unpack .../26-pi-bluetooth_0.1.7_all.deb ...Unpacking pi-bluetooth (0.1.7) over (0.1.6) ...Preparing to unpack .../27-rsync_3.1.2-1+deb9u1_armhf.deb ...Unpacking rsync (3.1.2-1+deb9u1) over (3.1.2-1) ...Preparing to unpack .../28-raspi-config_20171201_all.deb ...Unpacking raspi-config (20171201) over (20171109) ...Setting up firmware-realtek (1:20161130-3+rpt1) ...update-initramfs: deferring update (trigger activated)Setting up bluez-firmware (1.2-3+rpt2) ...Setting up raspberrypi-sys-mods (20180103) ...Setting up libisc-export160 (1:9.10.3.dfsg.P4-12.3+deb9u4) ...Processing triggers for mime-support (3.60) ...Processing triggers for install-info (6.3.0.dfsg.1-1+b1) ...Setting up libcurl3-gnutls:armhf (7.52.1-5+deb9u4) ...Setting up tzdata (2017c-0+deb9u1) ...Current default time zone: 'Etc/UTC'Local time is now: Fri Feb 23 19:40:14 UTC 2018.Universal Time is now: Fri Feb 23 19:40:14 UTC 2018.Run 'dpkg-reconfigure tzdata' if you wish to change it.Setting up pi-bluetooth (0.1.7) ...Setting up libicu57:armhf (57.1-6+deb9u1) ...Setting up iproute2 (4.9.0-1+deb9u1) ...Setting up libxml2:armhf (2.9.4+dfsg1-2.2+deb9u2) ...Setting up libtasn1-6:armhf (4.10-1.1+deb9u1) ...Setting up rsync (3.1.2-1+deb9u1) ...Setting up raspi-config (20171201) ...Setting up libssl1.0.2:armhf (1.0.2l-2+deb9u2) ...Processing triggers for libc-bin (2.24-11+deb9u1) ...Setting up firmware-libertas (1:20161130-3+rpt1) ...Processing triggers for systemd (232-25+deb9u1) ...Setting up liblwres141:armhf (1:9.10.3.dfsg.P4-12.3+deb9u4) ...Setting up firmware-misc-nonfree (1:20161130-3+rpt1) ...update-initramfs: deferring update (trigger activated)Setting up firmware-atheros (1:20161130-3+rpt1) ...Processing triggers for man-db (2.7.6.1-2) ...Setting up libpython2.7-minimal:armhf (2.7.13-2+deb9u2) ...Setting up firmware-brcm80211 (1:20161130-3+rpt1) ...Setting up openssh-client (1:7.4p1-10+deb9u2) ...Setting up libpython2.7-stdlib:armhf (2.7.13-2+deb9u2) ...Setting up libdbus-1-3:armhf (1.10.24-0+deb9u1) ...Setting up python2.7-minimal (2.7.13-2+deb9u2) ...Setting up libisc160:armhf (1:9.10.3.dfsg.P4-12.3+deb9u4) ...Setting up libcurl3:armhf (7.52.1-5+deb9u4) ...Setting up libdns-export162 (1:9.10.3.dfsg.P4-12.3+deb9u4) ...Setting up python2.7 (2.7.13-2+deb9u2) ...Setting up libisccc140:armhf (1:9.10.3.dfsg.P4-12.3+deb9u4) ...Setting up openssh-sftp-server (1:7.4p1-10+deb9u2) ...Setting up dbus (1.10.24-0+deb9u1) ...A reboot is required to replace the running dbus-daemon.Please reboot the system when convenient.Setting up libdns162:armhf (1:9.10.3.dfsg.P4-12.3+deb9u4) ...Setting up curl (7.52.1-5+deb9u4) ...Setting up libisccfg140:armhf (1:9.10.3.dfsg.P4-12.3+deb9u4) ...Setting up openssh-server (1:7.4p1-10+deb9u2) ...Setting up libbind9-140:armhf (1:9.10.3.dfsg.P4-12.3+deb9u4) ...Setting up bind9-host (1:9.10.3.dfsg.P4-12.3+deb9u4) ...Setting up ssh (1:7.4p1-10+deb9u2) ...Processing triggers for initramfs-tools (0.130) ...Processing triggers for libc-bin (2.24-11+deb9u1) ...pi@raspberrypi:~ $

I subsiquently used raspi-config to set up networking and resize the fs, and set a static ip to ssh to over wifi with an edit to /etc/dhcpcd.conf
rebooted and on running the sudo apt-get update command again i received the same error as above..

So returning to the man pages

Code: Select all

 You can force all APT clients to raise only warnings by setting the configuration option Acquire::AllowInsecureRepositories to true. Individual repositories can also be allowed to be insecure via the sources.list(5) option allow-insecure=yes. Note that insecure repositories are strongly discouraged and all options to force apt to continue supporting them will eventually be removed. Users also have the Trusted option available to disable even the warnings, but be sure to understand the implications as detailed in sources.list(5). A repository which previously was authenticated but would loose this state in an update operation raises an error in all APT clients irrespective of the option to allow or forbid usage of insecure repositories. The error can be overcome by additionally setting Acquire::AllowDowngradeToInsecureRepositories to true or for Individual repositories with the sources.list(5) option allow-downgrade-to-insecure=yes.

I guess i can trust raspberrypi.org sources alright, so how do i go about applying the Acquire::AllowInsecureRepositories to true config option?

what file does it sit in, or ?? should i not trust raspberrypi.org sources does the message indicate some corruption?

Can i continue the setup with any confidence?

Top Articles
Latest Posts
Article information

Author: Annamae Dooley

Last Updated: 11/04/2022

Views: 5873

Rating: 4.4 / 5 (65 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Annamae Dooley

Birthday: 2001-07-26

Address: 9687 Tambra Meadow, Bradleyhaven, TN 53219

Phone: +9316045904039

Job: Future Coordinator

Hobby: Archery, Couponing, Poi, Kite flying, Knitting, Rappelling, Baseball

Introduction: My name is Annamae Dooley, I am a witty, quaint, lovely, clever, rich, sparkling, powerful person who loves writing and wants to share my knowledge and understanding with you.