do-release-upgrade crashes in Greek locale
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
High
|
Steve Langasek | ||
Xenial |
Fix Released
|
High
|
Steve Langasek | ||
Yakkety |
Fix Released
|
High
|
Steve Langasek |
Bug Description
[SRU Justification]
Wrong translations and wrong behavior of upgrader
[Regression potential]
Code changes are specific to an input function used at one specific point in the upgrader and should be very testable.
[Test case]
1. On Ubuntu 14.04, get a root shell in a terminal.
2. Run 'apt install language-pack-el'
3. Run 'LANG=el_GR.UTF-8 do-release-upgrade -d'
4. Confirm that the upgrader is shown in Greek.
5. When prompted whether or not to upgrade, confirm that the Continue prompt shows 'Συνἑχεια [yN]' instead of the expected 'Συνἑχεια [νΟ]'.
6. Type 'y<enter>' and see that the input is ignored and the prompt redisplayed.
7. Hit '<enter>' and see that the input is ignored and the prompt redisplayed.
8. Type (or cut and paste) 'ν<backspace>
9. Reset the environment by running sudo mv /etc/apt/
10. Run 'LANG=el_GR.UTF-8 do-release-upgrade -p'
11. Confirm that the upgrader is shown in Greek.
12. When prompted whether or not to upgrade, confirm that the Continue prompt shows 'Συνἑχεια [νΟ]'.
13. Type (or cut and paste) 'ν<backspace>
14. Run 'LANG=el_GR.UTF-8 do-release-upgrade -p' again.
15. Confirm that the upgrader is shown in Greek.
16. Type (or cut and paste) 'ν<enter>' and confirm that the upgrade proceeds.
I tried `do-release-upgrade -d` on an up to date 14.04 system, with Greek locale=el_GR.UTF-8.
I got notified that some packages are no longer supported by Canonical, and then I got this prompt:
Continue [yN] λεπτομέρειες [λ]
λεπτομέρειες means details.
I tried pressing [λ] and I got the (hopefully attached) crash. If it's not attached, I also uploaded it to http://
Then it restarted the upgrade process and it got to the same prompt. At that point, [λ] worked and showed me the no-longer supported packages,
but y/n didn't work at all, so I couldn't continue.
I pressed Ctrl+C to abort the upgrade process,
but now `do-release-upgrade -d` tells me there's no new distribution available to upgrade to, possibly because it's checking my just-broken sources.list...
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 3.13.0-85-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
CrashDB: ubuntu
Date: Wed Apr 20 08:52:43 2016
InstallationDate: Installed on 2015-01-29 (446 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64+mac (20140722.2)
PackageArchitec
ProcEnviron:
LANGUAGE=el
TERM=xterm
PATH=(custom, no user)
LANG=el_GR.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-
UpgradeStatus: Upgraded to trusty on 2016-04-20 (0 days ago)
Related branches
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | New → In Progress |
Changed in ubuntu-release-upgrader (Ubuntu Xenial): | |
assignee: | nobody → Steve Langasek (vorlon) |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in ubuntu-release-upgrader (Ubuntu Xenial): | |
status: | Fix Committed → In Progress |
description: | updated |
Changed in ubuntu-release-upgrader (Ubuntu Xenial): | |
status: | In Progress → Fix Released |
On the fourth try, I did manage to get it to continue by pressing "ν", which is the Greek letter for "y", Yes.
"ο" which is the Greek letter for "N", No, also worked.
So to sum up the bugs I saw:
1) [Enter] should work and select the default choice when the prompt is "[yN]". It didn't; it prompt me again.
2)
a) The code is wrong, it should support both the English letters (y/n) and the localized ones (ν/ο).
b) OR, the translation is wrong and it shouldn't list the English letters.
3) Ctrl+C didn't revert my sources.list.
4) The initial crash while pressing "λ".