You are not logged in.

#1 2018-04-25 21:41:07

Tharbad
Member
Registered: 2016-02-27
Posts: 333

[SOLVED] Lost my locales after glibc update

Hi,

I see in pacman log the following lines:

[2018-04-24 23:48] [ALPM] upgraded glibc (2.26-11 -> 2.27-2)
[2018-04-24 23:48] [ALPM-SCRIPTLET] Generating locales...
[2018-04-24 23:48] [ALPM-SCRIPTLET] Generation complete.

My locale-gen file was all commented off so my locales were discarded.

Was that intentional?

Last edited by Tharbad (2018-04-26 15:40:42)

Offline

#2 2018-04-25 21:52:53

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Lost my locales after glibc update

Do you have any NoExtract entries in your /etc/pacman.conf?

If so then there have been a few recent threads about the issue.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2018-04-25 21:57:19

Tharbad
Member
Registered: 2016-02-27
Posts: 333

Re: [SOLVED] Lost my locales after glibc update

No. Commented out.

Offline

#4 2018-04-25 22:28:39

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [SOLVED] Lost my locales after glibc update

Is there /etc/locale.gen.pacnew on the system?  If /etc/locale.gen did not exist during the upgrade the default all commented out /etc/locale.gen would have been installed.
If /etc/locale.gen did exist then pacman would create /etc/locale.gen.pacnew as /etc/locale.gen is in the glibc PKGBUILD backup array.

Offline

#5 2018-04-25 23:21:20

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] Lost my locales after glibc update

Tharbad wrote:

My locale-gen file was all commented off so my locales were discarded.

Was that intentional?

I don't know whether it was intentional that your locale.gen file was all commented off.

But it seems pretty intuitive to me, that after locale-gen removed outdated, possibly incompatible locales, it read your locale.gen, generated new locales for the zero uncommented locales, and exited successfully. The fact that there were zero locales to generate is hardly its fault.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#6 2018-04-26 15:40:23

Tharbad
Member
Registered: 2016-02-27
Posts: 333

Re: [SOLVED] Lost my locales after glibc update

loqs wrote:

Is there /etc/locale.gen.pacnew on the system?  If /etc/locale.gen did not exist during the upgrade the default all commented out /etc/locale.gen would have been installed.
If /etc/locale.gen did exist then pacman would create /etc/locale.gen.pacnew as /etc/locale.gen is in the glibc PKGBUILD backup array.

There was no pacnew. I checked for them sometimes.

Oh well. Unless anyone else raise a flag, it's probably some pacnew I missed.

Offline

#7 2018-04-26 15:44:58

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [SOLVED] Lost my locales after glibc update

Only other explanation I can think of is you when your merged /etc/locale.gen.pacnew into /etc/locale.gen previously
you effectively copied the contents of the .pacnew across leaving all entries commented out.

Offline

Board footer

Powered by FluxBB