You are not logged in.

#1 2025-02-19 21:22:05

navi_se
Member
Registered: 2015-07-06
Posts: 139

Upgrading an old install

I have run a pacman -Syu but something has gone wrong.

Running

sudo pacman -Syu

Brings a

Error while loading share libraries: libcrypto.so.1.1 cannot open shared object file: no such file or directory.

I tried to fetch the openssl package and extract it into /usr/lib/ but the extraction fails.

System is still on and connected to internet and I'd like to salvage it without rebooting and using a usb key, I'm a bit rusty since it's been five years or so using Linux and would appreciate any guidance.

Offline

#2 2025-02-19 21:33:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,175

Re: Upgrading an old install

Did you do partial updates? If not are you in a "venv" environment like conda or so? Exit the conda environment, do not add conda to your shell init files, only start it on demand. maybe throw in

printenv

Offline

#3 2025-02-19 21:48:30

navi_se
Member
Registered: 2015-07-06
Posts: 139

Re: Upgrading an old install

I don't think I have, I might be mistaken, but I thought I only did pacman -Syu. I'm not in a virtual environment. This is a arch install running on a hp computer using xmonad.

Offline

#4 2025-02-20 00:54:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,175

Re: Upgrading an old install

printenv
ldd /usr/bin/pacman

pacman should not be resolving that old of a cryptolib, so something about your environment is broken.

Offline

#5 2025-02-21 13:22:18

navi_se
Member
Registered: 2015-07-06
Posts: 139

Re: Upgrading an old install

Sorry for formatting typing from mobile

ldd /usr/bin/pacman)

linux-vdso.so.1 (0x00007ffe81d85000)
libalpm.so.13 => /usr/lib/libalpm.so.13 (0x00007fa2147cd000)
libarchive.so.13 => /usr/lib/libarchive.so.13 (0x00007fa21470e000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007fa214548000)
libgpgme.so.11 => /usr/lib/libgpgme.so.11 (0x00007fa2144fa000)
libcurl.so.4 => /usr/lib/libcurl.so.4 (0x00007fa21446c000)
libcrypto.so.1.1 => not found
libacl.so.1 => /usr/lib/libacl.so.1 (0x00007fa21445f000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007fa21442f000)
liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007fa214407000)
libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007fa21435d000)
liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007fa21433b000)
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007fa214326000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007fa214300000)
ld-linux-x86-64.so.2 (0x00007fa214878000)
libassuan.so.0 => /usr/lib/libassuan.so.0 (0x00007fa21427f000)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007fa2142d5000)
libnghttp2.so.14 => /usr/lib/libnghttp2.so.14 (0x00007fa2142c8000)
libidn2.so.0 => /usr/lib/libidn2.so.0 (0x00007fa2142a0000)
libssh2.so.1 => /usr/lib/libssh2.so.1 (0x00007fa214284000)
libssl.so.1.1 => not found
libcrypto.so.1.1 => not found
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007fa2141e7000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007fa2140fd000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007fa2140c4000)
libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x00007fa2140be000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fa21409c000)
libattr.so.1 => /usr/lib/libattr.so.1 (0x00007fa214095000)
libunistring.so.2 => /usr/lib/libunistring.so.2 (0x00007fa213f13000)
libssl.so.1.1 => not found
libcrypto.so.1.1 => not found
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007fa213f02000)
libkeyutils.so.1 => /usr/lib/libkeyutils.so.1 (0x00007fa213e60000)
libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007fa213edd000)

printenv

SHELL=/bin/bash
WINDOWID=12582921
COLORTERM=rxvt
HISTSIZE=10000
GTK_MODULES=canberra-gtk-module
XDG_SEAT=seat0
PWD=/media/data/GIT
QUOTE_STYLE=literal
LOGNAME=gls
XDG_SESSION_TYPE=x11
WINDOWPATH=2
HOME=/home/gls
LANG=en_US.UTF-8
XDG_CURRENT_DESKTOP=XMONAD
PROMPT_COMMAND=printf '\033]0;%s@%s:%s\007' "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"
history -a; history -c; history -r
XDG_SESSION_CLASS=user
TERM=rxvt-unicode-256color
USER=gls
COLORFGBG=default;0
VISUAL=vim
SHLVL=1
DISPLAY=:0
XDG_VTNR=2
XDG_SESSION_ID=7
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
XDG_RUNTIME_DIR=/run/user/1000
QUOTING_STYLE=literal
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
XDG_TOUCHPAD=0
HISTIGNORE=&:ls:ll:cd:1:la1s:[bfgl:exit]
HISTFILESIZE=20000
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
MAIL=/var/spool/mail/gls
_= /usr/bin/printenv
OLDPWD=/media/data

Offline

#6 2025-02-21 16:41:24

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,175

Re: Upgrading an old install

Mhm

type -a pacman
pacman --version
/usr/bin/pacman --version
ls -lR /usr/local

Offline

#7 2025-02-23 17:30:29

navi_se
Member
Registered: 2015-07-06
Posts: 139

Re: Upgrading an old install

Here is the folder, I've done manually since there are some folders that recursively give me too much output and I have to transcribe this

GIT @Sandramek $ ls -l /usr/local/
total 64
drwxr-xr-x  2 root root  4096 Feb 14  2019 bin
drwxr-xr-x  2 root root  4096 Sep 30  2015 games
drwxr-xr-x  2 root root  4096 Sep 30  2015 include
drwxr-xr-x  2 root root  4096 Sep 30  2015 lib
drwxr-xr-x  7 root root  4096 Feb 14  2019 MATLAB
drwxr-xr-x  2 root root  4096 Feb 14  2019 sbin
drwxr-xr-x  7 root root  4096 Sep 30  2015 share
drwxr-xr-x  6 root root  4096 Feb 14  2019 src
drwxr-xr-x  8 root root  188 4096 Oct 13  2016 stata14
drwxr-xr-x  8 root root  188 4096 Oct 13  2016 stata14_32
drwxr-xr-x  7 gls  gls  4096 Oct 13  2016 stata5
drwxr-xr-x  6 10188 10108 4096 Oct 13  2016 stata-png-fix
drwxr-xr-x  3 root root  4096 Feb 14  2019 Wolfram

GIT @Sandramek $ ls -l /usr/local/bin/
total 4
lrwxrwxrwx  1 root root  52 May  8  2019 deploytool -> /usr/local/MATLAB/R2015b/bin/deploytool
lrwxrwxrwx  1 root root  59 Feb 14  2019 math -> /usr/local/Wolfram/Mathematica/11.3/Executables/math
lrwxrwxrwx  1 root root  59 Feb 14  2019 Mathematica -> /usr/local/Wolfram/Mathematica/11.3/Executables/mathematica
lrwxrwxrwx  1 root root  59 Feb 14  2019 MathKernel -> /usr/local/Wolfram/Mathematica/11.3/Executables/MathKernel
lrwxrwxrwx  1 root root  51 Feb 14  2019 matlab -> /usr/local/MATLAB/R2015b/bin/matlab
lrwxrwxrwx  1 root root  51 Feb 14  2019 mbuild -> /usr/local/MATLAB/R2015b/bin/mbuild
lrwxrwxrwx  1 root root  59 Feb 14  2019 mcc -> /usr/local/Wolfram/Mathematica/11.3/Executables/mcc
lrwxrwxrwx  1 root root  43 Oct 13  2016 mex -> /usr/local/MATLAB/R2015b/bin/mex
lrwxrwxrwx  1 root root  59 Feb 14  2019 WolframKernel -> /usr/local/Wolfram/Mathematica/11.3/Executables/WolframKernel
lrwxrwxrwx  1 root root  43 Oct 13  2016 xstata -> /usr/local/stata-png-fix/stata-png-fixed.sh
lrwxrwxrwx  1 root root  43 Oct 13  2016 xstata-64 -> /usr/local/stata-png-fix/stata-png-fixed.sh
lrwxrwxrwx  1 root root  43 Oct 13  2016 xstata-mp -> /usr/local/stata-png-fix/stata-png-fixed.sh
lrwxrwxrwx  1 root root  43 Oct 13  2016 xstata-se -> /usr/local/stata-png-fix/stata-png-fixed.sh

GIT @Sandramek $ ls -l /usr/local/lib/
total 0

GIT @Sandramek $ ls -l /usr/local/sbin/
total 0

GIT @Sandramek $ ls -l /usr/local/share/
total 0

GIT @Sandramek $ ls -l /usr/local/src/
lrwxrwxrwx  1 root root  6 Nov 13  2019 man -> ../man


GIT @Sandramek $ type -a pacman
pacman is /usr/bin/pacman
pacman is /bin/pacman

GIT @Sandramek $ /usr/bin/pacman --version
/usr/bin/pacman: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory

GIT @Sandramek $ pacman --version
pacman: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory

Offline

Board footer

Powered by FluxBB