While creating a snap, I kept getting an error like: locale: Cannot set LC_ALL to default locale: No such file or directory.

In my snapcraft.yaml, I added locales to build-packages but no luck.

I tried $ snap run --shell mysnap and the first line is a warning:

bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.