Bug#368262: [Pbuilder-maint] Bug#368262: pbuilder update should clean
aptcache
Mike Hommey
mh+reportbug at glandium.org
Sun May 21 08:07:34 UTC 2006
On Sat, May 20, 2006 at 04:38:20PM -0700, Matt Kraai <kraai at ftbfs.org> wrote:
> On Sun, May 21, 2006 at 12:27:25AM +0200, Mike Hommey wrote:
> > When running pbuilder update, it would be nice if the aptcache would get
> > those files that aren't referenced any more in the Packages file
> > removed.
> > apt-get autoclean would be a way to something similar to that, but
> > putting it in a hook is useless.
>
> I think the problem with doing this is that the apt cache can be
> shared by multiple pbuilder chroots, so there's no way to know whether
> a package is still in use by some other chroot.
Then there should be a --auto-clean option to update or to clean,
whatever. The thing is that the apt cache grows indefinitely, and the
only simple way to clean it is to use pbuilder clean, which removes
everything from it.
Mike
More information about the Pbuilder-maint
mailing list