On Q4OS 1.2.5, I installed xfce and synaptic. In synaptic, I want to install apt-xapian-index, but I get the following errors. What can I do to get xapian installed and working? Thanks for your help.
E: apt-xapian-index: subprocess installed post-installation script returned error exit status 127
Details:
(synaptic:8408): GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid > 0' failed
Selecting previously unselected package apt-xapian-index.
(Reading database ... 86975 files and directories currently installed.)
Preparing to unpack .../apt-xapian-index_0.47_all.deb ...
Unpacking apt-xapian-index (0.47) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up apt-xapian-index (0.47) ...
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
Errors were encountered while processing:
apt-xapian-index
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up apt-xapian-index (0.47) ...
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
Errors were encountered while processing:
apt-xapian-index
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Looks like a Debian dependencies glitch, you could report a bug for Debian devs. The easy solution is to fulfill the dependency, installing 'python-support' package.
$ sudo apt-get install python-support
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2015-06-23
I should have tried installing via terminal after getting the synaptic errors since the terminal offers "suggested" additional packages.
Ran your suggestion first: sudo apt-get install python-support, got "python-support is already newest version"
Then I ran "sudo apt-get install apt-xapian-index", aborted, added the suggested packages and ran again. Long story short, I got it installed.
---SOLVED---
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On Q4OS 1.2.5, I installed xfce and synaptic. In synaptic, I want to install apt-xapian-index, but I get the following errors. What can I do to get xapian installed and working? Thanks for your help.
E: apt-xapian-index: subprocess installed post-installation script returned error exit status 127
Details:
(synaptic:8408): GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid > 0' failed
Selecting previously unselected package apt-xapian-index.
(Reading database ... 86975 files and directories currently installed.)
Preparing to unpack .../apt-xapian-index_0.47_all.deb ...
Unpacking apt-xapian-index (0.47) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up apt-xapian-index (0.47) ...
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
Errors were encountered while processing:
apt-xapian-index
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up apt-xapian-index (0.47) ...
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
Errors were encountered while processing:
apt-xapian-index
Looks like a Debian dependencies glitch, you could report a bug for Debian devs. The easy solution is to fulfill the dependency, installing 'python-support' package.
$ sudo apt-get install python-support
I should have tried installing via terminal after getting the synaptic errors since the terminal offers "suggested" additional packages.
Ran your suggestion first: sudo apt-get install python-support, got "python-support is already newest version"
Then I ran "sudo apt-get install apt-xapian-index", aborted, added the suggested packages and ran again. Long story short, I got it installed.
---SOLVED---