TristanDee |
02-20-2015 04:56 AM |
Can confirmation be bypassed in CLI while installing software or upgrading?
I don't know why I want this, but is there a way the
Code:
sudo aptitude install <package>
or
Code:
sudo aptitude upgrade
command could bypass the confirmation stage? It's always occurred to me shouldn't there be some command parameter for install/upgrade that does the work?
Let me give an example. Suppose I want to install Variety, the wallpaper changing application. Now, I know that I want to install the software with all the dependencies it requires to install/run - the entire package. So, isn't it obvious that I would press Y when aptitude shows the info what it's going to download/install and asks for permission?
I can't, however, imagine scenarios when seeing that information I'd change my mind and press N to abort the install/upgrade procedure.
|