[ubuntu-in] Fwd: sudo ap-get install with (y/n) ?

Kingsly John member+ubuntu at kingsly.net
Wed Nov 24 06:29:25 GMT 2010

+++ Narendra Sisodiya [2010-11-23 19:12:56]:

> Sometimes when i want to install some package, it do not ask for y/n question
> before installation. It happens when I try to install package with do not
> have dependency. 
> for example - 
> sudo apt-get install expect
> Do no ask for y/n type of question.

sudo aptitude -P install expect

> PS: I am doing some automation work where I need such feature

Curious about how forcing a "manual" prompt helps with "automation"? :-)


     Kingsly At Users Dot SourceForge Dot Net  -- http://kingsly.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-in/attachments/20101124/77ad9df2/attachment.pgp 

More information about the ubuntu-in mailing list