Control: severity -1 serious Control: tags -1 patch On 2015-07-26 15:37 +0200, Christoph Egger wrote:
> Package: apt-xapian-index > Version: 0.47 > Severity: important > > Hi! > > apt-xapian-index fails to install (stretch vmdebootstrap) [0]. Note, I had to > install[1] reportbug later to report this bug so the package list might be > somewhat disturbed. > [...] > apt-xapian-index: Building new index in background... > /var/lib/dpkg/info/apt-xapian-index.postinst: 43: > /var/lib/dpkg/info/apt-xapian-index.postinst: update-python-modules: not found > dpkg: error processing package apt-xapian-index (--configure): > subprocess installed post-installation script returned error exit status 127 This call to update-python-modules is a remnant from the time where apt-xapian-index was using python-support, as of version 0.47 it no longer does. The following untested patch should do: --8<---------------cut here---------------start------------->8--- diff --git a/debian/postinst b/debian/postinst index fad3683..616f42d 100644 --- a/debian/postinst +++ b/debian/postinst @@ -28,8 +28,6 @@ case "$1" in if [ ! -x /usr/sbin/policy-rc.d ] || /usr/sbin/policy-rc.d apt-xapian-index start then echo "apt-xapian-index: Building new index in background..." - # Ensure that we can use our module. See #537376 - update-python-modules -p $IONICE nice /usr/sbin/update-apt-xapian-index --force --quiet & fi fi --8<---------------cut here---------------end--------------->8--- Since python-support is now actively being deprecated (it just got autoremoved from my system, yay!) this bug is going to hit a lot of people, so I have upgraded the severity accordingly. Cheers, Sven