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

Re: apt-get -qq install



On Tue 02 Aug 2022 at 18:27:22 (+0000), Victor Sudakov wrote:
> I'm trying to quiet apt's output by using `apt-get -qqy` in a CI/CD
> pipeline, however I still see ugly stuff like this in my CI/CD log:
> 
> Selecting previously unselected package php-common.
> (Reading database ... 
> (Reading database ... 5%
[ … ]
> 
> and this:
> 
> Scanning processes... [                                                        ]
> Scanning processes... [=                                                       ]
[ … ]
> 
> Don't you think the `-qq` modifier should spare me these things? 
> 
> I don't actually like the idea of redirecting apt-get's output to
> /dev/null because I want to see the list of packages installed, but without
> these pseudographics. Do you think it's possible? Any ideas?

The packages installed and the terminal output are logged in
/var/log/apt/{history,term}.log respectively (which I never rotate).

Cheers,
David.


Reply to: