I can repro a crash on 12.04 when LANG points to a non-installed locale: $ unset LANGUAGE LANG LC_ALL LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION $ lolcale No command 'lolcale' found, did you mean: Command 'locale' from package 'libc-bin' (main) lolcale: command not found
$ export LANG=uk_UA.utf8 $ locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=uk_UA.utf8 LANGUAGE= LC_CTYPE="uk_UA.utf8" LC_NUMERIC="uk_UA.utf8" LC_TIME="uk_UA.utf8" LC_COLLATE="uk_UA.utf8" LC_MONETARY="uk_UA.utf8" LC_MESSAGES="uk_UA.utf8" LC_PAPER="uk_UA.utf8" LC_NAME="uk_UA.utf8" LC_ADDRESS="uk_UA.utf8" LC_TELEPHONE="uk_UA.utf8" LC_MEASUREMENT="uk_UA.utf8" LC_IDENTIFICATION="uk_UA.utf8" LC_ALL= $ lolcale 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 After install Ukrainian support, it does work: $ sudo apt-get install language-pack-uk ... $ lolcale No command 'lolcale' found, did you mean: Command 'locale' from package 'libc-bin' (main) lolcale: command not found -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/395335 Title: General locale/gettext issues To manage notifications about this bug go to: https://bugs.launchpad.net/command-not-found/+bug/395335/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs