Post #2746932
2026-05-06 17:03 UTC
@grifferz@social.bitfolk.com but is the version flag mandatory? Otherwise the warning would still apply .
Replies (1)
-
@grifferz@social.bitfolk.com 2026-05-06 19:55
@mxey@hachyderm.io Yes it's mandatory. But the only time you see that warning is if the output it not a tty anyway, so you would already be doing something extra, oot@debtest1:~# apt clean | cat WARNING: apt does not have a stable CLI interface. Use with caution in scripts. root@debtest1:~# apt --cli-version 3 clean | cat root@debtest1:~#