> >>> import apt
> >>> c=apt.Cache()
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Building data structures... Done
>
> With the current lucid version this isn't so chatty, but doesn't output
> anything. This now causes a lot of screen garbage on stdout (and
> incidentally also breaking the jockey tests because they don't expect
> so much output). Is that really intended? Can it be silenced somehow
> with an argument to Cache()?
pass apt.progress.base.OpProgress() as the first argument. But IIRC, the behavior should be the same as previously, maybe just on a different output stream
> >>> import apt
> >>> c=apt.Cache()
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Building data structures... Done
>
> With the current lucid version this isn't so chatty, but doesn't output
> anything. This now causes a lot of screen garbage on stdout (and
> incidentally also breaking the jockey tests because they don't expect
> so much output). Is that really intended? Can it be silenced somehow
> with an argument to Cache()?
pass apt.progress. base.OpProgress () as the first argument. But IIRC, the behavior should be the same as previously, maybe just on a different output stream