There was no concrete answer here, but I cobbled together what everyone said. I spent 30 min wandering around Silverblue documentation and these forums for this solution:
Run rpm-ostree status
and see what images you have:
❯ rpm-ostree status
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: last run 7h ago
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx-nvidia:stable
Digest: sha256:1ab513c88dea2aacb07c9405bf9e1a0b7400d2788352218e70413063fbb3c66b
Version: 40.20240702.0 (2024-07-02T20:02:06Z)
LayeredPackages:
LocalPackages: veracrypt-1.26.7-1.x86_64
ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx-nvidia:stable
Digest: sha256:3a86261872d8d7d67c9b6cd494c57c186d9bc27626aeaa978a954babd70be2ed
Version: 40.20240702.0 (2024-07-02T05:58:47Z)
LayeredPackages:
LocalPackages: veracrypt-1.26.7-1.x86_64
ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx-nvidia:stable
Digest: sha256:702787f98ecb8e4b296a2e5f332b09edd07d8bed2ce9ca8f6f9fbee1f80341e9
Version: 40.20240627.0 (2024-06-27T15:13:20Z)
LayeredPackages:
LocalPackages: veracrypt-1.26.7-1.x86_64
Pinned: yes
ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-nvidia:gts
Digest: sha256:fca1d3d6a0c6eebee160c2d83223fcbb073b7e214b647a975d023938d57c4b89
Version: 39.20240529.0 (2024-05-30T17:04:18Z)
LayeredPackages:
LocalPackages: veracrypt-1.26.7-1.x86_64
Pinned: yes
Each image starts counting at 0 (for me 0-3). I have 2 pinned images, images 2 and 3.
To delete pinned images, you need to unpin them first.
sudo ostree admin pin --unpin 3
sudo ostree admin pin --unpin 2
For the life of me, I have no clue why pin --unpin
is a thing. It’s not intuitive at all.
Use ostree to clean it up.
rpm-ostree cleanup
You’ll get at output that looks like this.
Transaction complete; bootconfig swap: yes; bootversion: boot.1.1, deployment count change: -3
Pruned images: 1 (layers: 188)
Freed: 11.9 GB (pkgcache branches: 0)
Also, the boot partition being 600 MB is because of the installer, not because of user error. This needs to be addressed because it’s unreasonable to expect someone to repartition their drive or reinstall.
Either there needs to be a ujust tool to clean up or manage images OR there needs to be a task run in the background and when this happened, the user is prompted to clean them up in the GUI tool.
Unfortunately, this seems like an upstream problem, not so much a uBlue problem. Thanks for reading my doctorate thesis.