dw-0 / kiauh

Klipper Installation And Update Helper
GNU General Public License v3.0
3.4k stars 492 forks source link

First use of Update doesn't check for system updates #290

Closed MallocArray closed 1 year ago

MallocArray commented 1 year ago

Linux Distribution

MainsailOS Raspberry Pi image, x64 and x86

What happened

On first boot of the MainsailOS image on a Pi Zero W 2, first thing I did was clone the kiauh repo and ran the script. Went to the Update option and it only showed updates for Klipper and Moonraker Used the option to update all and watched it update both When menu went back to the update list, it then showed there was an OS update available as well, which was successfully completed after selecting it.

What did you expect to happen

When selecting the Update menu, expected it to check for updates on all of the installed components, including OS update and show that there were OS updates available, rather than a 2 part update

How to reproduce

Raspberry Pi Imager for MainsailOS to SD card, either x86 or x64 Boot Pi Zero W 2 with fresh SD card On first boot of the MainsailOS image, clone the kiauh repo and run the script. Go to the Update option and it only showed updates for Klipper and Moonraker Used the option to update all and watched it update both When menu went back to the update list, it then showed there was an OS update available as well, which was successfully completed after selecting it.

Additional information

No response

MallocArray commented 1 year ago

I just did another new SD card image for MainsailOS 32bit on a Raspberry Pi 4 and on first boot it showed everything in the Mainsail Update Manager as Invalid, so I rebooted the OS and then it showed everything having an Update, except System showed as up-to-date so maybe it isn't a KIAUH issue, but a Mainsail one.

After a few more clicks of the refresh button, I did eventually get it to show that there were updates available for the System