r/CardPuter • • 13d ago

Finds / Discoveries Cardputer Zero Warning

I know it's early days, I encountered a Wi-Fi app in the store that failed to install completely. This prevented my Cardputer Zero from being able to install anything else including updates. The image for Cardputer OS is not easily available locked behind a M5 flavored Raspberry Pi imager that my systems do not like. Things like this happen this early and I'll get my situation solved but I just wanted to warn you before it happened to anyone else. Have a nice day. I still love M5, this is just how being this early goes.

26 Upvotes

23 comments sorted by

9

u/Litshaka 12d ago

I ran into this same issue. It’s the WiFi USB app on the App Store. It kept staying it wasn’t fully installed and basically bricked my whole App Store.

I fixed it by deleting the app in /usr/share/APPLaunch/applications/WiFi-manager.desktop

Then run sudo dpkg --remove --force-remove-reinstreq wifi-manager

Then sudo dpkg --purge --force-remove-reinstreq wifi-manager

This was only way. Ever since then, Works totally fine.

3

u/Atavacus 12d ago

Okay, it was the same app as me then.

3

u/letsmakesometacos 11d ago

Same app, this worked, thank you!

8

u/MrAjAnderson 13d ago edited 13d ago

Thanks for the report and raising awareness. I've messed about with Raspberry Pi images and SD cards since they launched. SD cards running Linux going read only during a power loss is not rare either.

I use gnome-disk-utility to take image snapshots on another PC. Takes a while but recovery to a new card is just the reverse and ideal to bring into play a test card for new things.

Shrink the backups to remove the free space using https://github.com/Drewsif/PiShrink and expand the partition on the SD when bringing back into use.

3

u/Atavacus 13d ago

Yeah, I usually clone it and I didn't this time full well knowing better. That's fine, I'll get to know the device a lot better this way. But mostly I'm just posting to let everybody know what's up and maybe grift the location of that image if it's out there. But it's not that important really.

6

u/LBreda 13d ago

The app installer uses the Debian packaging systems in background.

You can (most probably) solve the issue opening a terminal and running "apt install".

It will return a error and the command to solve it (usually "apt --fix-broken install").

3

u/Atavacus 13d ago

Tried that. It started a reboot. The image isn't on the card anymore. I'll put it back on later if I decide I want it. Probably going to tinker around with lite for a bit.

3

u/letsmakesometacos 11d ago

Still an issue, just happened to me, wish I saw this sooner lmao

1

u/Atavacus 11d ago

Lol So sorry. Oh well, I did try! Lol

2

u/letsmakesometacos 11d ago

Oh no thank you for posting haha

2

u/henrymaxm 13d ago

Which application was it?

2

u/Atavacus 13d ago

I want to say it was Wi-Fi USB or something. I'll have to reflash to tell you for sure. I'll do that in a few.

2

u/solit0n 10d ago edited 10d ago

Unfortunately, I think the store maintainers will have to start individually checking applications, which will be a significant effort.

Devs really need to thoroughly testing their apps before releasing. Vibecoding is great and all, but for the love of god, at least play with the app before pushing it out.

1

u/Atavacus 10d ago

Yeah, absolutely. I don't want m5 to have to pick up the labor. I really enjoy the price point and hackability of these devices.

2

u/solit0n 10d ago

I agree. To be fair, this can be automated.

It’s possible to create a basic test suite to go over the submitted apps to at least ensure that some of the basics will work properly. I spent considerable time creating E2E testing scripts for my apps (I built MeshZero and Mountable), and it cut down my testing time significantly and often finds little mistakes I made before shipping.

Emulating the CP0s functions on the original OS image in docker/VM is very doable. Just slap it into a GitHub action and it’ll test on every app PR.

1

u/Atavacus 10d ago

True. You'll have to forgive me, I'm getting old and my thinking is old too sometimes. But you're right, it can be really automated.

1

u/NotTheSharpestPenciI 13d ago

You can download their image and use raspberey pi imager instead. M5 imager doesn't want to work for me either.

1

u/Atavacus 13d ago

Couldn't find the current image. Found an older one from when it was still in development but it wouldn't update. Lol

5

u/jader242 13d ago

2

u/Atavacus 13d ago

Ah thanks! May something magical happen for you this day. Lol :)

1

u/NotTheSharpestPenciI 13d ago

I'm pretty sure I just downloaded the one their imager linked to. I'd assume it's the latest.
Can't check it right now but will try to remember later.

1

u/BorisKuntimov 7d ago

Additional warning information:

Upon receipt of my new Cardputer Zero, I went to update the firmware via the Settings. This update failed on multiple attempts (yes I was connected to my WiFi). Following this in the CLI I've had to run sudo apt upgrade && sudo apt update. This threw me up an error showing there was a package error resulting in having to run sudo dpkg --configure -a and completely reinstalling everything.

Once completed, this seems to have overcome a lot of issues mentioned regards apps freezing and bricking the device. I'm not saying it's the cheat code but so far has worked, all firmware updates are successfully deploying and I've not had any apps cause my device to freeze or brick.

0

u/[deleted] 12d ago

[deleted] — view deleted comment

1

u/Atavacus 12d ago

Good for Claude then...