I'm wondering if its a problem with the package itself. Lets try using synaptic.
Originally Posted by SkyZD
If the error still shows up lets open synaptic and try from there.
apt-get purge framework3
rm -rf /opt/framework3/
make sure kill postgres if running.
apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
If you haven't installed it
at command type synaptic, in search box type framework3 and if it is "installed" right click it and hit mark for complete removal. Once that is done and it is removed right click it again and hit mark for installation and click green checkmark. Hope that works. Latest version should be 3.7.2-bt0 I believe.
apt-get install synaptic