I am having problems with metasploit. When I try to remove it with either apt or synaptic, I get an error. I also cannot update the rest of backtrack because it gives an error. Not sure how to proceed. Here is what the error stuff says:

E: /var/cache/apt/archives/metasploit_4.4.0-bt2_i386.deb: subprocess new pre-removal script returned error exit status 127

root@bt:~# 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.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up framework (4.0.0-bt1) ...
chmod: cannot access `framework-32.run': No such file or directory
/var/lib/dpkg/info/framework.postinst: line 11: ./framework-32.run: No such file or directory
Building native extensions.  This could take a while...
Successfully installed mysql-2.9.0
1 gem installed
Installing ri documentation for mysql-2.9.0...
Installing RDoc documentation for mysql-2.9.0...
ln: creating symbolic link `/pentest/exploits/framework': File exists
dpkg: error processing framework (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of framework3:
 framework3 depends on framework; however:
  Package framework is not configured yet.
dpkg: error processing framework3 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)