Need support for cleaning up pool of no-longer-referenced packages
Bug #1996654 reported by
Paul Goins
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: | added: bseng-551 |
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.