Comment 0 for bug 1968919

Revision history for this message
Robie Basak (racb) wrote :

Expected behaviour: no unnecessary prompts during do-release-upgrade
Actual behaviour: needrestart prompts during do-release-upgrade

Steps to reproduce:
lxc launch ubuntu:focal reproducer
lxc exec reproducer bash
apt-get update && apt-get -y upgrade # needrestart prompts, but that's expected
do-release-upgrade -d # needrestart prompts in the middle of this, and that's unexpected

do-release-upgrade recommends a system reboot after the upgrade is complete. So it's unnecessary to run needrestart and prompt the user for restarts while the upgrade is running.