[Bug 1944475] Re: DistUpgradeViewNonInteractive is now interactive

Brian Murray 1944475 at bugs.launchpad.net
Tue Sep 21 21:57:19 UTC 2021


One way to fix it is in DistUpgradeFetcherCore.py by modifying
showReleaseNotes with an if statement at the beginning.

if '--frontend=DistUpgradeViewNonInteractive' in self.run_options:
    return True

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1944475

Title:
  DistUpgradeViewNonInteractive is now interactive

Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  With the change to show the release notes when using the "Text" view
  of the release upgrader (LP: #1925529) a yes / no question regarding
  upgrading is also displayed when using the NonInteractive view. This
  ends up making the upgrade process interactive and breaks automatic
  upgrade testing as seen in this log file:

  == More Information ==

  You can find out more about Ubuntu on the Ubuntu website and Ubuntu
  wiki.

    http://www.ubuntu.com/
    http://wiki.ubuntu.com/

  
  To sign up for Ubuntu development announcements, please
  subscribe to Ubuntu's development announcement list at:

    http://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-announce

  
  Continue [yN] auto-upgrade [13:48:19]: Rebooting the system.
  bash: line 1:   889 Killed                  /tmp/autopkgtest.u4eodP/build.JbM/real-tree/debian/tests/upgrade 2> >(tee -a /tmp/autopkgtest.u4eodP/upgrade-stderr >&2) > >(tee -a /tmp/autopkgtest.u4eodP/upgrade-stdout)
  autopkgtest: DBG: testbed command exited with code 137

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1944475/+subscriptions




More information about the foundations-bugs mailing list