On Tue, Nov 23, 2010 at 3:42 PM, Narendra Sisodiya
<[email protected]> 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

-- 
ubuntu-in mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in

Reply via email to