有时“ apt-get install”会问我"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:
libchm1
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]?
我是否正确,只有"The following NEW packages will be installed:"
在行中列出了除我指定为参数的包之外的其他包(可能是依赖项)时,这种情况才会发生"apt-get install"
吗?
--force-yes
您这样做,除非您a)首先不需要提这个问题,或者b)希望系统损坏。