New installation of Artix
Ran pacman -Syy
Then ran pacman -S openssh
Tried to run sshd with /etc/init.d/sshd start and received the following error:
"sshd |/usr/bin/ssh-keygen: /usr/lib/libc.so.6: version 'GLIBC_2.36' not found (required by /usr/bin/ssh-keygen)"
pacman -Qs glibc
only shows
local/glibc 2.35-6
...
local/lib32-glibc 2.35-6
...
How can I install a previous version of openssh, or how can glibc be updated to the latest version? How do situations like this arise and how often is it? Any steps I should know to avoid it? Thanks
This is a partial upgrade. Of course it won't work. Pacman doesn't support this. What you should do is a
full upgrade first. pacman -Syu
That's probably just a typo, I was going off memory. Is there a way to see and verify what version of glibc Artix is supposed to be on?
Why are you so sure it's a typo? What you described is exactly what happens if you do a partial upgrade. Artix is on glibc 2.36. You can just do a search with "pacman -Ss glibc" or so.
Because I followed an installation guide, having come from Debian. I can't check at the moment unfortunately, as that computer's at work, and I can't ssh in
just loaded a random listed .iso and its on 23.5-6, so unfortunately the install was not updated post installation (which is always good practice with anything linux, and pretty much essential with a rolling release (Arch, Artix, Suse tumbleweed etc)).
As an aside, the first time i used a rolling release (not Artix), I installed everything i thought i needed, restarted and promptly broke the lot. ;)