[Bug 1993184] [NEW] Error messages lost with "do-release-upgrade --frontend=DistUpgradeViewNonInteractive"

R. Diez 1993184 at bugs.launchpad.net
Mon Oct 17 14:29:58 UTC 2022


Public bug reported:

I just tried to upgrade my Ubuntu 20.04.5 to 22.04.1 with:

do-release-upgrade --frontend=DistUpgradeViewNonInteractive

I wanted a non-interactive upgrade because the repeated prompting makes
the process take a long time (I wasn't looking at the terminal the whole
time).

The non-interactive upgrade failed straight away. The reason was that
there was not enough space in the /boot partition/mountpoint, so I had
to manually remove some older Linux kernels (not so intuitive).

The problem with the command above is that the error message about the
lack of enough disk space under /boot was not shown. Apparently, the
DistUpgradeViewNonInteractive frontend hides such error messages. There
wasn't even an indication of an error, the upgrade processs just
stopped. I saw the error message when I ran "do-release-upgrade" without
the --frontend argument.

Option "--frontend=DistUpgradeViewNonInteractive" should not interfere
with such error messages.

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/1993184

Title:
  Error messages lost with "do-release-upgrade
  --frontend=DistUpgradeViewNonInteractive"

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

Bug description:
  I just tried to upgrade my Ubuntu 20.04.5 to 22.04.1 with:

  do-release-upgrade --frontend=DistUpgradeViewNonInteractive

  I wanted a non-interactive upgrade because the repeated prompting
  makes the process take a long time (I wasn't looking at the terminal
  the whole time).

  The non-interactive upgrade failed straight away. The reason was that
  there was not enough space in the /boot partition/mountpoint, so I had
  to manually remove some older Linux kernels (not so intuitive).

  The problem with the command above is that the error message about the
  lack of enough disk space under /boot was not shown. Apparently, the
  DistUpgradeViewNonInteractive frontend hides such error messages.
  There wasn't even an indication of an error, the upgrade processs just
  stopped. I saw the error message when I ran "do-release-upgrade"
  without the --frontend argument.

  Option "--frontend=DistUpgradeViewNonInteractive" should not interfere
  with such error messages.

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




More information about the foundations-bugs mailing list