[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#652275: Guided partitioning should not offer separate /usr, /var, and /tmp partitions; leave that to manual partitioning



Roger Leigh <rleigh@codelibre.net> writes:

> On Sun, Dec 18, 2011 at 06:48:53PM +0100, Goswin von Brederlow wrote:
>> Josh Triplett <josh@joshtriplett.org> writes:
>> 
>> > I disagree; I think it leads to a significant burden.  Having /var
>> > separate requires pre-determining an appropriate size for it, and that
>> > will vary wildly between systems.  At a minimum it needs enough space
>> > for /var/cache/apt, which can grow to many gigabytes.  Servers with mail
>> 
>> Dude, run apt-get autoclean in cron daily. :)
>
> To be honest, I've always found apt's inability to manage its
> cache without manual intervention somewhat annoying.  It should
> be perfectly capable of pruning its own cache rather than
> pointlessly filling up /var with thousands of downloaded
> packages.  I'm surprised it doesn't automatically remove
> outdated .debs when you update, and require special configuration
> not to do that.
>
>
> Regards,
> Roger

There is a really good reason not to do this on upgrade. Say you do
upgrade a package and it no longer works then you may want to downgrade
to the previous version, which would have been deleted on update.

I think the autoclean feature of apt-get is still too clean. It should
not clean packages that are installed exactly for the reson of being
able to undo a bad upgrade.

MfG
        Goswin


Reply to: