Closed juergh closed 2 years ago
Ping. Any comments on this PR?
Sorry for the long pending PR. Thanks!
I am currently using needrestart version 3.5-4 on Debian bullseye and are running into this issue when I am trying to upgrade several machines automatically. It seems that this fix did not make it into 3.6, is this correct? And if I may ask another question, is there some workaround in the meantime?
Thanks!
Edit: I found a workaround for my case, were I now run apt upgrade
over ssh without the -tt
flag, which causes needrestart to correctly detect that no PTY is available.
With DEBIAN_FRONTEND='noninteractive' NeedRestart::UI::stdio should not prompt for user input.
Fixes #129