Re: Using aptitude non-interactively
On Tue, Feb 08, 2005 at 05:39:00PM +0530, Deepak, R. wrote:
> I want to run aptitude in the background and install xserver-xfree86. So I
> do:
> aptitude --assume-yes install xserver-xfree86
> Then I <Ctrl-Z> and use "bg".
>
> There are two problems:
> 1. It continues printing the percentage completed.
> 2. How do I get it to ask the configuration questions at a later time?
> --
> Deepak, R. <http://research.iiit.ac.in/~masatran/>
>
Hi,
for Nr. 1, to suppress stdout and stderr, you could do
aptitude --assume-yes install xserver-xfree86 &> /dev/null &
though you do loose all output, so you might redirect to a file instead.
Andreas
Reply to: