package aptitude dpkg
block 537333 by 539617
severity 537333 wishlist
thanks

On 2009-07-17 09:03 +0200, Vladimir Stavrinov wrote:

> Package: aptitude
> Version: 0.4.11.11-1+b1
> Severity: normal
>
>
>
> Here is quote from man page:
>
>        -q[=<n>], --quiet[=<n>]
>            Suppress all incremental progress indicators, thus making the 
> output loggable. This may be supplied multiple times to make the
>            program quieter, but unlike apt-get, aptitude does not enable -y 
> when -q is supplied more than once.
>
>            The optional =<n> may be used to directly set the amount of 
> quietness (for instance, to override a setting in
>            /etc/apt/apt.conf); it causes the program to behave as if -q had 
> been passed exactly <n> times.
>
>
> But with any number of this option I see in log file something like this:
>
> 3 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B/345kB of archives. After unpacking 0B will be used.
> (Reading database ... ^M(Reading database ... 5%^M(Reading database ... 
> 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database 
> ... 25%^M(Reading database ... 30%^M(Reading database ... 35%^M(Reading 
> database ... 40%^M(Reading database ... 45%^M(Reading database ... 
> 50%^M(Reading database ... 55%^M(Reading database ... 60%^M(Reading database 
> ... 65%^M(Reading database ... 70%^M(Reading database ... 75%^M(Reading 
> database ... 80%^M(Reading database ... 85%^M(Reading database ... 
> 90%^M(Reading database ... 95%^M(Reading database ... 100%^M^M(Reading 
> database ... 86745 files and directories currently installed.)

These messages are actually coming from dpkg (the progress indicator was
added in dpkg 1.15.0), and there is currently no way to suppress them if
standard output is a terminal.  There is a wishlist bug (#539617)
against dpkg to add an option to not display it.  Once a version of dpkg
that supports this option is in stable, "aptitude -q" could be changed
to invoke dpkg in such a way.

Cheers,
       Sven



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to