Skip to main content
Topic: Fresh installation of Artix, can't run sshd because GLIBC_2.36 not found (Read 598 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Fresh installation of Artix, can't run sshd because GLIBC_2.36 not found

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)"


Re: Fresh installation of Artix, can't run sshd because GLIBC_2.36 not found

Reply #1
Code: [Select]
pacman -Qs glibc
only shows

Code: [Select]
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

Re: Fresh installation of Artix, can't run sshd because GLIBC_2.36 not found

Reply #2
New installation of Artix
Ran pacman -Syy
Then ran pacman -S openssh

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

Re: Fresh installation of Artix, can't run sshd because GLIBC_2.36 not found

Reply #3
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?

Re: Fresh installation of Artix, can't run sshd because GLIBC_2.36 not found

Reply #4
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.

Re: Fresh installation of Artix, can't run sshd because GLIBC_2.36 not found

Reply #5
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

 

Re: Fresh installation of Artix, can't run sshd because GLIBC_2.36 not found

Reply #6
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.   ;)