Package: aptitude
Version: 0.5.2-1
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

When upgrading from 5.1.1 to 5.1.2 --configure fails for aptitude{,-gtk}
in apt-xapian. The relevant traceback is below, full updatelog attached.

Regards

        Christoph

%%%%%%%%%%
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 &'
%%%%%%%%%%

- -- Package-specific info:
aptitude 0.5.2 compiled at Apr 24 2009 13:43:25
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-gate.so.1 =>  (0xffffe000)
        libapt-pkg-libc6.9-6.so.4.7 => /usr/lib/libapt-pkg-libc6.9-6.so.4.7 
(0xb7e05000)
        libncursesw.so.5 => /lib/libncursesw.so.5 (0xb7dc7000)
        liblog4cxx.so.10 => /usr/lib/liblog4cxx.so.10 (0xb7c1d000)
        libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0xb7c17000)
        libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0xb7b53000)
        libept.so.0 => /usr/lib/libept.so.0 (0xb7ad8000)
        libxapian.so.15 => /usr/lib/libxapian.so.15 (0xb7980000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb796b000)
        libglibmm-2.4.so.1 => /usr/lib/libglibmm-2.4.so.1 (0xb7913000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb78d6000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7820000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb781b000)
        librt.so.1 => /lib/i686/cmov/librt.so.1 (0xb7812000)
        libgtkmm-2.4.so.1 => /usr/lib/libgtkmm-2.4.so.1 (0xb74d2000)
        libgiomm-2.4.so.1 => /usr/lib/libgiomm-2.4.so.1 (0xb7463000)
        libgdkmm-2.4.so.1 => /usr/lib/libgdkmm-2.4.so.1 (0xb741a000)
        libatkmm-1.6.so.1 => /usr/lib/libatkmm-1.6.so.1 (0xb73d5000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7023000)
        libpangomm-1.4.so.1 => /usr/lib/libpangomm-1.4.so.1 (0xb6ff4000)
        libcairomm-1.0.so.1 => /usr/lib/libcairomm-1.0.so.1 (0xb6fd4000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb6f48000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb6f2d000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb6f05000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb6eeb000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb6ee0000)
        libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb6e73000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb6dfb000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb6db7000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb6d3f000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb6d14000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb6d10000)
        libglademm-2.4.so.1 => /usr/lib/libglademm-2.4.so.1 (0xb6d06000)
        libglade-2.0.so.0 => /usr/lib/libglade-2.0.so.0 (0xb6cef000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb6bb4000)
        libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb6b8e000)
        libvte.so.9 => /usr/lib/libvte.so.9 (0xb6adf000)
        libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb6ac6000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb69d8000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb69cb000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb6869000)
        libutil.so.1 => /lib/i686/cmov/libutil.so.1 (0xb6865000)
        libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb6861000)
        libaprutil-1.so.0 => /usr/lib/libaprutil-1.so.0 (0xb6841000)
        libapr-1.so.0 => /usr/lib/libapr-1.so.0 (0xb6815000)
        libuuid.so.1 => /lib/libuuid.so.1 (0xb6810000)
        libcrypt.so.1 => /lib/i686/cmov/libcrypt.so.1 (0xb67de000)
        libpcre.so.3 => /usr/lib/libpcre.so.3 (0xb67ad000)
        /lib/ld-linux.so.2 (0xb7eee000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb668f000)
        libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb668b000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb6688000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb6683000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb665f000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb6656000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb6647000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6644000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb663b000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb6634000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb662b000)
        libselinux.so.1 => /lib/libselinux.so.1 (0xb6611000)
        libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb65cf000)
        libdirectfb-1.2.so.0 => /usr/lib/libdirectfb-1.2.so.0 (0xb6556000)
        libfusion-1.2.so.0 => /usr/lib/libfusion-1.2.so.0 (0xb654d000)
        libdirect-1.2.so.0 => /usr/lib/libdirect-1.2.so.0 (0xb6536000)
        libxcb-render-util.so.0 => /usr/lib/libxcb-render-util.so.0 (0xb6531000)
        libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0xb652a000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb6511000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb64eb000)
        libncurses.so.5 => /lib/libncurses.so.5 (0xb64b7000)
        libdb-4.7.so => /usr/lib/libdb-4.7.so (0xb635f000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb635c000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6357000)
Terminal: rxvt-unicode
$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'), (500, 'stable'), (400, 'unstable'), (100, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29.1-dpl (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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-do 0.4.11.11-1 English manual for aptitude, a ter
ii  libparse-debianchangelog-per 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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkn0f+YACgkQz9S5sZBYslNumgCdGgQN2LBfnF07GaQtP13Csrfm
tWkAnjcHvrYTC/sp+uGb0DuTI8BO2mED
=wde1
-----END PGP SIGNATURE-----
$ LANG="C" sudo  aptitude safe-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Reading task descriptions... Done  
Resolving dependencies...
The following packages have been kept back:
  codeblocks codeblocks-common{a} codeblocks-contrib codeblocks-dbg karbon 
kchart kdesvn kdesvn-kio-plugins koffice koffice-libs kplato kpresenter krita 
kspread kthesaurus kword libcodeblocks0 libkde4-ruby1.8{a} libplasma-ruby1.8{a} 
libqt4-ruby1.8{a} 
  libqtruby4shared2{a} libsmokekde4-2{a} libsmokeplasma2{a} libsmokeqt4-2{a} 
libwebkit-1.0-2 libwxsmithlib0 libwxsmithlib0-dev planetpenguin-racer{a} 
python-kde4{a} supertuxkart supertuxkart-data{a} 
The following partially installed packages will be configured:
  aptitude aptitude-gtk 
0 packages upgraded, 0 newly installed, 0 to remove and 31 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up aptitude (0.5.2-1) ...
Reading Debtags database: done.  
Reading de translations from 
/var/lib/apt/lists/ftp.de.debian.org_debian_dists_unstable_main_i18n_Translation-de:
 done.  
Reading de translations from 
/var/lib/apt/lists/ftp.de.debian.org_debian_dists_testing_main_i18n_Translation-de:
 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
dpkg: dependency problems prevent configuration of aptitude-gtk:
 aptitude-gtk depends on aptitude (= 0.5.2-1); however:
  Package aptitude is not configured yet.
dpkg: error processing aptitude-gtk (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 aptitude
 aptitude-gtk
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) ...
Reading Debtags database: done.  
Reading de translations from 
/var/lib/apt/lists/ftp.de.debian.org_debian_dists_unstable_main_i18n_Translation-de:
 done.  
Reading de translations from 
/var/lib/apt/lists/ftp.de.debian.org_debian_dists_testing_main_i18n_Translation-de:
 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
dpkg: dependency problems prevent configuration of aptitude-gtk:
 aptitude-gtk depends on aptitude (= 0.5.2-1); however:
  Package aptitude is not configured yet.
dpkg: error processing aptitude-gtk (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 aptitude
 aptitude-gtk
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Reading task descriptions... Done

Reply via email to