You are not logged in.

#1 2012-09-01 22:18:26

languitar
Member
Registered: 2010-06-20
Posts: 10
Website

[solved] Where did /etc/profile.d/locale.sh go?

Hi,

I just did a major upgrade of my desktop computer and after struggling with all the changes to rc.conf and the new config files ended up with a system, where my locale settings were completely broken. In the end it seems to boil down to the fact that no package provides /etc/profile.d/locale.sh anymore and hence the chosen locale from /etc/locale.conf is not assigned to my users.

Does anyone know whether this is intentional or just a transitional issue?

Cheers,
Johannes

Last edited by languitar (2012-09-01 23:07:21)

Offline

#2 2012-09-01 22:27:25

matse
Member
Registered: 2011-04-27
Posts: 276

Re: [solved] Where did /etc/profile.d/locale.sh go?

Did you do a full system update (-Syu)?

$ pacman -Qo /etc/profile.d/locale.sh 
/etc/profile.d/locale.sh is owned by filesystem 2012.8-1

Greetings
matse

Offline

#3 2012-09-01 22:31:50

languitar
Member
Registered: 2010-06-20
Posts: 10
Website

Re: [solved] Where did /etc/profile.d/locale.sh go?

Yes, I did:

languitar@bird ~ $ sudo pacman -Syyuu
:: Synchronizing package databases...
 core                                                                                                                       106.9 KiB   610K/s 00:00 [############################################################################################] 100%
 extra                                                                                                                     1419.7 KiB   723K/s 00:02 [############################################################################################] 100%
 community                                                                                                                 1768.7 KiB   724K/s 00:02 [############################################################################################] 100%
 multilib                                                                                                                    92.1 KiB   587K/s 00:00 [############################################################################################] 100%
 archlinuxfr                                                                                                                 31.3 KiB   463K/s 00:00 [############################################################################################] 100%
:: Starting full system upgrade...
 there is nothing to do
languitar@bird ~ $ sudo pkgfile -u
:: Updating 5 repos...
  multilib is up to date                                                                               
  community is up to date                                                                              
  core is up to date                                                                                   
  extra is up to date                                                                                                                                                                                                                                   
  archlinuxfr is up to date                                               
languitar@bird ~ $ sudo pkgfile /etc/profile.d/locale.sh
languitar@bird ~ $ yaourt -Qs filesystem
extra/cifs-utils 5.6-2
    CIFS filesystem user-space tools
extra/convmv 1.15-1
    Tool for converting encodings on filesystems
core/e2fsprogs 1.42.5-1 (base)
    Ext2/3/4 filesystem utilities
core/filesystem 2012.8-1 (base)
    Base filesystem

Last edited by languitar (2012-09-01 22:32:50)

Offline

#4 2012-09-01 22:34:04

matse
Member
Registered: 2011-04-27
Posts: 276

Re: [solved] Where did /etc/profile.d/locale.sh go?

what's your version of filesystem - and is your pkgfile database up to date?

$ pkgfile locale.sh
core/filesystem

//Edit: try reinstalling filesystem... maybe you unintentionally deleted locale.sh yourself?
//Edit2: oh and don't forget this when you use pkgfile with full path:

Note that full paths in the search database do not begin with a /.

Last edited by matse (2012-09-01 22:40:20)

Offline

#5 2012-09-01 23:07:07

languitar
Member
Registered: 2010-06-20
Posts: 10
Website

Re: [solved] Where did /etc/profile.d/locale.sh go?

That's weird, I tried reinstalling several times and never ended up with the locale.sh being on my disk. Now after a restart it worked immediately. No idea what this was.

Thanks for the help and the hint with pkgfile.

Offline

#6 2012-10-03 04:57:14

pakun
Member
Registered: 2012-10-03
Posts: 2

Re: [solved] Where did /etc/profile.d/locale.sh go?

Thank you matse, reinstall filesystem solved this problem for me.

matse wrote:

Did you do a full system update (-Syu)?

$ pacman -Qo /etc/profile.d/locale.sh 
/etc/profile.d/locale.sh is owned by filesystem 2012.8-1

Greetings
matse

Offline

Board footer

Powered by FluxBB