Package: aptitude
Version: 0.5.2.1-1
Severity: important
The new version of aptitude in experimental fails to install properly.
This appears to be related to some sort of xapian support required by
the post-installation script. Repeated invocations attempting to fix a
partial install do not resolve the issue (see below).
$ sudo aptitude -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following partially installed packages will be configured:
aptitude
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up aptitude (0.5.2.1-1) ...
Reading Debtags database: done.
Reading en_US translations from
/var/lib/apt/lists/www.debian-multimedia.org_dists_sid_main_i18n_Translation-en%5fUS:
done.
Rebuilding Xapian index... 0%/usr/share/apt-xapian-index/plugins/debtags.py:92:
DeprecationWarning: Use tags_of_package instead
for tag in self.db.tagsOfPackage(pkg.name):
/usr/share/apt-xapian-index/plugins/descriptions.py:75: DeprecationWarning:
Accessed deprecated property Package.rawDescription, please see the Version
class for alternatives.
self.indexer.index_text_without_positions(pkg.rawDescription)
/usr/share/apt-xapian-index/plugins/sizes.py:74: DeprecationWarning: Accessed
deprecated property Package.installedSize, please see the Version class for
alternatives.
instSize = pkg.installedSize
/usr/share/apt-xapian-index/plugins/sizes.py:75: DeprecationWarning: Accessed
deprecated property Package.packageSize, please see the Version class for
alternatives.
pkgSize = pkg.packageSize
Traceback (most recent call last):
File "/usr/sbin/update-apt-xapian-index", line 596, in <module>
buildIndex(dbdir, addons, progress)
File "/usr/sbin/update-apt-xapian-index", line 298, in buildIndex
addon.obj.index(document, pkg)
File "/usr/share/apt-xapian-index/plugins/descriptions.py", line 75, in index
self.indexer.index_text_without_positions(pkg.rawDescription)
ValueError: invalid null reference in method
'TermGenerator_index_text_without_positions', argument 2 of type 'std::string
const &'
dpkg: error processing aptitude (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
aptitude
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up aptitude (0.5.2.1-1) ...
Reading Debtags database: done.
Reading en_US translations from
/var/lib/apt/lists/www.debian-multimedia.org_dists_sid_main_i18n_Translation-en%5fUS:
done.
Rebuilding Xapian index... 0%/usr/share/apt-xapian-index/plugins/debtags.py:92:
DeprecationWarning: Use tags_of_package instead
for tag in self.db.tagsOfPackage(pkg.name):
/usr/share/apt-xapian-index/plugins/descriptions.py:75: DeprecationWarning:
Accessed deprecated property Package.rawDescription, please see the Version
class for alternatives.
self.indexer.index_text_without_positions(pkg.rawDescription)
/usr/share/apt-xapian-index/plugins/sizes.py:74: DeprecationWarning: Accessed
deprecated property Package.installedSize, please see the Version class for
alternatives.
instSize = pkg.installedSize
/usr/share/apt-xapian-index/plugins/sizes.py:75: DeprecationWarning: Accessed
deprecated property Package.packageSize, please see the Version class for
alternatives.
pkgSize = pkg.packageSize
Traceback (most recent call last):
File "/usr/sbin/update-apt-xapian-index", line 596, in <module>
buildIndex(dbdir, addons, progress)
File "/usr/sbin/update-apt-xapian-index", line 298, in buildIndex
addon.obj.index(document, pkg)
File "/usr/share/apt-xapian-index/plugins/descriptions.py", line 75, in index
self.indexer.index_text_without_positions(pkg.rawDescription)
ValueError: invalid null reference in method
'TermGenerator_index_text_without_positions', argument 2 of type 'std::string
const &'
dpkg: error processing aptitude (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
aptitude
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
-- Package-specific info:
aptitude 0.5.2.1 compiled at Apr 27 2009 11:46:07
Compiler: g++ 4.3.3
Compiled against:
apt version 4.6.0
NCurses version 5.7
libsigc++ version: 2.0.18
Ept support enabled.
Current library versions:
NCurses version: ncurses 5.7.20090404
cwidget version: 0.5.12
Apt version: 4.6.0
linux-vdso.so.1 => (0x00007ffff5dff000)
libapt-pkg-libc6.9-6.so.4.7 => /usr/lib/libapt-pkg-libc6.9-6.so.4.7
(0x00007f5ded919000)
libncursesw.so.5 => /lib/libncursesw.so.5 (0x00007f5ded6ce000)
liblog4cxx.so.10 => /usr/lib/liblog4cxx.so.10 (0x00007f5ded2db000)
libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007f5ded0d6000)
libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007f5dece03000)
libept.so.0 => /usr/lib/libept.so.0 (0x00007f5decb8a000)
libxapian.so.15 => /usr/lib/libxapian.so.15 (0x00007f5dec81e000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f5dec607000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f5dec3ec000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f5dec0e0000)
libm.so.6 => /lib/libm.so.6 (0x00007f5debe5d000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f5debc46000)
libc.so.6 => /lib/libc.so.6 (0x00007f5deb8f3000)
libutil.so.1 => /lib/libutil.so.1 (0x00007f5deb6f0000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f5deb4ec000)
libaprutil-1.so.0 => /usr/lib/libaprutil-1.so.0 (0x00007f5deb2c8000)
libapr-1.so.0 => /usr/lib/libapr-1.so.0 (0x00007f5deb093000)
libuuid.so.1 => /lib/libuuid.so.1 (0x00007f5deae8f000)
librt.so.1 => /lib/librt.so.1 (0x00007f5deac87000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007f5deaa4f000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5dedbda000)
libdb-4.7.so => /usr/lib/libdb-4.7.so (0x00007f5dea6dc000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f5dea4b3000)
Terminal: xterm
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:
aptitude linkage:
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (810, 'unstable'), (600, 'stable'), (550,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages aptitude depends on:
ii apt [libapt-pkg-libc6. 0.7.21 Advanced front-end for dpkg
ii apt-xapian-index 0.18 maintenance tools for a Xapian ind
ii libc6 2.9-4 GNU C Library: Shared libraries
ii libcwidget3 0.5.12-4 high-level terminal interface libr
ii libept0 0.5.26+b1 High-level library for managing De
ii libgcc1 1:4.3.3-3 GCC support library
ii liblog4cxx10 0.10.0-1 A logging library for C++
ii libncursesw5 5.7+20090404-1 shared libraries for terminal hand
ii libsigc++-2.0-0c2a 2.0.18-2 type-safe Signal Framework for C++
ii libstdc++6 4.3.3-3 The GNU Standard C++ Library v3
ii libxapian15 1.0.10-2 Search engine library
ii zlib1g 1:1.2.3.3.dfsg-13 compression library - runtime
Versions of packages aptitude recommends:
ii aptitude-doc-en [aptitude-doc 0.5.2.1-1 English manual for aptitude, a ter
ii libparse-debianchangelog-perl 1.1.1-2 parse Debian changelogs and output
Versions of packages aptitude suggests:
ii debtags 1.7.9+b1 Enables support for package tags
ii tasksel 2.78 Tool for selecting tasks for insta
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]