Comment 0 for bug 1417880

Revision history for this message
Marius Gedminas (mgedmin) wrote :

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)