Change what is considered by apt-get as major amount of disk space

John Moser john.r.moser at
Wed Mar 25 12:47:17 UTC 2015


On multiple CentOS systems installed from the same CD using the same
parameters, yum will either list updates and ask Y/n or just
update/install stuff without confirmation; this irritates me, because
sometimes I see updates I want to run in a separate batch for risk
management, or I see that a kernel update is going to add 15MB to /boot
which has 9MB free and I need to uninstall old kernels.

apt is going to ask me whether to continue or not anyway; if I don't
want to be asked, I'll use apt-get -y.  It may as well be informative
about it, listing all packages to be installed, removed, and updated, as
well as the disk space impact.

What do you want apt to say instead?  "After this operation, some voodoo
will happen that you don't need to worry about!  Continue?  [Y/n]"

On 03/25/2015 08:42 AM, Mateusz Konieczny wrote:
> apt-get will ask user about using significant amounts of disk space
> but it seems that what is considered as significant needs adjustment,
> for me "major amount of disk space" is about 200MB but apt-get will ask
> questions like "After this operation, 9805 kB of additional disk space
> will be
> used. Do you want to continue? [Y/n]".
> I propose increasing this threshold to 50MB.
> I know that I can use parameters (with aliases or apt.conf I can even
> make it
> permanent) to completely skip this check.
> I am not aware about any way that allows user to configure this threshold
> (see
> ).
> Note: i was directed to this mailing list by
> ("Discussing features and existing policy") linked from

More information about the Ubuntu-devel-discuss mailing list