Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7503

Troubleshooting • Updating connection issue

$
0
0
I have ufw as a firewall. I open the ports that the update needs to be open, when the update script is run. And then after the ports close. Ports 80 and 443 are always open.

Code:

sudo ufw allow 111sudo ufw allow 113sudo apt update && sudo apt full-upgrade -ysudo ufw deny 111sudo ufw deny 113
But the update will not download on the ports. I've tried just shutting off the firewall too but that still doesn't help. This is the errors I get.

Code:

Ign:1 http://deb.debian.org/debian bookworm InReleaseIgn:2 http://deb.debian.org/debian-security bookworm-security InRelease                  Ign:3 http://deb.debian.org/debian bookworm-updates InRelease                            Hit:4 https://Pi-Apps-Coders.github.io/box64-debs/debian ./ InRelease                    Hit:5 https://Pi-Apps-Coders.github.io/box86-debs/debian ./ InRelease                    Hit:6 https://repo.steampowered.com/steam stable InRelease                               Hit:7 https://repository.spotify.com stable InRelease                                    Hit:8 https://repo.protonvpn.com/debian stable InRelease                                 Hit:9 https://adoptium.jfrog.io/artifactory/deb bookworm InRelease                       Ign:1 http://deb.debian.org/debian bookworm InRelease                                    Ign:2 http://deb.debian.org/debian-security bookworm-security InReleaseIgn:3 http://deb.debian.org/debian bookworm-updates InRelease                            Get:10 https://repo.waydro.id bookworm InRelease [1,312 B]                               Get:11 https://repo.waydro.id bookworm/main all Packages [3,503 B]                       Ign:1 http://deb.debian.org/debian bookworm InRelease                                    Ign:2 http://deb.debian.org/debian-security bookworm-security InReleaseIgn:3 http://deb.debian.org/debian bookworm-updates InRelease                            Err:1 http://deb.debian.org/debian bookworm InRelease                                      Could not connect to debian.map.fastlydns.net:80 (199.232.30.132). - connect (111: Connection refused) Could not connect to debian.map.fastlydns.net:80 (2a04:4e42:44::644). - connect (113: No route to host) Unable to connect to deb.debian.org:http:Err:2 http://deb.debian.org/debian-security bookworm-security InRelease                    Unable to connect to deb.debian.org:http:Err:3 http://deb.debian.org/debian bookworm-updates InRelease                              Unable to connect to deb.debian.org:http:Ign:12 http://archive.raspberrypi.com/debian bookworm InRelease                          Ign:12 http://archive.raspberrypi.com/debian bookworm InRelease                          Ign:12 http://archive.raspberrypi.com/debian bookworm InRelease                          Err:12 http://archive.raspberrypi.com/debian bookworm InRelease                            Could not connect to archive.raspberrypi.com:80 (176.126.240.86). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (2a00:1098:88:26::1:1). - connect (113: No route to host) Could not connect to archive.raspberrypi.com:80 (176.126.243.5). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (2a00:1098:a3::5). - connect (113: No route to host) Could not connect to archive.raspberrypi.com:80 (46.235.231.145). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (2a00:1098:84:1e0::3). - connect (113: No route to host) Could not connect to archive.raspberrypi.com:80 (93.93.135.118). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (2a00:1098:a3::4). - connect (113: No route to host) Could not connect to archive.raspberrypi.com:80 (176.126.240.167). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (2a00:1098:88:26::2:1). - connect (113: No route to host) Could not connect to archive.raspberrypi.com:80 (46.235.231.151). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (93.93.135.141). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (176.126.240.84). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (2a00:1098:88:26::1). - connect (113: No route to host) Could not connect to archive.raspberrypi.com:80 (176.126.243.6). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (46.235.231.111). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (2a00:1098:80:56::1:1). - connect (113: No route to host) Could not connect to archive.raspberrypi.com:80 (176.126.243.3). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (93.93.135.117). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (2a00:1098:80:56::3:1). - connect (113: No route to host) Could not connect to archive.raspberrypi.com:80 (2a00:1098:84:1e0::2). - connect (113: No route to host) Could not connect to archive.raspberrypi.com:80 (2a00:1098:80:56::2:1). - connect (113: No route to host) Could not connect to archive.raspberrypi.com:80 (2a00:1098:a3::6). - connect (113: No route to host) Could not connect to archive.raspberrypi.com:80 (2a00:1098:84:1e0::1). - connect (113: No route to host)Fetched 4,815 B in 15s (326 B/s)Reading package lists... DoneBuilding dependency tree... DoneReading state information... Done1 package can be upgraded. Run 'apt list --upgradable' to see it.N: Skipping acquire of configured file 'non-free/binary-arm64/Packages' as repository 'https://repository.spotify.com stable InRelease' doesn't support architecture 'arm64'N: Skipping acquire of configured file 'non-free/binary-armhf/Packages' as repository 'https://repository.spotify.com stable InRelease' doesn't support architecture 'armhf'W: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'https://repo.protonvpn.com/debian stable InRelease' does not seem to provide it (sources.list entry misspelt?)W: Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease  Could not connect to debian.map.fastlydns.net:80 (199.232.30.132). - connect (111: Connection refused) Could not connect to debian.map.fastlydns.net:80 (2a04:4e42:44::644). - connect (113: No route to host) Unable to connect to deb.debian.org:http:W: Failed to fetch http://deb.debian.org/debian-security/dists/bookworm-security/InRelease  Unable to connect to deb.debian.org:http:W: Failed to fetch http://deb.debian.org/debian/dists/bookworm-updates/InRelease  Unable to connect to deb.debian.org:http:W: Failed to fetch http://archive.raspberrypi.com/debian/dists/bookworm/InRelease  Could not connect to archive.raspberrypi.com:80 (176.126.240.86). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (2a00:1098:88:26::1:1). - connect (113: No route to host) Could not connect to archive.raspberrypi.com:80 (176.126.243.5). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (2a00:1098:a3::5). - connect (113: No route to host) Could not connect to archive.raspberrypi.com:80 (46.235.231.145). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (2a00:1098:84:1e0::3). - connect (113: No route to host) Could not connect to archive.raspberrypi.com:80 (93.93.135.118). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (2a00:1098:a3::4). - connect (113: No route to host) Could not connect to archive.raspberrypi.com:80 (176.126.240.167). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (2a00:1098:88:26::2:1). - connect (113: No route to host) Could not connect to archive.raspberrypi.com:80 (46.235.231.151). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (93.93.135.141). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (176.126.240.84). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (2a00:1098:88:26::1). - connect (113: No route to host) Could not connect to archive.raspberrypi.com:80 (176.126.243.6). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (46.235.231.111). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (2a00:1098:80:56::1:1). - connect (113: No route to host) Could not connect to archive.raspberrypi.com:80 (176.126.243.3). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (93.93.135.117). - connect (111: Connection refused) Could not connect to archive.raspberrypi.com:80 (2a00:1098:80:56::3:1). - connect (113: No route to host) Could not connect to archive.raspberrypi.com:80 (2a00:1098:84:1e0::2). - connect (113: No route to host) Could not connect to archive.raspberrypi.com:80 (2a00:1098:80:56::2:1). - connect (113: No route to host) Could not connect to archive.raspberrypi.com:80 (2a00:1098:a3::6). - connect (113: No route to host) Could not connect to archive.raspberrypi.com:80 (2a00:1098:84:1e0::1). - connect (113: No route to host)W: Some index files failed to download. They have been ignored, or old ones used instead.Reading package lists... DoneBuilding dependency tree... DoneReading state information... DoneCalculating upgrade... Done
What is it that I need to do to fix the problem?

Thanks in advance.

Statistics: Posted by Andrewsyvic — Tue Jun 24, 2025 8:52 pm — Replies 0 — Views 39



Viewing all articles
Browse latest Browse all 7503

Trending Articles