[ubuntu-in] Fwd: sudo ap-get install with (y/n) ?
Sanjay Bhangar
sanjaybhangar at gmail.com
Tue Nov 23 13:50:23 GMT 2010
On Tue, Nov 23, 2010 at 3:42 PM, Narendra Sisodiya
<narendra at narendrasisodiya.com> wrote:
>
>
> 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.
Not sure I understand your question correctly, but:
sudo apt-get -y install expect
the -y option will make it so it does not ask y/n question and assumes y.
hth,
Sanjay
> PS: I am doing some automation work where I need such feature
More information about the ubuntu-in
mailing list