FS#76452 - openssh dependency error

Attached to Project: Arch Linux
Opened by Sebastian Tobie (stop50) - Sunday, 06 November 2022, 17:07 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 06 November 2022, 17:42 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
when running ssh i get the error below:
OpenSSL version mismatch. Built against 30000070, you have 30200000

Additional info:
openssl: 3.0.7-2
openssh: 9.1p1-3

Steps to reproduce:
$ ssh
OpenSSL version mismatch. Built against 30000070, you have 30200000
This task depends upon

Closed by  Antonio Rojas (arojas)
Sunday, 06 November 2022, 17:42 GMT
Reason for closing:  Not a bug
Comment by Morten Linderud (Foxboron) - Sunday, 06 November 2022, 17:11 GMT
What AUR packages do you have with regards to openssl and/or openssh?

This error should imply you are running an AUR package instead of repository package.
Comment by Doug Newgard (Scimmia) - Sunday, 06 November 2022, 17:21 GMT
what does `type -a ssh` give you?
Comment by Sebastian Tobie (stop50) - Sunday, 06 November 2022, 17:31 GMT
$ type -a ssh
ssh is /usr/bin/ssh
ssh is /bin/ssh
im using openssh and openssl from the core repo im currently not interested in breaking my system.
$ LANG=C.UTF-8 LANGUAGE=en pacman -Qi openss{h,l}
Name : openssh
Version : 9.1p1-3
Description : SSH protocol implementation for remote login, command execution and file transfer
Architecture : x86_64
URL : https://www.openssh.com/portable.html
Licenses : custom:BSD
Groups : None
Provides : None
Depends On : glibc krb5 libkrb5.so=3-64 libgssapi_krb5.so=2-64 ldns libedit libxcrypt libcrypt.so=2-64 openssl pam libpam.so=0-64 zlib
Optional Deps : libfido2: FIDO/U2F support [installed]
x11-ssh-askpass: input passphrase in X [installed]
xorg-xauth: X11 forwarding [installed]
Required By : gcr gcr-4 gnome-keyring mosh
Optional For : openmpi
Conflicts With : None
Replaces : None
Installed Size : 4,22 MiB
Packager : Evangelos Foutras <foutrelis@archlinux.org>
Build Date : Di 01 Nov 2022 21:29:32 CET
Install Date : So 06 Nov 2022 11:10:34 CET
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature

Name : openssl
Version : 3.0.7-2
Description : The Open Source toolkit for Secure Sockets Layer and Transport Layer Security
Architecture : x86_64
URL : https://www.openssl.org
Licenses : Apache
Groups : None
Provides : libcrypto.so=3-64 libssl.so=3-64
Depends On : glibc
Optional Deps : ca-certificates [installed]
perl [installed]
Required By : coreutils cryptsetup curl gdal git gst-plugins-bad kmod ldns lib32-openssl libarchive libevent libfido2 libgit2 libp11 libsasl libshout libssh libssh2 libzip lynx mariadb-libs mosh nextcloud-client nodejs openssh opusfile ostree
postgresql postgresql-libs ppp python rsync ruby ruffle-nightly-bin sane sbsigntools socat sqlcipher srt starship sudo systemd tpm2-pkcs11 tpm2-tools tpm2-tss wpa_supplicant xmlsec
Optional For : None
Conflicts With : None
Replaces : openssl-perl openssl-doc
Installed Size : 10,69 MiB
Packager : Pierre Schmitz <pierre@archlinux.de>
Build Date : Di 01 Nov 2022 19:21:33 CET
Install Date : So 06 Nov 2022 11:10:29 CET
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
Comment by Doug Newgard (Scimmia) - Sunday, 06 November 2022, 17:33 GMT
how about `lddtree /usr/bin/ssh`, then. lddtree is part of the pax-utils package.
Comment by Sebastian Tobie (stop50) - Sunday, 06 November 2022, 17:35 GMT
$ lddtree /usr/bin/ssh | sed 's/ /-/g'
/usr/bin/ssh (interpreter => /lib64/ld-linux-x86-64.so.2)
-libcrypto.so.3 => /usr/lib/libcrypto.so.3
-libldns.so.3 => /usr/lib/libldns.so.3
--libssl.so.3 => /usr/lib/libssl.so.3
-libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2
--libkrb5.so.3 => /usr/lib/libkrb5.so.3
--libk5crypto.so.3 => /usr/lib/libk5crypto.so.3
--libcom_err.so.2 => /usr/lib/libcom_err.so.2
--libkrb5support.so.0 => /usr/lib/libkrb5support.so.0
--libkeyutils.so.1 => /usr/lib/libkeyutils.so.1
--libresolv.so.2 => /usr/lib/libresolv.so.2
-libz.so.1 => /usr/lib/libz.so.1
-libc.so.6 => /usr/lib/libc.so.6
Comment by Doug Newgard (Scimmia) - Sunday, 06 November 2022, 17:41 GMT
The version string it says you have should be from openssl 3.2. I was figuring you may be loading library from somewhere else that's newer, but it appears to be loading from /usr/lib/. Maybe it got overwritten by something? Try reinstalling openssl.
Comment by Antonio Rojas (arojas) - Sunday, 06 November 2022, 17:41 GMT
openssh is ok, the problem is that you have some unsupported openssl version installed somewhere. Use the support channels for help if you can't figure it out.

Loading...