CLI software update

Is there an equivalent way to check for updates and apply those updates from CLI that parallels what is done from ASL3 cockpit?

sudo apt update && sudo apt upgrade
1 Like

Mason, I'm sure this will update linux and php stuff; but will it update:
raspi-utils-otp , raspinfo , rpi-eeprom , tzdata , asl3-asterisk , asl3-asterisk-config , asl3-asterisk-modules , asl3-menu , asl3-pi-appliance ??

Also, is there a way to see what updates are available with CLI (as is the case with the cockpit) ??

You can also split out the two commands, sudo apt update and sudo apt upgrade, and exec them separately.

When you exec sudo apt update the command will tell you if any updates are available. Then, as directed in the output, you can exec apt list --upgradable to see what packages can/will be upgraded.

Will all updates possible through the cockpit be captured through the cli update/upgrade process ?

As far as I know, cockpit essentially uses the same commands.

Thanks Allan. I was aware of update and upgrade, of course. 'Just wasn't sure it caught all the upgrades shown in the cockpit.