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

Marius Gedminas marius at pov.lt
Fri Mar 27 08:55:57 UTC 2015


On Wed, Mar 25, 2015 at 01:42:43PM +0100, 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.

The disk space message is purely informational; apt-get doesn't base its
decision to show a prompt on this.

apt-get install used to always show a prompt.  Then it was streamlined
to show a prompt only if the packages about to be installed are just the
packages the user specified on the command line, i.e. if there aren't
any additional dependencies or conflicts that could be surprising to the
user.

Marius Gedminas
-- 
Microsoft is not the answer.
Microsoft is the question.
"No" is the answer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20150327/7b6f7558/attachment.sig>


More information about the Ubuntu-devel-discuss mailing list