When we try to install applications using sudo apt-get install
command, we are asked for permission before installing as follows,
Need to get 9,979 kB/11.6 MB of archives.
After this operation, 36.8 MB of additional disk space will be used.
Do you want to continue [Y/n]?
But this happens only for packages above certain size(it's somewhere about 100 KB, but I'm not sure). For small packages it skips this step.
Why is it so?
Can I force apt-get
to show the message on installation of all packages?
apt does not ask for confirmation depending upon the size, but the importance of the process that will take place. One of the instances is when packages are going to be installed that you didn't ask for. apt will also ask for confirmation when:
If you don't want the confirmation, you can override it with one of the following:
However, prompts for "essential packages" will still be displayed for safety reasons.
What are "Essential packages":
Source: Similar question on superuser.com