> probably involves some poking at the dpkg source code > to figure out if there is a config switch or a > environment variable to stop dpkg from showing this progress.
dpkg just does "isatty(1)", nothing fancy http://anonscm.debian.org/cgit/dpkg/dpkg.git/tree/lib/dpkg/progress.c > That sounds plausible, if systemd-cron runs the jobs inside a > pty that explains what you see. "systemd-run unattended-upgrades" will show the same behaviour, without needing to install systemd-cron. (this create a one-time service) I tried various tests, and isatty(1) allways returned the expected value. I can't find why isatty(1) doesn't work when called from u-u. #include <unistd.h> #include <stdio.h> int main() { printf("isatty(stdout) = %d\n", isatty(1)); fprintf(stderr, "isatty(stderr) = %d\n", isatty(1)); return 0; } root@antec:/home/tchet# ./a.out isatty(stdout) = 1 isatty(stderr) = 1 root@antec:/home/tchet# ./a.out > /dev/null isatty(stderr) = 0 root@antec:/home/tchet# ./a.out | cat isatty(stdout) = 0 isatty(stdout) = 0 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org