# 182 testing: dracut-install: error while loading shared libraries: liblzma.so.5

**URL:** <https://community.ipfire.org/t/182-testing-dracut-install-error-while-loading-shared-libraries-liblzma-so-5/10701>\
**Category:** Update Trouble\
**Created:** [6 December 2023 12:12 UTC](https://community.ipfire.org/t/182-testing-dracut-install-error-while-loading-shared-libraries-liblzma-so-5/10701 "2023-12-06T12:12:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmisch](https://community.ipfire.org/user_avatar/community.ipfire.org/cmisch/32/16502_2.png) [@cmisch](https://community.ipfire.org/u/cmisch)\
**Post date:** [6 December 2023 12:12 UTC](https://community.ipfire.org/t/182-testing-dracut-install-error-while-loading-shared-libraries-liblzma-so-5/10701/1 "2023-12-06T12:12:41Z")

</div>

Hi

Just tried to upgrade from testing 180 to testing 182.  
The logs for 180 and 181 are looking ok.

But update-core-upgrade-182.log shows:

* * *

```auto
.....
removed '/usr/lib/liblzma.so.5.4.4'
removed '/usr/lib/liblzma.so.5.4.5'
..... some lines removed
/usr/lib/dracut/dracut-install: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.tk1MXy/initramfs /bin/sh
dracut: Executing: /usr/bin/dracut --kver=6.1.61-ipfire --force
/usr/lib/dracut/dracut-install: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.tk1MXy/initramfs -l /lib64 /lib64
/usr/lib/dracut/dracut-install: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory
...... and so on
...... ending with
chmod: cannot access '/var/tmp/dracut.tk1MXy/initramfs//lib/dracut/hooks/shutdown/25-dm-shutdown.sh': No such file or directory
/usr/lib/dracut/dracut-install: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.tk1MXy/initramfs --kerneldir /lib/modules/6.1.61-ipfire/ -o -m =drivers/md dm_mod dm-cache dm-cache-mq dm-cache-cleaner
dracut: installkernel failed in module dm
Found bootloader device: /dev/xvda
Updating configuration...
Installing GRUB on /dev/xvda...
Could not install GRUB on /dev/xvda

```

* * *

ipfire is runing on Xen virtual machine.  
I did not tried to reboot till now.  
find / -name “liblzma\*” is showing /usr/lib/liblzma.so only

may be possible to boot as there are boot files in /boot

```auto
drwxr-xr-x 3 root root 16384 Jan 1 1970 efi
drwx------ 2 root root 16384 Jul 13 2020 lost+found
-rw-r--r-- 1 root root 6977952 Nov 4 18:35 vmlinuz-6.1.61-ipfire
-rw-r--r-- 1 root root 3811848 Nov 4 18:35 System.map-6.1.61-ipfire
-rw-r--r-- 1 root root 185009 Nov 4 18:35 config-6.1.61-ipfire
-rw------- 1 root root 36890411 Dec 6 12:04 initramfs-6.1.61-ipfire.img
drwxr-xr-x 6 root root 4096 Dec 6 12:05 grub

```

* * *

**EDIT** : moderator changed text to [code block](https://community.ipfire.org/t/how-to-post-code-or-preformatted-text/5317#block-code-formatting).

---

<div class="post-metadata">

**Author:** ![bonnietwin](https://community.ipfire.org/user_avatar/community.ipfire.org/bonnietwin/32/12350_2.png) [@bonnietwin](https://community.ipfire.org/u/bonnietwin)\
**Post date:** [6 December 2023 12:22 UTC](https://community.ipfire.org/t/182-testing-dracut-install-error-while-loading-shared-libraries-liblzma-so-5/10701/2 "2023-12-06T12:22:34Z")

</div>

Already covered in this thread

[https://community.ipfire.org/t/182-testing-error-when-updating-alsa/10698](https://community.ipfire.org/t/182-testing-error-when-updating-alsa/10698)

---

<div class="post-metadata">

**Author:** ![jon](https://community.ipfire.org/user_avatar/community.ipfire.org/jon/32/15363_2.png) [@jon](https://community.ipfire.org/u/jon)\
**Post date:** [6 December 2023 19:42 UTC](https://community.ipfire.org/t/182-testing-dracut-install-error-while-loading-shared-libraries-liblzma-so-5/10701/3 "2023-12-06T19:42:22Z")

</div>


