using this : sudo pacman-mirrors -f 5 sudo pacman -Syyuu
did not help. it says synchronising packages and then there is nothing to do
i have the same output after entering pacman -Qi gnome-terminal icu lib32-icu | grep Version
Version : 3.38.2-1
Version : 68.2-1
Version : 68.2-1
and gnome terminal still wont launch any idea on what to do ?
Hi team -
I also lost access to gnome-terminal. I’ve read through the above. Not sure what to make of it. I’m only kinda-sorta technical, but there’s the output from my system of all the requested info. Your thoughts welcome. BTW…I installed a different terminal program to generate this output.
Thx
RSV869
manjaro% gnome-terminal
Locale not supported by C library.
Using the fallback ‘C’ locale.
Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached
manjaro% pacman -Qi gnome-terminal icu lib32-icu | grep Version
Version : 3.38.2-1
Version : 68.2-1
Version : 68.2-1
manjaro%
manjaro% 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_US.utf8
LC_CTYPE=“en_US.utf8”
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE=C
LC_MONETARY=en_US.UTF-8
LC_MESSAGES=“en_US.utf8”
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=
manjaro% bashtop
locale: Cannot set LC_CTYPE to default locale: No such file or directory
ERROR: No UTF-8 locale found!
manjaro%
anjaro% ls -l /etc/locale*
-rw-r–r-- 1 root root 29 Jan 20 11:33 /etc/locale.conf
-rw-r–r-- 1 root root 9984 Feb 5 19:09 /etc/locale.gen
manjaro% sudo edit /etc/locale.gen
[sudo] password for rsv2:
manjaro% more /etc/local.gen
more: cannot open /etc/local.gen: No such file or directory
I had the same problem today. I’m just starting at linux, don’t mess around very much. I’ve been using Ubuntu for the last 2 years and switched to Manjaro 2 weeks ago, everything was working fine. Today I updated (pacman -Syu) and my gnome terminal broke. Fortunately, this thread was already around and the solution was already shown above: update the “locale.gen”
Maybe this has been happening to other people?
Thanks to everyone who replied this and the other topic!
Hopefully if anybody else is effected, they will see this post.
I just did a massive update and now when I click on Gnome Terminal, it just spins but won’t open. I’ve had to install Pantheon terminal to have access. I have tried to reinstall it in Pamac.
BTW, I have edited the locale.gen file to not have a “#” in from of en_US.UTF-8 and restarted. Still no joy. BTW, the ‘solution’ listed above was from a previous forum that I had started and it didn’t help me. I had ended up reinstalling my OS that night instead, due to other complications unrelated to this. That reinstall solved my problem not the locale.gen correction mentioned above.
P.S. When I type in locale into Pantheon terminal I get the following errors:
manjaro% 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_US.utf8
LC_CTYPE=“en_US.utf8”
LC_NUMERIC=“en_US.utf8”
LC_TIME=“en_US.utf8”
LC_COLLATE=C
LC_MONETARY=“en_US.utf8”
LC_MESSAGES=“en_US.utf8”
LC_PAPER=“en_US.utf8”
LC_NAME=“en_US.utf8”
LC_ADDRESS=“en_US.utf8”
LC_TELEPHONE=“en_US.utf8”
LC_MEASUREMENT=“en_US.utf8”
LC_IDENTIFICATION=“en_US.utf8”
LC_ALL=
I’m sorry for being overcareful, but when you say “restarted” you mean running, with sudo, the command “locale-gen” after altering the “/etc/locale.gen” file, correct? Again, I apologize if I’m being annoying but sometimes we miss obvious things.
I’ve had this issue as well. I’ve opened a TTY, uncommented the locales I needed on /etc/locale.gen and then generated the locales with sudo locale-gen. All I had was C and POSIX on locale -a.
What @neilvilela said is the way to do it.
If you have no working terminal - go to a TTY
and edit /etc/locale.gen - remove the # in front of the locales you want to have.
for example: sudo nano /etc/locale.gen
Save the file and run sudo locale-gen
Alternatively, you could use this command to append the locale to the end of the file without needing to edit it: sudo echo "en_GB.UTF-8 UTF-8" >> /etc/locale.gen
then, in both cases: sudo locale-gen
to actually generate the locales
How this could have happened to so many people (the forum is full with this issue) is a mystery to me.
The locales where already set and generated - but somehow they got removed during that update.
It did not happen to everyone - just to some, Gnome and KDE users, as far as I could see.
I’m a MacBook Pro user, so using UK Macintosh
Maybe it’s just an issue for certain languages/locales like that
There usually is a quick fix but is it any wonder why Linux is not adopted widely? It’s not just about available software… it’s about shit like this happening to noobs who then get a sour taste about Linux in their mouth that possibly never goes away