A couple notes I think are worth adding:

1. One way to work around this is to set DEBIAN_FRONTEND=noninteractive
when running do-release-upgrade.

2. do-release-upgrade has the option to run completely non-
interactively. This means no y/N prompts etc. This is done by adding `-f
DistUpgradeViewNonInteractive` to the do-release-upgrade command line.

Anyways, I think we can set NEEDRESTART_MODE=a ('a' for automatic) by
default, and maybe set DEBIAN_FRONTEND=noninteractive by default for
DistUpgradeViewText. Currently, DistUpgradeViewText sets
DEBIAN_FRONTEND=dialog by default, but reading the git history I'm not
sure this is what was intended.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968919

Title:
  Spurious needrestart runs on do-release-upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-manual-tests/+bug/1968919/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to