[Bug 1941716] Re: Apt hook of needrestart can with DEBIAN_FRONTEND=noninteractive

2021-08-26 Thread Robie Basak
Upstream bug: https://github.com/liske/needrestart/issues/129 Upstream PR (wontfix): https://github.com/liske/needrestart/pull/168 Cherry-picked by xnox in 3.5-4ubuntu2: https://git.launchpad.net/~usd-import-team/ubuntu/+source/needrestart/commit/?id=66c0350190f01ee471cf0f74ed07686fd3df196d ** Bu

[Bug 1941716] Re: Apt hook of needrestart can with DEBIAN_FRONTEND=noninteractive

2021-08-26 Thread Robie Basak
Your suggestion will work for the noninteractive case but not for any other case where debconf is being adjusted - for example when requesting critical prompts only and that kind of thing. I wonder if it's possible to use debconf itself for the prompt so that it will automatically comply with what