[Aptitude-devel] Bug#910110: aptitude: aptitude does not update libxapian30 during aptitude "self upgrade"

Sven Joachim svenjoac at gmx.de
Tue Oct 2 22:10:46 BST 2018


Control: tags -1 - d-i
Control: reassign -1 libxapian30 1.4.7-2
Control: retitle -1 libxapian30: needs to bump shlibs
Control: severity -1 serious

On 2018-10-02 21:57 +0200, Olivier wrote:

> Package: aptitude
> Version: 0.8.11-3
> Severity: important
> Tags: d-i
>
> Dear Maintainer,
>
> ** IMPORTANT **
> current report was not created on affected system, so do not take into account
> "bugreport" automatic attached informations.
> ** /IMPORTANT **
>
> Issue occure into a Debian Testing system.
>
> I've to work on a not up-to-date system (about 1200 packages to update), so I
> start to first update "aptitude" itself:
> # aptitude install aptitude
>
> This work fine.
>
> But after, for any "aptitude" command, this fail with:
>
> aptitude: symbol lookup error: aptitude: undefined symbol:
> _ZN6Xapian4MSetC1EOS0_

This seems to be easy to reproduce.  On a stretch system, change
sources.list to buster, upgrade aptitude and try to start aptitude.

> Issue is that "aptitude" depends on "libxapian30", who was installed on the
> past, but NOT upgraded by last "aptitude install aptitude"
>
> OLD installed package:
> ii  libxapian30:amd64    1.4.3-2    amd64    Search engine library
>
> UP-TO-DATE package:
> ii  libxapian30:amd64    1.4.7-2    amd64    Search engine library
>
> In order to fix issue, I've to use "apt" to upgrade "libxapian30":
>
> # apt-get install libxapian30
>
> <log>
> 2018-10-02 21:31:15 upgrade libxapian30:amd64 1.4.3-2 1.4.7-2
> 2018-10-02 21:31:15 status half-configured libxapian30:amd64 1.4.3-2
> 2018-10-02 21:31:15 status unpacked libxapian30:amd64 1.4.3-2
> 2018-10-02 21:31:15 status half-installed libxapian30:amd64 1.4.3-2
> 2018-10-02 21:31:15 status half-installed libxapian30:amd64 1.4.3-2
> 2018-10-02 21:31:16 status unpacked libxapian30:amd64 1.4.7-2
> 2018-10-02 21:31:16 status unpacked libxapian30:amd64 1.4.7-2
> 2018-10-02 21:31:16 configure libxapian30:amd64 1.4.7-2 <aucune>
> 2018-10-02 21:31:16 status unpacked libxapian30:amd64 1.4.7-2
> 2018-10-02 21:31:16 status half-configured libxapian30:amd64 1.4.7-2
> 2018-10-02 21:31:16 status installed libxapian30:amd64 1.4.7-2
> </log>
>
> Issue fixed, no more "undefined symbol" issue !
>
> In order to definitively fix issue, "aptitude" package dependancies should be
> modified:
> - Currently, we have:
>         Dépend: [...], libxapian30
>
> - Now, we should have something like:
>         Dépend: [...], libxapian30 (>=1.4.7-2)

Indeed, but that needs to be fixed in libxapian30's shlibs file.  Then
aptitude (and other reverse dependencies of libxapian30 that might be
affected) can be rebuilt to pick up the changed dependency.

Cheers,
       Sven


> Thanks for your help !
>
> Best regards,
>
>                                   Olivier
>
>
>
> -- Package-specific info:
> Terminal: xterm-256color
> $DISPLAY is set.
> which aptitude: /usr/bin/aptitude
>
> aptitude version information:
> aptitude 0.8.11
> Compiler: g++ 8.2.0
> Compiled against:
>   apt version 5.0.2
>   NCurses version 6.1
>   libsigc++ version: 2.10.0
>   Gtk+ support disabled.
>   Qt support disabled.
>
> Current library versions:
>   NCurses version: ncurses 6.1.20180714
>   cwidget version: 0.5.17
>   Apt version: 5.0.2
>
> aptitude linkage:
> 	linux-vdso.so.1 (0x00007ffdfc3f0000)
> 	libapt-pkg.so.5.0 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0 (0x00007fc80f377000)
> 	libncursesw.so.6 => /lib/x86_64-linux-gnu/libncursesw.so.6 (0x00007fc80f33d000)
> 	libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007fc80f30f000)
> 	libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007fc80f306000)
> 	libcwidget.so.3 => /usr/lib/x86_64-linux-gnu/libcwidget.so.3 (0x00007fc80f200000)
> 	libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007fc80f0e0000)
> 	libboost_iostreams.so.1.62.0 => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.62.0 (0x00007fc80f0c1000)
> 	libboost_system.so.1.62.0 => /usr/lib/x86_64-linux-gnu/libboost_system.so.1.62.0 (0x00007fc80f0bc000)
> 	libxapian.so.30 => /usr/lib/x86_64-linux-gnu/libxapian.so.30 (0x00007fc80ee96000)
> 	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fc80ee75000)
> 	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fc80ecf2000)
> 	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc80eb5e000)
> 	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fc80eb42000)
> 	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc80e985000)
> 	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fc80e96c000)
> 	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fc80e74e000)
> 	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007fc80e73b000)
> 	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fc80e515000)
> 	liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007fc80e2f6000)
> 	libzstd.so.1 => /usr/lib/x86_64-linux-gnu/libzstd.so.1 (0x00007fc80e25b000)
> 	libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007fc80e23b000)
> 	/lib64/ld-linux-x86-64.so.2 (0x00007fc80f9be000)
> 	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fc80e236000)
> 	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fc80e22c000)
> 	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fc80e221000)
>
> -- System Information:
> Debian Release: buster/sid
>   APT prefers testing
>   APT policy: (900, 'testing'), (800, 'stable'), (90, 'unstable'), (40, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 4.18.0-1-amd64 (SMP w/4 CPU cores)
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages aptitude depends on:
> ii  aptitude-common           0.8.11-3
> ii  libapt-pkg5.0             1.7.0~rc2
> ii  libboost-iostreams1.62.0  1.62.0+dfsg-10
> ii  libboost-system1.62.0     1.62.0+dfsg-10
> ii  libc6                     2.27-6
> ii  libcwidget3v5             0.5.17-11
> ii  libgcc1                   1:8.2.0-7
> ii  libncursesw6              6.1+20180714-1
> ii  libsigc++-2.0-0v5         2.10.0-2.1
> ii  libsqlite3-0              3.25.2-1
> ii  libstdc++6                8.2.0-7
> ii  libtinfo6                 6.1+20180714-1
> ii  libxapian30               1.4.7-2
>
> Versions of packages aptitude recommends:
> ii  libparse-debianchangelog-perl  1.2.0-12
> ii  sensible-utils                 0.0.12
>
> Versions of packages aptitude suggests:
> pn  apt-xapian-index                <none>
> pn  aptitude-doc-en | aptitude-doc  <none>
> pn  debtags                         <none>
> ii  tasksel                         3.46
>
> -- no debconf information



More information about the Aptitude-devel mailing list