Project

General

Profile

Bug #3368

Updated by bill-auger over 1 year ago

pacman [root@nsa ~]# yay -Syu (yay -Syu) error, breaks pacman and requires chrooting + reinstallation of openssl

<pre>

...
:: Running post-transaction hooks...
( 1/12) Creating system user accounts...
/usr/bin/systemd-sysusers: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
error: command failed to execute correctly
( 2/12) Reloading system manager configuration...
systemd-detect-virt: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
/usr/bin/systemctl: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
error: command failed to execute correctly
( 3/12) Creating temporary files...
/usr/bin/systemd-tmpfiles: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
error: command failed to execute correctly
( 4/12) Reloading device manager configuration...
systemd-detect-virt: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
/usr/bin/udevadm: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
error: command failed to execute correctly
( 5/12) Arming ConditionNeedsUpdate...
( 6/12) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-libre.preset: 'default'
-> -k /boot/vmlinuz-linux-libre -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-libre.img
==> Starting build: 5.18.14-gnu-1
-> Running build hook: [base]
-> Running build hook: [udev]
==> ERROR: binary dependency `libcrypto.so.1.1' not found for `/usr/lib/systemd/systemd-udevd'
==> ERROR: binary dependency `libcrypto.so.1.1' not found for `/usr/bin/udevadm'
==> ERROR: binary dependency `libcrypto.so.1.1' not found for `/usr/bin/systemd-tmpfiles'
==> ERROR: binary dependency `libcrypto.so.1.1' not found for `/usr/lib/udev/ata_id'
==> ERROR: binary dependency `libcrypto.so.1.1' not found for `/usr/lib/udev/ata_id'
==> ERROR: binary dependency `libcrypto.so.1.1' not found for `/usr/lib/udev/ata_id'
==> ERROR: binary dependency `libcrypto.so.1.1' not found for `/usr/lib/udev/scsi_id'
==> ERROR: binary dependency `libcrypto.so.1.1' not found for `/usr/lib/udev/scsi_id'
==> ERROR: binary dependency `libcrypto.so.1.1' not found for `/usr/bin/udevadm'
-> Running build hook: [autodetect]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [encrypt]
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-libre.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux-libre.preset: 'fallback'
-> -k /boot/vmlinuz-linux-libre -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-libre-fallback.img -S autodetect
==> Starting build: 5.18.14-gnu-1
-> Running build hook: [base]
-> Running build hook: [udev]
==> ERROR: binary dependency `libcrypto.so.1.1' not found for `/usr/lib/systemd/systemd-udevd'
==> ERROR: binary dependency `libcrypto.so.1.1' not found for `/usr/bin/udevadm'
==> ERROR: binary dependency `libcrypto.so.1.1' not found for `/usr/bin/systemd-tmpfiles'
==> ERROR: binary dependency `libcrypto.so.1.1' not found for `/usr/lib/udev/ata_id'
==> ERROR: binary dependency `libcrypto.so.1.1' not found for `/usr/lib/udev/ata_id'
==> ERROR: binary dependency `libcrypto.so.1.1' not found for `/usr/lib/udev/ata_id'
==> ERROR: binary dependency `libcrypto.so.1.1' not found for `/usr/lib/udev/scsi_id'
==> ERROR: binary dependency `libcrypto.so.1.1' not found for `/usr/lib/udev/scsi_id'
==> ERROR: binary dependency `libcrypto.so.1.1' not found for `/usr/bin/udevadm'
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [encrypt]
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-libre-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
error: command failed to execute correctly
( 7/12) Refreshing PackageKit...
( 8/12) disable automatic archlinux-keyring refresh
( 9/12) Reloading system bus configuration...
systemd-detect-virt: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
/usr/bin/systemctl: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
error: command failed to execute correctly
(10/12) Warn about old perl modules
(11/12) Updating the info directory file...
(12/12) Updating the desktop file MIME type cache...
:: Searching databases for updates...
:: Searching AUR for updates...
-> pantalaimon: ignoring package upgrade (0.10.4-3 => 0.10.5-3)
-> python-matrix-nio: ignoring package upgrade (0.19.0-4 => 0.20.0-1)
there is nothing to do
[root@nsa ~]# pacman
pacman: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
</pre>

this
[root@nsa ~]# #this requires a chroot or pacstrap in a live OS to reinstall openssl, or backing up /usr/bin/pacman or /usr/lib/libcrypto.so.1.1 beforehand, moving the file(s) back later.

Back