« on: January 20, 2016, 12:45:53 am »
whoa! you've got a bunch of different issues showing in that log. lmce-eib-eibd issues, datalogger-plugin issues, and "/var/lib/dpkg/info/lmce-diskless-tools.postinst: line 49: syntax error near unexpected token `fi'" says the edit of that postinst didn't go well either. I'm on the diskless stuff so if you'd like to pastebin that postinst script I check it against our current stuff and see what I can find.
After that I'm not sure what the pear issues mean, something's not right there though. And the eib issue I'm not sure about either but I'd be sure the /etc/apt/preferences file is correct. You may have to forcibly remove and re-install those packages to get past this.