Solved the issue (states it very clearly in the VarLogDistupgradeMainlog.txt file):
2014-10-24 10:59:41,289 DEBUG blacklist expr '^postgresql-.*[0-9]\.[0-9].*' matches 'postgresql-plperl-9.3'
2014-10-24 10:59:41,289 DEBUG The package 'postgresql-plperl-9.3' is marked for removal but it's in the removal blacklist
2014-10-24 11:01:28,514 ERROR Dist-upgrade failed: 'The package 'postgresql-plperl-9.3' is marked for removal but it is in the removal blacklist.'
2014-10-24 11:01:28,515 DEBUG abort called
2014-10-24 11:01:28,541 DEBUG openCache()
2014-10-24 11:01:28,541 DEBUG failed to SystemUnLock() (E:Not locked)
2014-10-24 11:01:33,882 DEBUG /openCache(), new cache size 71258
2014-10-24 11:01:33,901 DEBUG enabling apt cron job
Uninstalling that program and clearing all the 'Other Software' options I added, fixed the issue.
Solved the issue (states it very clearly in the VarLogDistupgra deMainlog. txt file):
2014-10-24 10:59:41,289 DEBUG blacklist expr '^postgresql- .*[0-9] \.[0-9] .*' matches 'postgresql- plperl- 9.3' plperl- 9.3' is marked for removal but it's in the removal blacklist plperl- 9.3' is marked for removal but it is in the removal blacklist.'
2014-10-24 10:59:41,289 DEBUG The package 'postgresql-
2014-10-24 11:01:28,514 ERROR Dist-upgrade failed: 'The package 'postgresql-
2014-10-24 11:01:28,515 DEBUG abort called
2014-10-24 11:01:28,541 DEBUG openCache()
2014-10-24 11:01:28,541 DEBUG failed to SystemUnLock() (E:Not locked)
2014-10-24 11:01:33,882 DEBUG /openCache(), new cache size 71258
2014-10-24 11:01:33,901 DEBUG enabling apt cron job
Uninstalling that program and clearing all the 'Other Software' options I added, fixed the issue.