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.
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.
Imported from Launchpad using lp2gh.
date created: 2022-11-15T23:49:46Z
owner: vultaire
assignee: raychan96
the launchpad url