Comment 4 for bug 1968919

Revision history for this message
Nick Rosbrook (enr0n) wrote :

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.