Hello
I have the same problem.. I purged framework3, located framework3 files/folders and removed them (rm -rf). Some files though where 'located' even after their removal:
Code:
root@bt:~# locate framework3
/opt/framework3
/pentest/exploits/framework3
/usr/share/applications/backtrack-framework3-armitage.desktop
/usr/share/applications/backtrack-framework3-msfcli.desktop
/usr/share/applications/backtrack-framework3-msfconsole.desktop
/usr/share/applications/backtrack-framework3-msfencode.desktop
/usr/share/applications/backtrack-framework3-msfpayload.desktop
/usr/share/applications/backtrack-framework3-msfupdate.desktop
/var/lib/dpkg/info/framework3.changelog
/var/lib/dpkg/info/framework3.copyright
/var/lib/dpkg/info/framework3.list
/var/lib/dpkg/info/framework3.postinst
/var/lib/dpkg/info/framework3.preinst
then I restarted BT5 and then reinstalled framework3 and here is the output:
Code:
root@bt:~# apt-get install framework3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libdmraid1.0.0.rc16 sqlite python-pyicu libdebian-installer4 cryptsetup libecryptfs0 reiserfsprogs rdate bogl-bterm ettercap-gtk ecryptfs-utils
libdebconfclient0 dmraid ettercap-common
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
framework3
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/145MB of archives.
After this operation, 0B of additional disk space will be used.
Selecting previously deselected package framework3.
(Reading database ... 218018 files and directories currently installed.)
Unpacking framework3 (from .../framework3_3.7.2-bt0_i386.deb) ...
/opt/framework3/postgresql/scripts/ctl.sh : postgresql not running
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for python-support ...
Setting up framework3 (3.7.2-bt0) ...
There has been an error.
Error running su postgres -c '"/opt/framework3/postgresql/bin/psql" -c "ALTER USER postgres PASSWORD '\''cb2e0aea'\''" ' : psql.bin: could not connect to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 7175?
could not connect to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 7175?
cp: cannot create directory `/opt/framework3/ruby/lib/ruby/gems/1.9.1/gems/': No such file or directory
Building native extensions. This could take a while...
Successfully installed mysql-2.8.1
1 gem installed
Installing ri documentation for mysql-2.8.1...
Installing RDoc documentation for mysql-2.8.1...
cp: cannot create directory `/opt/framework3/ruby/lib/ruby/gems/1.9.1/gems/': No such file or directory
mv: cannot move `/usr/src/IMPORTANT-README' to `/pentest/exploits/framework3/': Not a directory
dpkg: error processing framework3 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
framework3
E: Sub-process /usr/bin/dpkg returned an error code (1)
any ideas?