1. When installing ocrad 0.17-4 from Ubuntu repos, i get above mentioned error. To prevent system always complaining when installing new apps, I added a line containing "exit 0" just below "set -e" in /var/lib/dpkg/info/ocrad.postinst. After this, "sudo apt-get install -f" sorts things out.
2. When I try to remove ocrad, another error comes up:
"E: ocrad: subprocess installed pre-removal script returned error exit status 1."
So, pre-removal script is problematic too. I have to do the same as for postinstall script: add "exit 0".
Just to add:
1. When installing ocrad 0.17-4 from Ubuntu repos, i get above mentioned error. To prevent system always complaining when installing new apps, I added a line containing "exit 0" just below "set -e" in /var/lib/ dpkg/info/ ocrad.postinst. After this, "sudo apt-get install -f" sorts things out.
2. When I try to remove ocrad, another error comes up:
"E: ocrad: subprocess installed pre-removal script returned error exit status 1."
So, pre-removal script is problematic too. I have to do the same as for postinstall script: add "exit 0".