You are not logged in.

#1 2022-11-05 16:07:35

cstn
Member
Registered: 2019-12-24
Posts: 37

[SOLVED]Boot failed, missing libssl.so.1.1 and libcrypto.so.1.1

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

#2 2022-11-05 16:16:03

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,783
Website

Re: [SOLVED]Boot failed, missing libssl.so.1.1 and libcrypto.so.1.1

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

#3 2022-11-05 16:20:53

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [SOLVED]Boot failed, missing libssl.so.1.1 and libcrypto.so.1.1

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

#4 2022-11-05 17:27:13

digitalone
Member
Registered: 2011-08-19
Posts: 328

Re: [SOLVED]Boot failed, missing libssl.so.1.1 and libcrypto.so.1.1

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

#5 2022-11-05 18:16:03

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: [SOLVED]Boot failed, missing libssl.so.1.1 and libcrypto.so.1.1

cstn wrote:

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

#6 2022-11-06 03:11:58

cstn
Member
Registered: 2019-12-24
Posts: 37

Re: [SOLVED]Boot failed, missing libssl.so.1.1 and libcrypto.so.1.1

Thanks, all guys!

My system has been rescued and boot up successfully with your tips and advises. Thanks you above!

Offline

Board footer

Powered by FluxBB