Linux (x86_64) release 4.8.0-54-generic x86_64-linux-gnu-gcc Okular 0.24.2 dpkg: err libqt5script5:amd64 (--configure): 'half-installed' E: Sub-process /usr/bin/dpkg returned an error code (1)
That's not really a helpful bug report -- I have no idea what you are doing. Besides, the fact that /usr/bin/dpkg appears in your error message suggests that you have a packaging problem, which you should rather report to your distribution.
Agree. Without additional information, this seems like a packaging issue that you should report to your distro.