retitle 793672 DPkg::Post-Invoke hook output gets slightly messed up when using progress bar reassign 793672 apt thanks
Hey, I believe that this issue is not limited to how-can-i-help, but it will actually mess up any output coming from DPkg::Post-Invoke hook. Sample script that outputs a few line of text during post-invoke: /etc/apt/apt.conf.d/99outputest: DPkg{Post-Invoke {"echo '1st line\n2nd line\n3rd line\n4th line'";};}; When run with progress bar, progress bar output will corrupt the script output. What's interesting, is that when run for the first time, it will work fine. Only second and subsequent calls will corrupt output (this also applies to how-can-i-help output corruption from the original report). BTW, Nowadays, you can simply run 'apt ...' instead of setting 'pkg::Progress-Fancy'. Regards, T.
signature.asc
Description: OpenPGP digital signature