lamspc wrote on Tuesday, February 10, 2015:
I amended /var/lib/dpkg/status file by removing the line with:
Config-Version: 4.1.2-1
Not surprisingly, it changed the dpkg -s openemr accordingly by omitting Config-Version: 4.1.2-1
However, the apt-get upgrade command contines to throw the same error:
$ apt-get upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up openemr (4.2.0-1) …
dpkg: error processing openemr (–configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
openemr
E: Sub-process /usr/bin/dpkg returned an error code (1)
I think it is a dpkg package management issue, may interfere with updates, etc