Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: user9849 on 03 November 2022, 20:35:47

Title: Fresh installation of Artix, can't run sshd because GLIBC_2.36 not found
Post by: user9849 on 03 November 2022, 20:35:47
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)"

Title: Re: Fresh installation of Artix, can't run sshd because GLIBC_2.36 not found
Post by: user9849 on 03 November 2022, 20:43:06
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
Title: Re: Fresh installation of Artix, can't run sshd because GLIBC_2.36 not found
Post by: Dudemanguy on 03 November 2022, 22:04:38
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
Title: Re: Fresh installation of Artix, can't run sshd because GLIBC_2.36 not found
Post by: user9849 on 03 November 2022, 22:15:24
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?
Title: Re: Fresh installation of Artix, can't run sshd because GLIBC_2.36 not found
Post by: Dudemanguy on 03 November 2022, 22:38:52
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.
Title: Re: Fresh installation of Artix, can't run sshd because GLIBC_2.36 not found
Post by: user9849 on 03 November 2022, 23:14:22
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
Title: Re: Fresh installation of Artix, can't run sshd because GLIBC_2.36 not found
Post by: gavincc on 04 November 2022, 13:44:47
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.   ;)