[Bug 1417880] [NEW] Invisible prompts in do-release-upgrade

Marius Gedminas marius at gedmin.as
Wed Feb 4 06:22:57 UTC 2015


Public bug reported:

I'm upgrading an Ubuntu 14.04 LTS system to 14.10 over ssh with 'sudo
do-release-upgrade'.

When it asks me if I want to continue doing this over SSH, the text ends
with a blank line.  If I press Enter at this point, only then I get to
see the prompt, which was

    Continue?  [yN]

but by then it's too late and I already chose "no".

The same thing happens if I restart, go past this prompt (without seeing
it), then ask for details about package removals/upgrades/installs.  I
get a list of packages in a pager.  When I quit (by pressing q) I should
once more see the prompt asking me if it's okay and if I should proceed,
or cancel, or see the details again.  But the prompt isn't there and
doesn't appear until after I input my answer.

I think there's a missing sys.stdout.flush() call somewhere in do-
release-upgrade.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubuntu-release-upgrader-core 1:0.220.6
ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
Uname: Linux 3.13.0-39-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: amd64
CrashDB: ubuntu
Date: Wed Feb  4 08:16:03 2015
InstallationDate: Installed on 2012-11-02 (823 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to trusty on 2015-02-04 (0 days ago)

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


** Tags: amd64 apport-bug dist-upgrade trusty

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

Title:
  Invisible prompts in do-release-upgrade

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

Bug description:
  I'm upgrading an Ubuntu 14.04 LTS system to 14.10 over ssh with 'sudo
  do-release-upgrade'.

  When it asks me if I want to continue doing this over SSH, the text
  ends with a blank line.  If I press Enter at this point, only then I
  get to see the prompt, which was

      Continue?  [yN]

  but by then it's too late and I already chose "no".

  The same thing happens if I restart, go past this prompt (without
  seeing it), then ask for details about package
  removals/upgrades/installs.  I get a list of packages in a pager.
  When I quit (by pressing q) I should once more see the prompt asking
  me if it's okay and if I should proceed, or cancel, or see the details
  again.  But the prompt isn't there and doesn't appear until after I
  input my answer.

  I think there's a missing sys.stdout.flush() call somewhere in do-
  release-upgrade.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: ubuntu-release-upgrader-core 1:0.220.6
  ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
  Uname: Linux 3.13.0-39-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: amd64
  CrashDB: ubuntu
  Date: Wed Feb  4 08:16:03 2015
  InstallationDate: Installed on 2012-11-02 (823 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to trusty on 2015-02-04 (0 days ago)

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



More information about the foundations-bugs mailing list