Need support for cleaning up pool of no-longer-referenced packages

Bug #1996654 reported by Paul Goins
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-apt-mirror
Fix Released
Wishlist
Chi Wai CHAN

Bug Description

We've encountered at least one environment where the apt-mirror unit grew in size until it ran out of disk.

While the charm has an option for deleting snapshots, all it does is delete the "metadata", i.e. the snapshotted "dists" directory of the mirrored repositories. It doesn't clean up the packages in the shared pool.

We need to have some sort of script or cleanup action which allows us to reclaim disk space from no-longer-used packages. It would need to clean up files in the pool which no longer have any references from any of the current snapshots.

Tags: bseng-551
Eric Chen (eric-chen)
tags: added: bseng-551
Chi Wai CHAN (raychan96)
Changed in charm-apt-mirror:
assignee: nobody → Chi Wai CHAN (raychan96)
importance: Undecided → Wishlist
status: New → Fix Committed
Changed in charm-apt-mirror:
milestone: none → 23.01
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.