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

6
  • “can't login” isn’t a problem report usable for experts. Commented Sep 19, 2015 at 9:38
  • @IncnisMrsi better?
    – magic-sudo
    Commented Sep 19, 2015 at 9:50
  • 1
    Has your OS a ready-to-use emergency/recovery mode? Even if it hasn’t, playing with kernel boot parameters in the bootloader, one can say the kernel to run at the s (single user mode) runlevel, or even without a genuine init (init=/bin/bash). Then examine the root file system for damage. Commented Sep 19, 2015 at 10:08
  • @IncnisMrsi i have added two images.
    – magic-sudo
    Commented Sep 19, 2015 at 11:27
  • It seems you have something really, really wrong with your shared libraries. What did you do prior to this happening?
    – Chris Down
    Commented Sep 19, 2015 at 11:33

2 Answers 2

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
1
  • I have fixed it :) but thanks :) .
    – magic-sudo
    Commented Sep 21, 2015 at 19:25
-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.

4
  • 1
    Linking the two together is unlikely to work properly because the two libraries have different binary interfaces. Commented Nov 14, 2015 at 12:11
  • 1
    If you need nurses 5, use the AUR version
    – StrongBad
    Commented Nov 14, 2015 at 15:50
  • Ignore what I previously wrote about xterm input being messed up. I had recompiled xterm ages ago with some... let's just say experimental modifications, left it in /usr/local/bin, and forgot about it. Upon moving that binary elsewhere, xterm is absolutely fine.
    – Keiji
    Commented Nov 14, 2015 at 20:38
  • and do a pacman -Syu after that. Commented Dec 7, 2015 at 17:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .