David Wright wrote:
> 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).Which will be lost in a CI/CD environment because the VM image is ephemeral. BTW I've tried setting `sudo DEBIAN_FRONTEND=noninteractive apt-get -qqy --no-install-recommends install ...` and `sudo apt-get -qqy -o Dpkg::Use-Pty=0 ...` to no avail, the rubbish is still there. -- Victor Sudakov VAS4-RIPE http://vas.tomsk.ru/ 2:5005/49@fidonet
signature.asc
Description: PGP signature

