Bookworm – the new version of Raspberry Pi OS

simple@lemm.ee to Linux@lemmy.ml – 123 points –
Bookworm — the new version of Raspberry Pi OS - Raspberry Pi
raspberrypi.com
28

You are viewing a single comment

Without thinking or reading to the last paragraph of this article, I went and started a dist-upgrade on my pi.

Curious now to see if it still boots after it's finished.

Edit: Oops

~ » ssh pihole@172.16.0.1
Last login: Wed Oct 11 09:38:31 2023 from 172.16.0.96
compdump:print:36: write error: no space left on device
compdump:print:42: write error: no space left on device
compdump:print:44: write error: no space left on device
compdump:44: write error: no space left on device
compdump:print:44: write error: no space left on device
compdump:44: write error: no space left on device

One thing Debian introduced recently: apt upgrade --without-new-pkgs and they recommend that before a full dist-upgrade. I think it's made a pretty big difference in the upgrade smoothness, eliminating some possibly-breaking package upgrades.

edit: I say recently but I mean new-to-me

I haven't tried this, but maybe ssh -t "rm /var/cache/apt/archives/*deb" or something like to clear up some space would work.

This worked! I've got it running on a 4gb SD card so it's no wonder it ballooned, but once I got apt cleaned up it's now humming along at 83% usage.

I have plenty of space, as the OS boots from a 256 GB SSD and a very minimal install. I may try to dist-upgrade after a backup.

As a followup, I just changed the repos and did the apt full upgrade. Everything works beautifully. But as I said, I had a very minimal headless install without any DE.