Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Update to 9.2.6 cancelled
#16
(03-08-2025, 10:04 PM)Rees86 Wrote:
(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

Thanks. The driver below has not been part of the build for a couple years but it was still being checked during the kernel bump. It won't affect the bash condition code but I'll put on the TODO list to remove it from the script.
 
dpkg-query: no packages found matching rtl88xxau-* 
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
Update to 9.2.6 cancelled - by muddiver - 03-08-2025, 01:04 PM
RE: Update to 9.2.6 cancelled - by muddiver - 03-08-2025, 02:08 PM
RE: Update to 9.2.6 cancelled - by Nutul - 03-08-2025, 02:46 PM
RE: Update to 9.2.6 cancelled - by Permi - 03-08-2025, 02:48 PM
RE: Update to 9.2.6 cancelled - by 5-pot-fan - 03-08-2025, 02:52 PM
RE: Update to 9.2.6 cancelled - by muddiver - 03-08-2025, 02:52 PM
RE: Update to 9.2.6 cancelled - by ultramode - 03-08-2025, 04:13 PM
RE: Update to 9.2.6 cancelled - by Tonewheelkev - 03-08-2025, 05:52 PM
RE: Update to 9.2.6 cancelled - by Caesar - 03-08-2025, 06:20 PM
RE: Update to 9.2.6 cancelled - by Nutul - 03-08-2025, 07:47 PM
RE: Update to 9.2.6 cancelled - by wadada - 03-08-2025, 08:03 PM
RE: Update to 9.2.6 cancelled - by greg_m - 03-08-2025, 08:22 PM
RE: Update to 9.2.6 cancelled - by Tim Curtis - 03-08-2025, 09:22 PM
RE: Update to 9.2.6 cancelled - by Rees86 - 03-08-2025, 10:04 PM
RE: Update to 9.2.6 cancelled - by Tim Curtis - 03-08-2025, 10:59 PM
RE: Update to 9.2.6 cancelled - by jenzd - 03-08-2025, 11:51 PM
RE: Update to 9.2.6 cancelled - by Tim Curtis - 03-08-2025, 11:59 PM
RE: Update to 9.2.6 cancelled - by jenzd - 03-09-2025, 12:27 AM
RE: Update to 9.2.6 cancelled - by fdealexa - 03-09-2025, 10:15 AM
RE: Update to 9.2.6 cancelled - by Tim Curtis - 03-09-2025, 10:31 AM
RE: Update to 9.2.6 cancelled - by the_bertrum - 03-10-2025, 04:15 PM
RE: Update to 9.2.6 cancelled - by Tim Curtis - 03-10-2025, 05:09 PM
RE: Update to 9.2.6 cancelled - by the_bertrum - 03-10-2025, 07:07 PM
RE: Update to 9.2.6 cancelled - by the_bertrum - 03-10-2025, 07:15 PM
RE: Update to 9.2.6 cancelled - by Tim Curtis - 03-10-2025, 09:32 PM
RE: Update to 9.2.6 cancelled - by the_bertrum - Yesterday, 08:12 AM
RE: Update to 9.2.6 cancelled - by Raptor1 - Today, 09:17 AM

Forum Jump: