hallo
ich quäle mich nun schon seit geraumer zeit damit herum, finde immer wieder artikel aber keiner hilft. ich habe das problem, dass jedesmal bei apt-get upgrade dieser fehler erscheint:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "â
LC_ALL = (unset),
LANG = "â
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 directoryjetzt kann ich z.b. den kill_mldonkey befehl nicht ausführen; genau die selbe meldung
locale sieht so aus bei mir:
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=â
LANGUAGE=â
LC_CTYPE="â
LC_NUMERIC="â
LC_TIME="â
LC_COLLATE="â
LC_MONETARY="â
LC_MESSAGES="â
LC_PAPER="â
LC_NAME="â
LC_ADDRESS="â
LC_TELEPHONE="â
LC_MEASUREMENT="â
LC_IDENTIFICATION="â
LC_ALL=bei
dpkg-reconfigure locales
dasselbe, hier wird aufgelistet:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "â
LC_ALL = (unset),
LANG = "â
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
Generating locales...
de_AT.UTF-8en_HK.UTF-8 UTF-8... up-to-date
de_BE.UTF-8... up-to-date
de_CH.UTF-8... up-to-date
de_DE.ISO-8859-1... up-to-date
de_DE.ISO-8859-15... up-to-date
de_DE.UTF-8... up-to-date
de_DE.ISO-8859-15@euro... up-to-date
de_LU.UTF-8... up-to-date
en_AU.UTF-8... up-to-date
en_BW.UTF-8... up-to-date
en_CA.UTF-8... up-to-date
en_DK.UTF-8... up-to-date
en_GB.UTF-8... up-to-date
en_IE.UTF-8... up-to-date
en_IN.UTF-8... up-to-date
en_NZ.UTF-8... up-to-date
en_PH.UTF-8... up-to-date
en_SG.UTF-8... up-to-date
en_US.UTF-8... up-to-date
en_ZA.UTF-8... up-to-date
en_ZW.UTF-8... up-to-date
Generation complete.und bei
dpkg-reconfigure localeconf
habe ich de_DE@euro ISO-8859-15 ausgewählt
in
/etc/environment
siehts so aus:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games" LANG="de_DE@euro" LANGUAGE="de_DE@euro" ### BEGIN DEBCONF SECTION FOR localeconf # Do not edit within this region if you want your changes to be preserved # by debconf. Instead, make changes before the "### BEGIN DEBCONF SECTION # FOR localeconf" line, and/or after the "### END DEBCONF SECTION FOR # localeconf" line. LANG=de_DE@euro ### END DEBCONF SECTION FOR localeconf
bei
set-language-env -E
habe ich 5 (Deutsch) und 4 (Switzerland) eingegeben. den rest mit J quittiert
vim ~/.bashrc
sieht so aus:
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
#export HISTCONTROL=ignoredups
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "$debian_chroot" -a -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color)
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
;;
*)
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
;;
esac
# Comment in the above and uncomment this below for a color prompt
#PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"'
;;
*)
;;
esac
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
#if [ -f ~/.bash_aliases ]; then
# . ~/.bash_aliases
#fi
# enable color support of ls and also add handy aliases
if [ "$TERM" != "dumb" ]; then
eval "`dircolors -b`"
alias ls='ls --color=auto'
#alias dir='ls --color=auto --format=vertical'
#alias vdir='ls --color=auto --format=long'
fi
# some more ls aliases
#alias ll='ls -l'
#alias la='ls -A'
#alias l='ls -CF'
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
#if [ -f /etc/bash_completion ]; then
# . /etc/bash_completion
#fiich bin etwas ratlos, sorry für den riesigen beitrag, ich dachte einfach ich poste mal alles ☺
grüsse musicman