Bug 502617

Summary: updatectl vacuum (to remove all old versions of images) does nothing
Product: [I don't know] kde Reporter: Robert Griffiths <r.griff444>
Component: generalAssignee: Unknown <null>
Status: RESOLVED FIXED    
Severity: normal CC: nate, sitter
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: KDE Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Robert Griffiths 2025-04-09 15:23:17 UTC
SUMMARY
updatectl vacuum (to remove all old versions of images) does nothing

STEPS TO REPRODUCE
1. have 3 retained images on system through updates, 
2. boot from latest
3. run sudo updatectl vacuum host

OBSERVED RESULT
Error: Nothing found to delete for host

EXPECTED RESULT
All images except current should be removed

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 202504090255

ADDITIONAL INFORMATION
Also failed on 0403 & 0402
Comment 1 Robert Griffiths 2025-04-09 15:33:28 UTC
I think this is needed for early testers like myself because the server images are rolling daily and we want to download and test to make sure it works (as there have been quite a few go wrong). The boot selection shows 4 images available but there are only 3 as the last one is a dud so we can only download 2 bad images before we can't risk another. If vacuum worked this problem would be gone.
Comment 2 Robert Griffiths 2025-06-26 10:39:29 UTC
for some time now (maybe always?), updating doesn't overwrite the booted image so there is no chance to lose it, so this bug isn't relevant.

Not sure how to mark resolved.