[Bug 1572416] Re: do-release-upgrade crashes in Greek locale

Steve Langasek steve.langasek at canonical.com
Thu Apr 21 23:25:35 UTC 2016


** Description changed:

- I tried `do-release-upgrade -d` on an up to date 14.04 system, with
- Greek locale=el_GR.UTF-8.
+ [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. At the end of the install when packages are listed as no longer supported by Canonical, confirm that the Continue prompt shows 'Continue [yN]' instead of the expected 'Continue [νΟ]'.
+ 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) 'ν<enter>' and confirm that the upgrade removes the obsolete packages.
+ 9. On a fresh Ubuntu 14.04 install, get a root shell in a terminal.
+ 10. Run 'apt install language-pack-el'
+ 11. Run 'LANG=el_GR.UTF-8 do-release-upgrade -d -p'
+ 12. Confirm that the upgrader is shown in Greek.
+ 13. At the end of the install when packages are listed as no longer supported by Canonical, confirm that the Continue prompt shows 'Continue [νΟ]'.
+ 14. Hit '<enter> and confirm that the upgrade continues, without removing obsolete packages.
+ 
+ 
+ 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://paste.ubuntu.com/15941779/.
  
  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-release-upgrader-core 1:0.220.8
  ProcVersionSignature: Ubuntu 3.13.0-85.129-generic 3.13.11-ckt36
  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)
  PackageArchitecture: all
  ProcEnviron:
-  LANGUAGE=el
-  TERM=xterm
-  PATH=(custom, no user)
-  LANG=el_GR.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=el
+  TERM=xterm
+  PATH=(custom, no user)
+  LANG=el_GR.UTF-8
+  SHELL=/bin/bash
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to trusty on 2016-04-20 (0 days ago)

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

Title:
  do-release-upgrade crashes in Greek locale

Status in ubuntu-release-upgrader package in Ubuntu:
  In Progress
Status in ubuntu-release-upgrader source package in Xenial:
  In Progress
Status in ubuntu-release-upgrader source package in y-series:
  Fix Committed

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. At the end of the install when packages are listed as no longer supported by Canonical, confirm that the Continue prompt shows 'Continue [yN]' instead of the expected 'Continue [νΟ]'.
  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) 'ν<enter>' and confirm that the upgrade removes the obsolete packages.
  9. On a fresh Ubuntu 14.04 install, get a root shell in a terminal.
  10. Run 'apt install language-pack-el'
  11. Run 'LANG=el_GR.UTF-8 do-release-upgrade -d -p'
  12. Confirm that the upgrader is shown in Greek.
  13. At the end of the install when packages are listed as no longer supported by Canonical, confirm that the Continue prompt shows 'Continue [νΟ]'.
  14. Hit '<enter> and confirm that the upgrade continues, without removing obsolete packages.

  
  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://paste.ubuntu.com/15941779/.

  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-release-upgrader-core 1:0.220.8
  ProcVersionSignature: Ubuntu 3.13.0-85.129-generic 3.13.11-ckt36
  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)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=el
   TERM=xterm
   PATH=(custom, no user)
   LANG=el_GR.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to trusty on 2016-04-20 (0 days ago)

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



More information about the foundations-bugs mailing list