You are not logged in.

#1 2012-08-06 18:26:00

mFixman
Member
Registered: 2011-09-12
Posts: 22

Problems after updating glibc

I just returned from a two-month vacation to an unupdated Arch computer. After -Syu'ing, X doesn't boot. Can anyone help me solve the problem?

I read about the glibc updates, ignored that package when updating, and rebooted my computer for no real reason. After that I was stuck in the terminal without being able to enter X.

I successfully updated glibc later (after having to move some old modules from /lib to /usr/lib), but I still can't make X work.

This is my Xorg.log.

As a bonus, some other programs aren't working correctly. For example, elinks just prints

> elinks: error while loading shared libraries: /lib/libnspr4.so: file too short



And closes, while pacman works correctly but prints this lengthy error message.

Offline

#2 2012-08-06 20:33:39

omgwtfbbq
Member
Registered: 2012-08-06
Posts: 12

Re: Problems after updating glibc

I did the exact same thing today: ignore glibc and then reboot, experiencing that x doesn't work. My issue was eventually solved by running the arch boot cd.

I mounted my root device in /mnt

Then I renamed lib to libbak and ran

pacman -Sur /mnt glibc

If you have your var directory on a different partition be sure to mount it as well (e.g. in /vmnt) and specifiy your pacman database like this

pacman -Sur /mnt -b /vmnt/lib/pacman glibc

This solution is adapted from here.

I hope this helps to solve this for you. This took me a lot more time than I want to admit.

Offline

#3 2012-08-08 22:17:02

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,534

Re: Problems after updating glibc

mFixman wrote:

I just returned from a two-month vacation to an unupdated Arch computer. After -Syu'ing, X doesn't boot. Can anyone help me solve the problem?

I read about the glibc updates, ignored that package when updating, and rebooted my computer for no real reason. After that I was stuck in the terminal without being able to enter X.

I successfully updated glibc later (after having to move some old modules from /lib to /usr/lib), but I still can't make X work.

This is my Xorg.log.

As a bonus, some other programs aren't working correctly. For example, elinks just prints

> elinks: error while loading shared libraries: /lib/libnspr4.so: file too short



And closes, while pacman works correctly but prints this lengthy error message.

You need to reinstall some stuff possibly after the glibc upgrade, says so in the wiki.  But for libnspr, you need to reinstall nspr.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB