#1063907 apt: symbol lookup error

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
Michael Ott
Date:
2024-02-14 18:27:02 UTC
Severity:
normal
Tags:
#1063907#5
Date:
2024-02-14 15:22:21 UTC
From:
To:
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

#1063907#10
Date:
2024-02-14 16:46:40 UTC
From:
To:
Control: tag -1 unreproducible

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.

#1063907#17
Date:
2024-02-14 16:46:40 UTC
From:
To:
Control: tag -1 unreproducible

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.

#1063907#22
Date:
2024-02-14 17:47:58 UTC
From:
To:
I was also affected by this error. I think it has to do with the recent
time_t transition in experimental. I had libapt-pkg6.0t64:riscv64
2.7.10+nmu1~exp1 installed before.