[Solved] apt fails with "Bus error (core dumped)" messages when attempting to install zfsutils-linux

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
User avatar
Meow
Posts: 43
Joined: 2015-04-13 23:32
Has thanked: 17 times

[Solved] apt fails with "Bus error (core dumped)" messages when attempting to install zfsutils-linux

#1 Post by Meow »

I am trying to follow the Root on ZFS installation instructions.

When doing the apt install --yes zfsutils-linux (see step 1, number 6 in the instructions linked above), I always get multiple error messages "Bus error (core dumped)".

This starts when apt does its trigger processing:

Code: Select all

[...]
Processing triggers for initramfs-tools (0.142+deb12u1) ...
I: update-initramfs is disabled (live system is running on read-only media).
Processing triggers for libc-bin (2.36-9+deb12u8) ...
Bus error (core dumped)
ldconfig: Can't stat /usr/local/lib/x86_64-linux-gnu: No such file or directory
ldconfig: Path `/usr/lib/x86_64-linux-gnu' given more than once
(from /etc/ld.so.conf.d/x86_64-linux-gnu.conf:4 and /etc/ld.so.conf.d/x86_64-linux-gnu.conf:3)
ldconfig: Path `/lib/x86_64-linux-gnu' given more than once
(from <builtin>:0 and /etc/ld.so.conf.d/x86_64-linux-gnu.conf:3)
ldconfig: Path `/usr/lib/x86_64-linux-gnu' given more than once
(from <builtin>:0 and /etc/ld.so.conf.d/x86_64-linux-gnu.conf:3)
ldconfig: Path `/usr/lib' given more than once
(from <builtin>:0 and <builtin>:0)
/usr/lib/x86_64-linux-gnu/libfakeroot: (from /etc/ld.so.conf.d/fakeroot-x86_64-linux-gnu.conf:1)
        libfakeroot-0.so -> libfakeroot-tcp.so
/usr/local/lib: (from /etc/ld.so.conf.d/libc.conf:2)
/lib/x86_64-linux-gnu: (from /etc/ld.so.conf.d/x86_64-linux-gnu.conf:3)
Bus error (core dumped)
dpkg: error processing package libc-bin (--configure):
 installed libc-bin package post-installation script subprocess returned error exit status 135
Processing triggers for man-db (2.11.2-2) ...
Setting up zfs-zed (2.1.11-1) ...
Created symlink /etc/systemd/system/zed.service → /lib/systemd/system/zfs-zed.service.
Created symlink /etc/systemd/system/zfs.target.wants/zfs-zed.service → /lib/systemd/system/zfs-zed.service.
Errors were encountered while processing:
 libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any idea what I could be doing wrong?
System has 32GB ECC RAM, of which 28GB are free when using the KDE Live system (current version from the Debian download page).
Last edited by Meow on 2024-10-19 23:17, edited 1 time in total.

arzgi
Posts: 1408
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 56 times

Re: apt fails with "Bus error (core dumped)" messages when attempting to install zfsutils-linux

#2 Post by arzgi »

This: I: update-initramfs is disabled (live system is running on read-only media)

User avatar
Meow
Posts: 43
Joined: 2015-04-13 23:32
Has thanked: 17 times

Re: apt fails with "Bus error (core dumped)" messages when attempting to install zfsutils-linux

#3 Post by Meow »

arzgi wrote: 2024-10-16 09:52 This: I: update-initramfs is disabled (live system is running on read-only media)
Is this really the cause for the bus error which appears later when attempting to install zfsutils-linux, after debootstrap and gdisk installed without problems?
According to the instructions this is intended to run from live media.
Years ago, I did exactly the same with bullseye and did not encounter such a problem.

Sounds like it might be best to try first installing a basic Debian system onto a writable HDD/SSD/SD, boot from that and then from this "temporary installation" install the Root on ZFS system onto the drives intended to contain the mirrored Debian Root on ZFS ?

User avatar
Meow
Posts: 43
Joined: 2015-04-13 23:32
Has thanked: 17 times

Re: apt fails with "Bus error (core dumped)" messages when attempting to install zfsutils-linux

#4 Post by Meow »

Thank you @arzgi
that was it.
There are also more issues with the Root on ZFS howto; I'll PR in the ZOL github when completed with that.

Post Reply