Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Sometimes "apt-get install" asks me "Do you want to continue [Y/n]?":

root@T43:~# apt-get install chmsee
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
The following NEW packages will be installed:
  chmsee libchm1
0 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"?

share|improve this question
up vote 8 down vote accepted

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 installed
  • Essential 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 package

If 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.

share|improve this answer
However I don't recommend --force-yes unless you a) didn't need to ask this question in the first place or b) want a broken system on your hands. – bahamat Mar 31 '13 at 5:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.