(03-08-2025, 09:22 PM)Tim Curtis Wrote: The update script now has standard BASH condition code checking which means it's accurately reporting that a package install or other part of the script did not complete successfully.
The update process depends on solid network connections to the remote package repositories, and repos that aren't super busy (overcommitted with requests). That fact that there are success cases suggests the script is ok and the failure cases suggest a network, repo or other non-script issue thats preventing a successful package install.
Keep in mind that the earlier script just reported the installation step whether or not the underlying package install actually completed successfully. Not good.
If you want to try and run the update manually use the command below.
Code:sudo /var/www/util/system-updater moode9
Hi Tim, in case it's helpful here is the output from running the manual update command. This is on a Raspberry Pi Zero 2
Host: Pi-Zero
RPiOS: 12.5 Bookworm 64-bit | Linux: 6.6.31 64-bit
Model: Pi-Zero 2 W 512MB
Audio: Pi HDMI 1
m o O d e a u d i o p l a y e r
Release 9.0.6 2024-08-03
© 2014 Tim Curtis
Code:
rees@Pi-Zero:/var/www/util $ sudo /var/www/util/system-updater.sh moode9
Downloading package [update-moode9.zip]
**********************************************************
**
** This process updates moOde to the latest release.
** Reboot after the update completes.
**
**********************************************************
Start 2025-03-07 update for moOde
** Step 01-32: Remove package hold
moOde-apt-hold
Canceled hold on upmpdcli.
Canceled hold on alsa-cdsp.
Canceled hold on alsacap.
Canceled hold on bluez-alsa-utils.
Canceled hold on camilladsp.
Canceled hold on camillagui.
Canceled hold on caps.
Canceled hold on chromium-browser.
Canceled hold on chromium-browser-l10n.
Canceled hold on chromium-codecs-ffmpeg-extra.
Canceled hold on libasound2-plugin-bluez.
Canceled hold on librespot.
Canceled hold on mediainfo.
Canceled hold on minidlna.
Canceled hold on moode-player.
Canceled hold on mpd.
Canceled hold on mpd2cdspvolume.
Canceled hold on python3-camilladsp.
Canceled hold on python3-camilladsp-plot.
Canceled hold on python3-libupnpp.
Canceled hold on python3-camilladsp.
Canceled hold on python3-camilladsp-plot.
Canceled hold on raspberrypi-kernel.
Canceled hold on raspberrypi-bootloader.
Canceled hold on shairport-sync.
Canceled hold on squeezelite.
Canceled hold on trx.
Canceled hold on udisks.
Canceled hold on udisks-glue.
Canceled hold on upmpdcli.
** Step 02-32: Update package list
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
Get:5 https://dl.cloudsmith.io/public/moodeaudio/m8y/deb/raspbian bookworm InRelease [9,657 B]
Fetched 9,657 B in 3s (3,317 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
213 packages can be upgraded. Run 'apt list --upgradable' to see them.
** Step 03-32: Update Linux kernel to 6.6.74
** - Updating...
dpkg-query: no packages found matching rtl88xxau-*
** - Prepare environment
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
chromium-browser : Depends: chromium
chromium-browser-l10n : Depends: chromium-browser (< 126.0.6478.164-rpt1.1~)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
** Step failed
** Exiting update
Install failed, update cancelled
EDIT: Running "sudo apt --fix-broken install" did the trick, afterwards the update worked just fine