• Bug#1063907: apt: symbol lookup error

    From Michael Ott@21:1/5 to All on Wed Feb 14 16:40:01 2024
    Package: apt
    Version: 2.7.11
    Severity: important

    Dear Maintainer,

    after update apt I got the following error:
    apt autoremove --purge
    apt: symbol lookup error: /lib/x86_64-linux-gnu/libapt-private.so.0.0: undefined symbol: _ZNK11pkgDepCache14PhasingAppliedEN8pkgCache11PkgIteratorE, version APTPKG_6.0


    -- Package-specific info:

    -- apt-config dump --

    apt-config: symbol lookup error: /lib/x86_64-linux-gnu/libapt-private.so.0.0: undefined symbol: _ZNK11pkgDepCache14PhasingAppliedEN8pkgCache11PkgIteratorE, version APTPKG_6.0

    -- System Information:
    Debian Release: trixie/sid
    Architecture: amd64 (x86_64)
    Foreign Architectures: i386, armhf, arm64

    Kernel: Linux 6.7-amd64 (SMP w/20 CPU threads; PREEMPT)
    Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
    Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages apt depends on:
    ii adduser 3.137
    ii base-passwd 3.6.3
    ii debian-archive-keyring 2023.4
    ii gpgv 2.4.4-2
    ii libapt-pkg6.0 2.7.11
    ii libapt-pkg6.0t64 [libapt-pkg6.0] 2.7.10+nmu1~exp2
    ii libc6 2.38-6
    ii libgcc-s1 14-20240207-1
    ii libgnutls30 3.8.3-1
    ii libseccomp2 2.5.5-1
    ii libstdc++6 14-20240207-1
    ii libsystemd0 255.3-2

    Versions of packages apt recommends:
    ii ca-certificates 20240203

    Versions of packages apt suggests:
    pn apt-doc <none>
    ii dpkg-dev 1.22.4
    ii gnupg 2.4.4-2
    ii powermgmt-base 1.37
    ii synaptic 0.91.3

    -- no debconf information

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Julian Andres Klode@21:1/5 to Michael Ott on Wed Feb 14 18:00:02 2024
    Control: tag -1 unreproducible

    On Wed, Feb 14, 2024 at 04:22:21PM +0100, Michael Ott wrote:
    Package: apt
    Version: 2.7.11
    Severity: important

    Dear Maintainer,

    after update apt I got the following error:
    apt autoremove --purge
    apt: symbol lookup error: /lib/x86_64-linux-gnu/libapt-private.so.0.0: undefined symbol: _ZNK11pkgDepCache14PhasingAppliedEN8pkgCache11PkgIteratorE, version APTPKG_6.0

    I'm afraid something on your system is messed up, but I don't see
    how this can be a bug in apt.

    This should not be possible, the apt binary and libapt-private
    are in the same binary package (apt), and that Depends on libapt-pkg6.0
    = 2.7.11) which adds the symbol.

    The autopkgtests have passed, it runs on my (Ubuntu) system, and
    works fine in a clean OCI container:

    root@b6047fa9374e:/# apt autoremove --purge
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    --
    debian developer - deb.li/jak | jak-linux.org - free software dev
    ubuntu core developer i speak de, en

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)