Sometimes apt-get install asks me Do you want to continue [Y/n]?:root@T43:~# apt-get install chmseeReading package lists... DoneBuilding dependency tree       Reading state information... DoneThe following extra packages will be installed:  libchm1The following NEW packages will be installed:  chmsee libchm10 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.Need to get 192 kB of archives.After this operation, 848 kB of additional disk space will be used.Do you want to continue [Y/n]? Am I correct that this happens only if The following NEW packages will be installed: line has other packages(probably dependencies) listed than the one(s) I specified as an argument to apt-get install?
When does apt-get install ask me to confirm whether I want to continue or not?
apt
From this Super User answer, the Do you want to continue? prompt appears when:Extra packages (besides those you asked to install - e.g. dependencies) will be installedEssential packages are to be removed. Essential here is defined as the minimal set of functionality that must be available and usable on the system at all times, even when packages are in an unconfigured (but unpacked) state. Packages are tagged essential for a system using the Essential control field.Changing a held packageIf you want apt-get to automatically say yes (not a very good idea unless you have a very specific reason), you can use --yes --force-yes parameter.