When using apt
from "dumb" terminal (this is a code word for Emacs), it produces many lines of garbage output (it probably tries to display progress, but it doesn't work on this kind of terminal).
The same happens if I try to save this information to a file, which blows up the logs contributing no useful information.
Thus, is there a way to prevent apt
from producing garbled output?
I've seen the SO question asking for the opposite, and I think that this behavior is new. So, if the version is important, it is: apt 1.4.6 (amd64)
sudo apt install -y foo > /dev/null 2> /dev/null
– Panther Sep 17 '17 at 14:17apt
trying to display the progress of the download. – wvxvw Sep 18 '17 at 05:24