Gnome-terminal won't run after update

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 ?

Perhaps see:

2 Likes

yeah that seems to solve the problem. Also i dont know if it is case sensitive but it seems that the loacle conf had en_us.utf8 instead of en_US.UTF-8

This solved it for me.

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


manjaro% pacman -Qm
icu67 67.1-1
iscan-plugin-gt-f720 2.30.4-2
pepper-flash 32.0.0.465-1
system76-driver 20.04.24-1
system76-firmware-daemon 1.0.21-1
manjaro%

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.

OK, that’s got it. I had a weird response to running sudo edit /etc/locale.gen (blank file), so I did it with sudo vim and it’s fixed and works.

Thx
Reid

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.

Not obvious to me. So I appreciate you telling me. I was unaware of this need to type in locale-gen in sudo. I did this and it fixed it.

Thanks for the tip guys! This also fixed my problem. I edited “/etc/locale.gen” and run the command ‘locale-gen’ after that and all is good now!

I had the same problem on a completely fresh install of Manjaro yesterday.
No Gnome terminal right out of the box

All I’ve got in locale.conf is:

LANG=en_GB.UTF-8
LC_COLLATE=C

I tried changing it to UTF8, but it doesn;t make a difference.
Seriously, this stuff shouln’t happen on a fresh install

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

1 Like

THANK YOU!! I didn’t know I had to run the locale-gen command. Thanks everyone :slight_smile:

I had this problem as well and editing the /etc/locale.gen file and commenting the local allowed me to open the terminal again.

you didn’t need to run
sudo locale-gen
afterwards as well?
… just saying - because that step is not just important - it is crucial

Yes i did run that command as well.

just wanted to make sure
for people who might read this (your comment) … a year from now

1 Like