News:

SMF - Just Installed!

Main Menu

Change 'apt' and 'apt-get' language

Started by mahesh, Oct 09, 2023, 07:20 AM

Previous topic - Next topic

mahesh

Hello. I installed Kubuntu 21.04, specified timezone for Russia, and also added russian keyboard layout. But i didnt want any russian locales in my system.
My apt and apt-get commands output info in russian language and i need everything in en_US.
My
     Code:
locale
output is:
     Code:
LANG=en_US.UTF-8
LANGUAGE=en_US:en_US:ru
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=
So I think i need to get rid of LANGUAGE=en_US:en_US:ru

Here https://wiki.archlinux.org/title/loc...llback_locales said that it can be declared in locale.conf.
I created it
     Code:
touch /etc/locale.confand put there:
     Code:
LANGUAGE=en_US:en_US:enRebooted system and nothing changed:
LANGUAGE=en_US:en_US:ru

My /etc/default/locale :
# File generated by update-locale
     Code:
LANG=en_US.UTF-8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LANGUAGE=en_US:en_US
I did
     Code:

sudo update-locale LANG=LANG=en_US.UTF-8 LANGUAGE
 sudo dpkg-reconfigure locales
None of these helps. Help me please.