Updating OS Images

I am probably shooting myself in the foot with this, as it is in my nature to install the OS, then immediately “sudo apt update $$ sudo apt upgrade”. The post install for the various “Upgrades” I have done, AIO V2 etc. bump into dependencies during the installation.

I have installed various OS’s on my SD Card, OVER AND OVER again for the last 2 weeks. I have been pulling what little hair I have left out because of this. It seems to be a “Damned if you do, Damned if you don’t” situation.

Should I just be happy with what is installed and wait for updates, or should be digging in and building an OS for my needs from the bottom up?

What are you trying to do?

1 Like

yes exactly can you please help??

I want to know, if I am the only one who does an update / upgrade and ends up bricking the device?

I have the HG AIO V2 upgrade, the CM5 adapter and battery board, and the wifi.

I am able to get the aiov2_ctl script running, as per @Rex guidance, along with SRD++ Brown, and the GPS software.

But when I try to go any further then that, I start running into dependancies that get update, but are no longer supporting some of the software.

Should I just sit pretty with the initial install and wait out?

Ultimatly, I want to have one SD card setup and running intercept. So that I can plug it in, and leave it on my radio room desk, and access it from anywhere in the house.

I want an other SD card setup, so I can do SDR/WIFI monitoring around the homestead.

that shouldn’t happen, can you please post errors there?

that also could be an issue as os on the first boot need to run something and then reboot.

so try to run update on the second boot.

“sudo apt update $$ sudo apt upgrade”

That should be && ! (two ampersands not dollars). This tells the system to run the second command IF the first one succeeds. The first one only updates the catalogue of software versions so it can check if any on your system have updates available…

I can do an apt upgrade no problem. I did get a lot of crashing with an SD card (im on nvme now), but I was assuming my SD card’s read/write speed is too low. I bought the cheapest one i could find

It was my fingers here that put the $$ in and not the &&. Sorry, MY BAD

2 Likes

Unsing Rex’s image I would always update, just as with every regular Debian system.

I am also running CM5 on nvme and even an encrypted root filesystem. Not encountered any upgrade problems yet.

1 Like

Did you try the sd_quirks=1 ?. Running from a Sandisk extreme pro 1Tb here with zero issues, around 90Mb/s on a good day.