You are not logged in.

#1 2012-03-05 16:36:22

ubertaco
Member
Registered: 2011-04-19
Posts: 23

[SOLVED] Locale and env variables broken after pacman -Syu

After a pacman -Syu on my work laptop on Friday, everything seemed fine.

Booting it up today, lightdm and awesome were both broken.

So I reinstalled them -- no big deal.

Now my locale is all messed up (or at least, unicode in all terminals has ceased working, and locale-gen no longer seems to exist on my system) and my environment is not being properly set at login (that is,  neither my "~/.profile" nor my "~/.xinitrc" is sourced by lightdm).

Pastebinned update log:

http://pastebin.com/LvcKikN5

any help in undoing what pacman broke would be appreciated so that I can resume normal work.

Last edited by ubertaco (2012-03-06 21:19:21)

Offline

#2 2012-03-05 16:39:35

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [SOLVED] Locale and env variables broken after pacman -Syu

Lightdm never used .xinitrc, unless you modified its config. Take a look at /etc/lightdm/PostLogin instead.

Edit: spelling

Last edited by swanson (2012-03-05 16:40:06)

Offline

#3 2012-03-05 16:45:07

ubertaco
Member
Registered: 2011-04-19
Posts: 23

Re: [SOLVED] Locale and env variables broken after pacman -Syu

It looks like the PATH variable, at least, is just broken for all users -- I've still got "locale-gen", but root cannot exec anything from sbin without the full pathname (which to me says that user environments are screwed up).

This is consistent with the broken user environment for my normal user; I have in ~/.profile and ~/.xinitrc the following:

export PATH="$PATH:$HOME/bin"

and it doesn't seem to be working for the session as a whole (although individual terminals work).

Further, terminals are incapable of displaying UTF-8 characters.

I'm not sure what the latest update broke, but it'd be nice if there was at least a news item about it.

Offline

#4 2012-03-06 21:19:07

ubertaco
Member
Registered: 2011-04-19
Posts: 23

Re: [SOLVED] Locale and env variables broken after pacman -Syu

Marking this as solved -- in the end, the problem is that I was using LightDM, which messes up PATH for all users.

I've switched to LXDM, and everything is working more smoothly.

Offline

Board footer

Powered by FluxBB