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

Nils Kassube kassube at gmx.net
Wed Mar 25 13:42:39 UTC 2015


Mateusz Konieczny wrote:
> No, I want to stop apt-get from asking dumb questions. Asking
> whatever it is OK to use 1/25000 of disk is a dumb question that
> should not be asked.

To my understanding "apt-get upgrade" asks independent of the change in 
disk space, i.e. even if there would be no change, it would ask.

> At the same time it makes sense to ask for confirmation about
> installing 2GB of new programs, so -y is not a proper solution in
> that case (also, I mentioned "I know that I can use parameters
> (with aliases or apt.conf I can even make it permanent) to
> completely skip this check.").

"apt-get upgrade" would not install new packages, so you could use it 
with the -y option. And if you want apt-get to also install new 
packages, like a new kernel, use "apt-get dist-upgrade" without the -y 
option.


Nils




More information about the Ubuntu-devel-discuss mailing list