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

Troubleshooting • sudo apt upgrade failing

$
0
0
Hi

My Pi's have a hard time updating. Both a 5 and a 4. I did the "sudo apt update" and then tried upgrading:

Code:

sudo apt upgradeReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneCalculating upgrade... DoneThe following packages will be upgraded:  firefox firmware-atheros firmware-brcm80211 firmware-libertas firmware-misc-nonfree  firmware-realtek fonts-opensymbol gir1.2-gtk-3.0 gtk-update-icon-cache gtk2-engines-pixbuf  libgtk-3-0 libgtk-3-common libgtk2.0-0 libgtk2.0-bin libgtk2.0-common liblibreoffice-java libpq5  libreoffice libreoffice-base libreoffice-base-core libreoffice-base-drivers libreoffice-calc  libreoffice-common libreoffice-core libreoffice-draw libreoffice-gtk3 libreoffice-help-common  libreoffice-help-en-gb libreoffice-impress libreoffice-java-common libreoffice-l10n-en-gb  libreoffice-math libreoffice-nlpsolver libreoffice-report-builder libreoffice-report-builder-bin  libreoffice-script-provider-bsh libreoffice-script-provider-js  libreoffice-script-provider-python libreoffice-sdbc-firebird libreoffice-sdbc-hsqldb  libreoffice-sdbc-mysql libreoffice-sdbc-postgresql libreoffice-style-colibre  libreoffice-wiki-publisher libreoffice-writer libuno-cppu3 libuno-cppuhelpergcc3-3  libuno-purpenvhelpergcc3-3 libuno-sal3 libuno-salhelpergcc3-3 libunoloader-java openjdk-17-jre  openjdk-17-jre-headless pipanel python3-uno raspberrypi-sys-mods raspberrypi-ui-mods thunderbird  uno-libs-private ure ure-java wpasupplicant62 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.Need to get 23.2 MB/413 MB of archives.After this operation, 2,505 kB of additional disk space will be used.Do you want to continue? [Y/n] Ign:1 http://archive.raspberrypi.com/debian bookworm/main arm64 firmware-misc-nonfree all 1:20230625-2+rpt3Ign:1 http://archive.raspberrypi.com/debian bookworm/main arm64 firmware-misc-nonfree all 1:20230625-2+rpt3Ign:1 http://archive.raspberrypi.com/debian bookworm/main arm64 firmware-misc-nonfree all 1:20230625-2+rpt3Ign:1 http://archive.raspberrypi.com/debian bookworm/main arm64 firmware-misc-nonfree all 1:20230625-2+rpt3Err:1 http://archive.raspberrypi.com/debian bookworm/main arm64 firmware-misc-nonfree all 1:20230625-2+rpt3  Connection failed [IP: 46.235.231.151 80]E: Failed to fetch http://archive.raspberrypi.com/debian/pool/main/f/firmware-nonfree/firmware-misc-nonfree_20230625-2%2brpt3_all.deb  Connection failed [IP: 46.235.231.151 80]E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Seems the Pi4 hits a different mirror. Does get some data, but ultimately fails:

Code:

sudo apt upgradeReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneCalculating upgrade... DoneThe following packages will be upgraded:  firefox firmware-atheros firmware-brcm80211 firmware-libertas firmware-misc-nonfree  firmware-realtek raspberrypi-ui-mods7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.Need to get 197 MB of archives.After this operation, 979 kB of additional disk space will be used.Do you want to continue? [Y/n] Get:1 http://archive.raspberrypi.com/debian bookworm/main arm64 firefox arm64 129.0-1+rpt6 [91.8 MB]Get:2 http://archive.raspberrypi.com/debian bookworm/main arm64 firmware-atheros all 1:20230625-2+rpt3 [28.7 MB]Get:3 http://archive.raspberrypi.com/debian bookworm/main arm64 firmware-brcm80211 all 1:20230625-2+rpt3 [13.0 MB]Get:4 http://archive.raspberrypi.com/debian bookworm/main arm64 firmware-libertas all 1:20230625-2+rpt3 [35.1 MB]Get:5 http://archive.raspberrypi.com/debian bookworm/main arm64 firmware-misc-nonfree all 1:20230625-2+rpt3 [23.2 MB]Ign:5 http://archive.raspberrypi.com/debian bookworm/main arm64 firmware-misc-nonfree all 1:20230625-2+rpt3Get:6 http://archive.raspberrypi.com/debian bookworm/main arm64 firmware-realtek all 1:20230625-2+rpt3 [4,197 kB]Get:7 http://archive.raspberrypi.com/debian bookworm/main arm64 raspberrypi-ui-mods arm64 1.20240808 [1,057 kB]Ign:5 http://archive.raspberrypi.com/debian bookworm/main arm64 firmware-misc-nonfree all 1:20230625-2+rpt3Ign:5 http://archive.raspberrypi.com/debian bookworm/main arm64 firmware-misc-nonfree all 1:20230625-2+rpt3Ign:5 http://archive.raspberrypi.com/debian bookworm/main arm64 firmware-misc-nonfree all 1:20230625-2+rpt3Err:5 http://archive.raspberrypi.com/debian bookworm/main arm64 firmware-misc-nonfree all 1:20230625-2+rpt3  Connection timed out [IP: 93.93.130.212 80]Fetched 174 MB in 4min 49s (601 kB/s)E: Failed to fetch http://archive.raspberrypi.com/debian/pool/main/f/firmware-nonfree/firmware-misc-nonfree_20230625-2%2brpt3_all.deb  Connection timed out [IP: 93.93.130.212 80]E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
It's been like this for about a week. Something on my end or another issue?

Statistics: Posted by ljorg — Wed Aug 14, 2024 12:59 pm — Replies 2 — Views 57



Viewing all articles
Browse latest Browse all 7503

Trending Articles