perl: warning: Setting locale failed. (I have a 'mixed' locale)
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Unity8 Desktop Preview in LXC |
Undecided
|
Unassigned | ||
Bug Description
When I installed my ubuntu vivid I specified language english and keybord italian so I have a 'mixed' locale.
Running unity8-lxc-setup I have error messages from perl and when I try Unity8 LXC I have a black screen with jost a mouse arrow.
corrado@
#######
open: No such file or directory
not using seed file /var/lib/
Read /var/lib/
No relevent local data found - I will be downloading the whole file. If that's not what you want, CTRL-C out. You should specify the local file is the old version of the file to download with -i (you might have to decompress it with gzip -d first). Or perhaps you just have no data that helps download the file
downloading from http://
#######
verifying download...checksum matches OK
used 0 local, fetched 1089454425
Unpacking the ISO image...
Configuring the Unity8 LXC...
dget: retrieving http://
--2015-05-16 08:37:07-- http://
Resolving archive.ubuntu.com (archive.
Connecting to archive.ubuntu.com (archive.
HTTP request sent, awaiting response... 200 OK
Length: 40284 (39K) [application/
Saving to: ‘upstart-
upstart-
2015-05-16 08:37:08 (135 KB/s) - ‘upstart-
Starting the container
Switching to upstart...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
systemd-sysv ubuntu-standard
The following NEW packages will be installed:
upstart-sysv
0 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B/40.3 kB of archives.
After this operation, 57.3 kB of additional disk space will be used.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US",
LC_ALL = (unset),
LC_TIME = "it_IT.UTF-8",
LC_MONETARY = "it_IT.UTF-8",
LC_ADDRESS = "it_IT.UTF-8",
LC_TELEPHONE = "it_IT.UTF-8",
LC_NAME = "it_IT.UTF-8",
LC_MEASUREMENT = "it_IT.UTF-8",
LC_IDENTIFICATION = "it_IT.UTF-8",
LC_NUMERIC = "it_IT.UTF-8",
LC_PAPER = "it_IT.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 124954 files and directories currently installed.)
Removing ubuntu-standard (1.334) ...
Removing systemd-sysv (219-9ubuntu1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Selecting previously unselected package upstart-sysv.
(Reading database ... 124934 files and directories currently installed.)
Preparing to unpack .../upstart-
Unpacking upstart-sysv (1.13.2-0ubuntu13) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up upstart-sysv (1.13.2-0ubuntu13) ...
corrado@
| corrado venturini (corradoventu) wrote : | #1 |
| corrado venturini (corradoventu) wrote : | #2 |
For doc I attach:
/var/log/lightdm
and
~/.cache/
| Christopher Townsend (townsend) wrote : | #3 |
It seems your locale is still off. I think you need to set "LC_ALL=C" in order for this to work. Give that a try and see if it helps.
| corrado venturini (corradoventu) wrote : | #4 |
I'm unable to set "LC_ALL=C" may You help me?
thanks
corrado@
LANG=it_IT.UTF-8
LANGUAGE=it
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
corrado@
[sudo] password for corrado:
corrado@
LANG=it_IT.UTF-8
LANGUAGE=it
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
corrado@
corrado@
LANG=it_IT.UTF-8
LANGUAGE=it
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
corrado@
corrado@
LANG=it_IT.UTF-8
LANGUAGE=it
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
corrado@
| Sebastien Bacher (seb128) wrote : | #5 |
can you check if the "language-
| corrado venturini (corradoventu) wrote : | #6 |
after changing to LC_ALL=C (editing /etc/default/
LANG="en_US.UTF-8"
LC_NUMERIC=
LC_TIME=
LC_MONETARY=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
I also added deb http://
to /etc/apt/
done apt-get update, apt-get upgrade and install unity8
but unity8-lxc-setup terminates with an error:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
rerun apt-get update and unity8-lxc-setup ... same error
I attach the listing from:
apt-get update, apt-get upgrade and install unity8
unity8-lxc-setup
| corrado venturini (corradoventu) wrote : | #7 |
after apt-get update --fix-missing now unity8-lxc-setup --rebuild-all --redownload completed successfully. after reboot the unity8-lxc session started and seems working. I think this bug can be closed.
thanks for your help.
| Christopher Townsend (townsend) wrote : | #8 |
Great! Thanks for letting us know and thanks for keeping on trying to fix this. I was running out of ideas.
I'm closing Invalid meaning it's not a bug in unity8-lxc itself.
| Changed in unity8-preview-lxc: | |
| status: | New → Invalid |
| MV (mvidal) wrote : | #9 |
Same problem with a french 15.04 unity desktop ... but I'm not sure if the problem has been solved with "sudo apt-get update --fix-missing"
or
comment #5 "export LC_ALL=C"

I created a new intallation of vivid all in italian corrado- unity8: ~$ locale "it_IT. UTF-8" "it_IT. UTF-8" "it_IT. UTF-8" "it_IT. UTF-8" "it_IT. UTF-8" "it_IT. UTF-8" "it_IT. UTF-8" "it_IT. UTF-8" "it_IT. UTF-8" "it_IT. UTF-8" "it_IT. UTF-8" ON="it_ IT.UTF- 8" corrado- unity8: ~$
corrado@
LANG=it_IT.UTF-8
LANGUAGE=it
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
corrado@
reinstalled unity8-lxc and rerun sudo unity8-lxc-setup ... no problem with locale, installation ended successfully upstart/ unity8. log
reboot, select unity8-lxc ... long time ... no error messages ... system started ... BLUE screen without cursor.
power off to exit.
For doc I attach:
/var/log/lightdm
and
~/.cache/