2

My problem is that I can't login. If I try to loggin with correct username and password it doesn't do anything. I have error message on boot failed to create static device Nodes in /dev . This happened after sudo pacman -Sy xterm and restart of the system. My kernel version is 4.1.6-1-ARCH

This is not my image but by this I mean loggin session.enter image description here. enter image description hereenter image description here

2 Answers2

4

Libncurses was recently updated from /usr/lib32/libncursesw.so.5 to /usr/lib32/libncursesw.so.6. There would have been a matching bash update, but you don't have it.

In fact, I just found this in my own pacman.log:

[2015-09-19 23:45] [ALPM] upgraded ncurses (5.9-7 -> 6.0-3)
[2015-09-19 23:45] [ALPM] upgraded readline (6.3.008-1 -> 6.3.008-3)
[2015-09-19 23:45] [ALPM-SCRIPTLET] /usr/bin/bash: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
[2015-09-19 23:45] [ALPM] upgraded bash (4.3.042-1 -> 4.3.042-3)

This is why you should update everything or nothing.

You should get a LiveCD, mount the drive, and do the updates like this:

pacman --root=/path/to/mounted/root -Suy
ams
  • 5,807
  • 1
  • 20
  • 27
-1

I had this exact same issue after doing a full system upgrade.

Installing the updates with pacman --root=/mnt -Syu as described by "ams" did not resolve the problem for me; instead I had to symlink the library, i.e.

cd /usr/lib
ln -s libncursesw.so.6 libncursesw.so.5

However, after doing this, I can't run gnome-terminal (I have this issue: gnome-terminal stopped working). That's probably not related to the ncurses issue, though.

Keiji
  • 391