You are not logged in.
Crap!
While trying to install erlang and elixir on my remote server, I started receiving this error when trying to sudo -i:
bash: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
Tried reinstalling from pacman, and it said the xz file was corrupted, do I want to remove it? Ok.
Went around in circles trying to install from pacman and yaourt for 5 minutes, and then came back to it after disconnecting, and now I can't even SSH into my server as I get the error above. WELP.
Not sure what to do if I can't even SSH in!?
Offline
Short answer: don't do partial updates.
If you have another way into the system (e.g. web-based KVM), try using that; you'll probably need to boot into a liveCD environment to fix your mess though. Otherwise, you're going to have to restore from a backup, or get whoever has physical access to the remote system to do this for you.
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
Say I have access to the file system via a rescue live cd (non-arch), how would I go about fixing this up?
Offline
There are probably a few ways - but the shortest would be to downgrade any packages you upgraded in the partial upgrade (using the approach here) then do a proper system upgrade, just as I recently described in another thread.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline