You are not logged in.
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
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)
Offline
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
It worked!
Thanks a lot everyone here. I can't appreciate you guys enough!
Offline
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
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
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