gdebi CLI: can't confirm installation in non-english environment

Bug #577140 reported by Yuriy Vidineev
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gdebi (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: gdebi

I want to install package with CLI version of gdebi (for example, skype). In Russian translation i have this:

sudo gdebi skype-ubuntu-intrepid_2.1.0.81-1_amd64.deb
....
Вы хотите установить этот пакет? [д/Н]д

I type "д" (Да - yes in Russian), but installation was aborted. Any symbol (not matter, in Russian or in English) abort the installation.
But when i do

LANG=C sudo gdebi skype-ubuntu-intrepid_2.1.0.81-1_amd64.deb
and then type "y" - installation was fine

On Karmic gdebi cli works like a charm.

P.S. Sorry for my English

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gdebi 0.6.0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
Architecture: amd64
Date: Fri May 7 23:55:23 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100310)
PackageArchitecture: all
ProcEnviron:
 LANG=ru_RU.utf8
 SHELL=/bin/bash
SourcePackage: gdebi

Revision history for this message
Yuriy Vidineev (adeptg) wrote :
description: updated
Revision history for this message
Jonathan Gibert (jokot3) wrote :

I can confirm the same behavior in french.

$sudo gdebi mysql-workbench-oss-5.2.21-1ubu1004-amd64.deb
...snip...
Voulez-vous installer le paquet logiciel ? [o/N] :o

--> won't work (with any character)

LC_ALL=C sudo gdebi mysql-workbench-oss-5.2.21-1ubu1004-amd64.deb
...snip...
Do you want to install the software package? [y/N]:y

--> works

Changed in gdebi (Ubuntu):
status: New → Confirmed
Rolf Leggewie (r0lf)
summary: - gdebi CLI: can't confirm installation in Russian translation
+ gdebi CLI: can't confirm installation in non-english environment
Rolf Leggewie (r0lf)
Changed in gdebi (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Could you please try applying this patch?

tags: added: patch
Changed in gdebi (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gdebi - 0.6.4ubuntu1

---------------
gdebi (0.6.4ubuntu1) natty; urgency=low

  [ Luca Falavigna ]
  * GDebi/GDebiCli.py: try to determine correct localized value for "Y"
    answer by parsing first value located into square brackets instead
    of relying on an hardcoded value (Closes: #605147) (LP: #577140).

  [ Michael Vogt ]
  * debian/control:
    - recommend on libgtk2-perl instead of libgnome2-perl
 -- Michael Vogt <email address hidden> Fri, 17 Dec 2010 15:29:16 +0100

Changed in gdebi (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.