command-not-found crashing when LANG is set incorrectly

Bug #926569 reported by Michael Basse
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
command-not-found (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

command-not-found is crashing when setting LANG incorrectly

michael@eeebuntu:~$ LANG=en
michael@eeebuntu:~$ vii foo
Sorry, command-not-found has crashed! Please file a bug report at:
https://bugs.launchpad.net/command-not-found/+filebug
Please include the following information with the report:

command-not-found version: 0.2.44
michael@eeebuntu:~$

the correct LANG would be LANG=en_EN.UTF-8

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: command-not-found 0.2.46ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-12.21-generic 3.2.2
Uname: Linux 3.2.0-12-generic i686
ApportVersion: 1.91-0ubuntu1
Architecture: i386
Date: Sat Feb 4 10:50:28 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110426)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 LANG=de
 SHELL=/bin/bash
SourcePackage: command-not-found
UpgradeStatus: Upgraded to precise on 2011-12-04 (61 days ago)

Revision history for this message
Michael Basse (michael-alpha-unix) wrote :
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

confirmed here

Changed in command-not-found (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Scott Ritchie (scottritchie) wrote :

You can also replicate this on a very-bare install that has no language packs at all.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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