You are not logged in.

#26 2015-09-23 16:43:50

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,896
Website

Re: [SOLVED] Can't log-in into Arch(tty)

Yes, chrooting won't work, so use pacman's -r flag.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#27 2015-09-23 16:44:03

ayekat
Member
Registered: 2011-01-17
Posts: 1,590

Re: [SOLVED] Can't log-in into Arch(tty)

WorMzy wrote:

Your next step would be to boot a liveCD and do a full system update (pacman -Syu) without chrooting in to your broken system (read up on pacman's '-r' flag for this purpose).

EDIT, too late.

Last edited by ayekat (2015-09-23 16:44:40)


pkgshackscfgblag

Offline

#28 2015-09-23 17:24:13

holycrap55
Member
Registered: 2015-09-23
Posts: 15

Re: [SOLVED] Can't log-in into Arch(tty)

WorMzy wrote:

Yes, chrooting won't work, so use pacman's -r flag.

Like this?

pacman -r /mnt/arch -Syu

Since I can't find much info about it.

Offline

#29 2015-09-23 17:44:22

holycrap55
Member
Registered: 2015-09-23
Posts: 15

Re: [SOLVED] Can't log-in into Arch(tty)

It worked!
Thanks a lot everyone here. I can't appreciate you guys enough!

Offline

#30 2015-09-24 17:56:29

fosskers
Member
Registered: 2012-02-21
Posts: 167
Website

Re: [SOLVED] Can't log-in into Arch(tty)

Just hit the same problem after an upgrade.

To elaborate on the solution:
Updating ncurses to v6 breaks everything that depends on it. You need to manually reinstall everything that depends on it (bash/fish especially, or you'll be rendered unable to login again). If you've already found yourself in this state, boot in through a live Arch CD/USB, and as mentioned by the OP before:

> mkdir /mnt/arch
> mount /dev/sda3 /mnt/arch   <-- careful here! Make sure it's the right partition number. `3` is correct for my system.
> arch-chroot /mnt/arch
> pacman -Syu ncurses lib32-ncurses bash <etc etc>

Unlike the OP, I did have to `arch-chroot` into my actual partition to make this work.

Last edited by fosskers (2015-09-24 17:57:41)


Author of Aura

Offline

#31 2015-09-24 18:53:14

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [SOLVED] Can't log-in into Arch(tty)

fosskers wrote:

Just hit the same problem after an upgrade.

To elaborate on the solution:
Updating ncurses to v6 breaks everything that depends on it. You need to manually reinstall everything that depends on it (bash/fish especially, or you'll be rendered unable to login again). If you've already found yourself in this state, boot in through a live Arch CD/USB, and as mentioned by the OP before:

> mkdir /mnt/arch
> mount /dev/sda3 /mnt/arch   <-- careful here! Make sure it's the right partition number. `3` is correct for my system.
> arch-chroot /mnt/arch
> pacman -Syu ncurses lib32-ncurses bash <etc etc>

Unlike the OP, I did have to `arch-chroot` into my actual partition to make this work.

Many things here that are slightly "off" -- and I think this thread (and multiple others) covered everything already (and correctly).

  • You only need to handle AUR (or otherwise unofficial) packages manually (bash/fish in the repos have been rebuilt for you).

  • If bash is broken by ncurses, you can't use arch-chroot like that (see #25 in this thread) unless you have a modified arch-chroot or modified /bin/sh. So you probably hit a different problem than the OP.

  • You wouldn't have to specify ncurses and bash unless you didn't have them installed before and that would definitely be a problem, but quite different than the one in this thread.

Offline

#32 2015-09-24 19:57:17

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,550
Website

Re: [SOLVED] Can't log-in into Arch(tty)

fosskers wrote:

Just hit the same problem after an upgrade.

And by "the same" you mean completely different?  Or did you accidentally post in the wrong thread.  In either case, this is not the place for it, and this thread is solved and thus done and can be closed.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB