wurmlab / oswitch

Provides access to complex Bioinformatics software (even BioLinux!) in just one command.
76 stars 9 forks source link

ugly messages if locale badly defined? #7

Closed yannickwurm closed 9 years ago

yannickwurm commented 9 years ago

FYI I constantly get the following ugly messages during boiling install.

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_US.UTF-8=LANGUAGE=en_US:en LC_ALL=en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

In my normal shell I get following:

Yannick@Yannicks-MacBook-Pro ~> echo $LANG
en_GB.UTF-8
Yannick@Yannicks-MacBook-Pro ~> echo $LANGUAGE

Yannick@Yannicks-MacBook-Pro ~> echo $LC_ALL
yannickwurm commented 9 years ago

Note: this seems not to no longer be the case after clearing old baseimage (install currently in progress). Only recurring warning message is as to be expected:

debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
yeban commented 9 years ago

Yes. Not sure why, but the problem was gone after 319b884b8ea19b37138a7e432e5b39280254af9a I think.