David Christensen wrote: > >>> > >>> (Un)fortunately this is a CI/CD pipeline, the VM and its data will be > >>> gone forever after the build. Unless I care to keep apt output as an > >>> artifact somewhere which is IMHO an overkill. I just want an concise > >>> CI/CD log without interactive bells and whistles like progress > >>> indicators. > >> > >> > >> Without seeing your CI/CD pipeine -- create a patterns file containing > >> regular expressions that match the lines you want removed, then add a > >> grep(1) filter into the pipeline: > > > > Of course I can think of many workarounds. The original question was > > however why "-qq" was not working and what I was missing in "apt" > > usage. > > > You're right -- I made no attempt to figure out why apt(8) apparently > does not implement proper "quiet", "real-quiet", etc., options. > > > Call it pragmatism. I've been down plenty of rabbit holes trying to > trouble-shoot software; and I expect apt(8) is non-trivial. How many > hours have you and others spent on this issue? The link Davidson has provided shows that many people have spent some time on it since 2009. > Have you found the > "correct" solution? Using grep(1) in a command pipeline to filter out > unwanted lines is a known technique. It took me a few minutes to write > the example, and it works. Yes, I think I'll have to resort to a workaround once it's now clear that this is a bug. I just don't like the idea of creating a workaround when there is an official way to do something, but this is clearly not the case. -- Victor Sudakov VAS4-RIPE http://vas.tomsk.ru/ 2:5005/49@fidonet
Attachment:
signature.asc
Description: PGP signature