[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: unattended aptitude



Pierre Frenkiel:
> 
> Is there a way to run aptitude with "N" as automatic answer?
> May-be redirecting input from a file with several "N" lines ?

That might interfere with standard questions like the first question
that asks whether you actually want to install/upgrade the listed
packages. But if you get around that, you can use the tool "yes" for
that. If you pass "n" as the first argument, it will continuously print
that instead of "y":

aptitude | yes n

What a pity that you cannot use "yes no" :)

J.
-- 
If nightclub doormen recognised me I would be more fulfilled.
[Agree]   [Disagree]
                 <http://archive.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: Digital signature


Reply to: