Control: tags -1 + moreinfo
On Sat, 12 Mar 2016 18:18:31 +0700 Andanari P wrote:
[...]
> Dear Maintainer,
Hello Andanari,
thanks for using apt-listbugs!
>
> *** Reporter, please consider answering these questions, where appropriate ***
>
> * What led up to the situation?
> Having locale set to en_SG and running sudo apt-get install or apt-get upgrade
> * What exactly did you do (or not do) that was effective (or
> ineffective)?
> Changing locale to en_US produces no error
> * What was the outcome of this action?
> Can't set locale; make sure $LC_* and $LANG are correct!
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LANGUAGE = "",
> LC_ALL = (unset),
> LANG = "en_SG.UTF-8"
> are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> 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
First off, apt-listbugs is not written in Perl, but in Ruby.
Hence the Perl interpreter errors cannot come from the execution of
apt-listbugs. These errors must come from some other program (written in
Perl) that is executed during the "apt-get upgrade" run.
Please investigate and figure out which Perl script is spitting these
errors: you should probably report the bug against the package that
ships that Perl script, not against apt-listbugs.
Secondly, your locale setup does not look entirely correct.
If I try to set:
$ LANGUAGE=""
$ unset LC_ALL
$ LANG="en_SG.UTF-8"
I get no errors from apt-listbugs:
$ apt-listbugs list apt
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
serious bugs of apt (→ ) <Outstanding>
b1 - #815650 - apt: fails to upgrade squid3 from jessie to stretch
Summary:
apt(1 bug)
but I get some errors when issuing the "locale" command:
$ 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=en_SG.UTF-8
LANGUAGE=
LC_CTYPE="en_SG.UTF-8"
LC_NUMERIC="en_SG.UTF-8"
LC_TIME="en_SG.UTF-8"
LC_COLLATE="en_SG.UTF-8"
LC_MONETARY="en_SG.UTF-8"
LC_MESSAGES="en_SG.UTF-8"
LC_PAPER="en_SG.UTF-8"
LC_NAME="en_SG.UTF-8"
LC_ADDRESS="en_SG.UTF-8"
LC_TELEPHONE="en_SG.UTF-8"
LC_MEASUREMENT="en_SG.UTF-8"
LC_IDENTIFICATION="en_SG.UTF-8"
LC_ALL=
Please note that I haven't enabled en_SG.UTF-8 in /etc/locale.gen :
$ grep en_SG.UTF-8 /etc/locale.gen
# en_SG.UTF-8 UTF-8
Have you enabled this locale?
What's the output of the above quoted grep command on your system?
Please also note that, if you have manually enabled it (by removing the
comment symbol '#' from the corresponding line in /etc/locale.gen ),
you need to issue the "locale-gen" command (as root) afterwards.
I apologize, in case I am telling you obvious things you already know...
Anyway, I would set LANGUAGE="en_SG:en", although it won't probably
solve your issues.
I hope this helps you somehow.
Please let me know.
Bye.
--
http://www.inventati.org/frx/
There's not a second to spare! To the laboratory!
..................................................... Francesco Poli .
GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
pgpW_SRTtnOhY.pgp
Description: PGP signature

