You are not logged in.
I messed up my system.
When I checked openssl:
pacman -Ss openssl
pacman tell me a new version openssl 3 there, and the openssl 1.1 was installedbin my system.
so, I upgrade it:
pacman -S openssl
this installed openssl 3 to my system.
then reboot manually, the system failed on boot, with error message on screen, something like this:
...missing shared libraries: libcrypto.so.1.1...
I got a GParted Live usb flash to boot up. mount my archlinux disk partition and chroot into it.
now I can find the openssl 1.1 package here:
/var/cache/pacman/pkg/openssl-1.1.1.q-1-x86_64-pkg.tar.zst
but, failed to install it with pacman:
pacman -U openssl-1.1.1.q-1-x86_64-pkg.tar.zst
...error, missing libcrypto.so.1.1 ...
even failed to use pacman to update or inquery :
pacman -Ss openssl
...error, missing libssl.so.1.1 ...
please help me to rescue my system. thanks!
--------------------------------------------------------------------------------------
SOLVED:
with tips and advises, my system rescued.
I extracted the openssl-1.1.1.q-1-x86_64-pkg.tar.zst and copy libraries to /usr/lib/, pacman recovered to work.
Then did a system upgrade (not partial upgrade), every things goes well now.
just remember, DO NOT make a partial upgrade if it's not necessary, especially the system-level packages.
Last edited by cstn (2022-11-06 03:20:25)
Offline
Partial upgrades are not supported for this very reason.
Use pacman-static or a LiveCD of Arch to update your system.
Mod note: Moving to NC.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
If you only need to restore openssl 1.1, you can do that without a working pacman(-static): https://wiki.archlinux.org/title/Pacman … e%22_error
Offline
I had the same problem, but only with libcrypto.so.1.1
I resolved extracting libcrypto.so.1.1 from che cached package and coping it under /usr/lib/
After resolved, I deleted the copy.
Offline
When I checked openssl:
pacman -Ss openssl
pacman tell me a new version openssl 3 there, and the openssl 1.1 was installedbin my system.
This means you did pacman -Sy at some point without doing pacman -Su. That's how you got a partial upgrade. Otherwise, pacman -S <package> would be safe, though it would not upgrade anything.
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
Thanks, all guys!
My system has been rescued and boot up successfully with your tips and advises. Thanks you above!
Offline