You are not logged in.
error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory
after updating curl i am unable to work with pacman and aurhelper .I tried to downgrade the package but showing the same error also my network manager is down and my gui is unable to link anything
here is the pacman log
2022-11-10T00:29:08+0530] [PACMAN] Running 'pacman -Syy curl'
[2022-11-10T00:29:08+0530] [PACMAN] synchronizing package lists
[2022-11-10T00:29:12+0530] [ALPM] transaction started
[2022-11-10T00:29:12+0530] [ALPM] upgraded curl (7.85.0-2 -> 7.86.0-3)
[2022-11-10T00:29:12+0530] [ALPM] transaction completed
Last edited by Bh289 (2022-11-11 15:07:04)
Offline
Running -Syy $package is a recipe for breakage. Don't do it: partial upgrades are not supported here: https://wiki.archlinux.org/index.php/Sy … nsupported
Offline
how can i solve this now ?
I dont have access to pacman and all sollutions require pacman to continue
Offline
Offline
I don't know why exactly this happened to me. I must have accidentally closed a pacman installation/upgrade procedure.
Seems the issue is that curl was upgraded, pacman depends on curl, openssl wasn't upgraded yet.
The workaround/fix was to downgrade curl package by looking in my /var/cache/pacman for older curl packages.
```
ls /var/cache/pacman/pkg/curl-*-x86_64.pkg.tar.zst
# picking a version that is probably not affected
cd /
sudo bsdtar xvf /var/cache/pacman/pkg/curl-7.85.0-2-x86_64.pkg.tar.zst
# should work again
pacman --help
# if you have no network functional
sudo systemctl reboot
```
Offline
cd / sudo bsdtar xvf /var/cache/pacman/pkg/curl-7.85.0-2-x86_64.pkg.tar.zst
It would be better to use
pacman -U /var/cache/packman/pkg/curl-7.85.0-2-x86_64.pkg.tar.zst
As it is, you are going to run into issues when you come to upgrade the system properly because pacman has inaccurate information about which packages you've installed.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
extract curl package downloaded from net and extract it copy libssl and libcrypt file from package/usr/lib and paste in /usr/lib
then pacman starts working
then run command
sudo pacman -Syu --overwrite /usr/lib/libcrypto.so.3 --overwrite /usr/lib/libssl.so.3
then restart the machine
Offline
It would be better to use [pacman]
It would be, but it's not an option when pacman can't run. Even if the pacman operation you intend to do doesn't require a download, the pacman binary is linked to curl and will not run without it. This would be different if pacman `dlopen`ed the curl libs only as needed, but this approach is quited rare in the *nix world. (and I'm not advocating for it, I'm glad it's rare overall).
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Hint for future readers as I lost over an hour on this myself: Download pacman-static on all your machines and use it in such situations to escape the hen and egg problem of being unable to fix pacman without a working pacman.
Offline
Hint for future readers as I lost over an hour on this myself: Download pacman-static on all your machines and use it in such situations to escape the hen and egg problem of being unable to fix pacman without a working pacman.
Or just don't do partial updates and avoid breaking it in the first place.
Online