2015-02-04 06:22:57 |
Marius Gedminas |
bug |
|
|
added bug |
2015-02-04 07:09:25 |
Marius Gedminas |
attachment added |
|
suggested patch https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1417880/+attachment/4311935/+files/fix-lp1417880.debdiff |
|
2015-02-04 08:29:28 |
Ubuntu Foundations Team Bug Bot |
tags |
amd64 apport-bug dist-upgrade trusty |
amd64 apport-bug dist-upgrade patch trusty |
|
2015-02-04 08:29:34 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2015-02-04 15:18:30 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu-release-upgrader |
|
2015-02-04 15:19:35 |
Michael Terry |
ubuntu-release-upgrader (Ubuntu): status |
New |
Fix Committed |
|
2015-02-04 15:23:19 |
Michael Terry |
nominated for series |
|
Ubuntu Trusty |
|
2015-02-04 15:23:19 |
Michael Terry |
bug task added |
|
ubuntu-release-upgrader (Ubuntu Trusty) |
|
2015-02-04 15:23:19 |
Michael Terry |
nominated for series |
|
Ubuntu Utopic |
|
2015-02-04 15:23:19 |
Michael Terry |
bug task added |
|
ubuntu-release-upgrader (Ubuntu Utopic) |
|
2015-02-04 15:48:29 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/vivid-proposed/ubuntu-release-upgrader |
|
2015-02-04 15:55:48 |
Michael Terry |
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) |
[Impact]
Users upgrading from 14.04 and 14.10 via the command line "do-release-upgrade" will not be able to do so unless they figure out that they need to press "y" and Enter (without the benefit of a prompt).
[Test Case]
On an affected system, run 'sudo do-release-upgrade'
When it asks if you want to continue doing this over SSH, the text ends with a blank line. If you press Enter at this point, only then will you get to see the prompt, which was
Continue? [yN]
but by then it's too late and you already chose "no" by pressing Enter.
[Regression Potential]
The patch itself is quite small, just flushing output whenever we prompt the user. Should be safe.
[Original Report]
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) |
|
2015-02-04 15:57:01 |
Michael Terry |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2015-02-04 15:57:05 |
Michael Terry |
bug |
|
|
added subscriber Michael Terry |
2015-02-04 15:57:13 |
Michael Terry |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2015-02-04 16:07:30 |
Launchpad Janitor |
ubuntu-release-upgrader (Ubuntu): status |
Fix Committed |
Fix Released |
|
2015-02-04 18:25:46 |
Chris J Arges |
ubuntu-release-upgrader (Ubuntu Trusty): status |
New |
Fix Committed |
|
2015-02-04 18:25:50 |
Chris J Arges |
bug |
|
|
added subscriber SRU Verification |
2015-02-04 18:25:53 |
Chris J Arges |
tags |
amd64 apport-bug dist-upgrade patch trusty |
amd64 apport-bug dist-upgrade patch trusty verification-needed |
|
2015-02-04 18:26:57 |
Chris J Arges |
ubuntu-release-upgrader (Ubuntu Utopic): status |
New |
Fix Committed |
|
2015-02-04 18:58:50 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/trusty-proposed/ubuntu-release-upgrader |
|
2015-02-04 18:58:51 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/utopic-proposed/ubuntu-release-upgrader |
|
2015-02-05 14:23:12 |
Michael Terry |
tags |
amd64 apport-bug dist-upgrade patch trusty verification-needed |
amd64 apport-bug dist-upgrade patch trusty verification-done-utopic verification-needed |
|
2015-02-05 21:17:54 |
Launchpad Janitor |
ubuntu-release-upgrader (Ubuntu Utopic): status |
Fix Committed |
Fix Released |
|
2015-02-12 09:06:05 |
Launchpad Janitor |
ubuntu-release-upgrader (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2015-02-12 16:50:21 |
Mathew Hodson |
tags |
amd64 apport-bug dist-upgrade patch trusty verification-done-utopic verification-needed |
amd64 apport-bug dist-upgrade patch trusty verification-done-utopic |
|