Error when updating: dpkg error processing package install-info error exit status 127
When you try to update your system you get the error message below. In my case with Ubuntu. Maybe applicable to other distros too.
Full error message:
1
2
dpkg: error processing package install-info (--configure):
subprocess installed post-installation script returned error exit status 127
On AskUbuntu.com I found a solution that I have adapted that works for me:
1
sudo mv /var/lib/dpkg/info/install-info.postinst /var/lib/dpkg/info/install-info.postinst.bak-`date +%Y%m%d_%H%M%S`
What I do here is that I move the file install-info.postinst
file out of the way and append .bak-<date and time>
to the end for future reference.
After moving the file, repeat the update process again and it will work.