Hi Alex,
All sorted now, with your help. Thanks Christian On Tue, Mar 10, 2026 at 6:15 PM Alex Morris <[email protected]> wrote: > Hi Christian, > > Thanks for reporting this issue with initramfs-tools. > > After investigating the error, I've identified the root cause: > > The Problem: > Your system has a version of the zstd compression tool (1.5.8~dev) that > was installed from a source other than the Ubuntu repositories (marked as > "[origin: unknown]" in your dependency list). This development version has > a different symbol interface than the libzstd1 library > (1.5.5+dfsg2-2build1.1) that Ubuntu packages expect. > > When initramfs-tools tries to generate the initramfs image, it calls the > system zstd binary, which fails because of this version mismatch: "zstd: > symbol lookup error: zstd: undefined symbol: POOL_free" > > What You Can Do: > > 1. First, identify where the non-Ubuntu zstd came from: > - Did you add a PPA repository? > - Did you manually install zstd? > - Did you use snap, flatpak, or another package manager? > - Did you download it from the zstd project's GitHub? > > 2. To fix the issue, reinstall the Ubuntu versions: > sudo apt install --reinstall zstd libzstd1 > > 3. After that, complete your upgrade: > sudo apt --fix-broken install > sudo apt upgrade > > If you're unsure where the third-party zstd came from, try running: > dpkg -S /usr/bin/zstd > > This will tell you which package provides the zstd binary. > > The issue is not with initramfs-tools itself, but with a dependency > conflict caused by a non-Canonical package. Once you have the correct > versions from Ubuntu repositories, the initramfs generation should work > properly. > > Let me know if you need any clarification or run into issues with the > fix. > > ** Package changed: initramfs-tools (Ubuntu) => libzstd (Ubuntu) > > ** Changed in: libzstd (Ubuntu) > Status: New => Incomplete > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/2143811 > > Title: > package initramfs-tools 0.142ubuntu25.5 failed to install/upgrade: > installed initramfs-tools package post-installation script subprocess > returned error exit status 1 > > Status in libzstd package in Ubuntu: > Incomplete > > Bug description: > After this operation, 0 B of additional disk space will be used. > Setting up initramfs-tools (0.142ubuntu25.5) ... > update-initramfs: deferring update (trigger activated) > Processing triggers for initramfs-tools (0.142ubuntu25.5) ... > update-initramfs: Generating /boot/initrd.img-6.8.0-86-generic > zstd: symbol lookup error: zstd: undefined symbol: POOL_free > E: mkinitramfs failure cpio 141 > E: mkinitramfs failure zstd -q -1 -T0 127 > update-initramfs: failed for /boot/initrd.img-6.8.0-86-generic with 1. > dpkg: error processing package initramfs-tools (--configure): > installed initramfs-tools package post-installation script subprocess > returned > error exit status 1 > Errors were encountered while processing: > initramfs-tools > E: Sub-process /usr/bin/dpkg returned an error code (1) > > ProblemType: Package > DistroRelease: Ubuntu 24.04 > Package: initramfs-tools 0.142ubuntu25.5 > ProcVersionSignature: Ubuntu 6.8.0-86.87-generic 6.8.12 > Uname: Linux 6.8.0-86-generic x86_64 > NonfreeKernelModules: lkp_Ubuntu_6_8_0_86_87_generic_118 > lkp_Ubuntu_6_8_0_86_87_generic_116 > ApportVersion: 2.28.1-0ubuntu3.8 > AptOrdering: NULL: ConfigurePending > Architecture: amd64 > CasperMD5CheckResult: unknown > Date: Tue Mar 10 09:00:29 2026 > ErrorMessage: installed initramfs-tools package post-installation script > subprocess returned error exit status 1 > PackageArchitecture: all > Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, > 3.12.3-0ubuntu2.1 > PythonDetails: /usr/bin/python3.12, Python 3.12.3, python-is-python3, > 3.11.4-1 > RelatedPackageVersions: > dpkg 1.22.6ubuntu6.5 > apt 2.8.3 > SourcePackage: initramfs-tools > Title: package initramfs-tools 0.142ubuntu25.5 failed to > install/upgrade: installed initramfs-tools package post-installation script > subprocess returned error exit status 1 > UpgradeStatus: Upgraded to noble on 2024-09-24 (531 days ago) > > To manage notifications about this bug go to: > > https://bugs.launchpad.net/ubuntu/+source/libzstd/+bug/2143811/+subscriptions > > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2143811 Title: package initramfs-tools 0.142ubuntu25.5 failed to install/upgrade: installed initramfs-tools package post-installation script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libzstd/+bug/2143811/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
