Tried to upgrade from backtrack 4 beta to pre final using
apt-get dist-upgrade
Downloaded a large amount of packages.. and then i get this
root@bt4:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... 50%
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
backtrack-discovery: Depends: scapy2 but it is not installed
medusa: Depends: libssh2 but it is not installed
python-scapy: Depends: scapy2 but it is not installed
scapy: Depends: scapy2 but it is not installed
E: Unmet dependencies. Try using -f.
trying apt-get install -f doesnt work either...
root@bt4:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
pymacs wamerican python-psyco samdump2-menu python-mode pyrit milw0rm pyrex-mode framework3-libs netdiscover-menu pychecker
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libssh2 scapy2
The following NEW packages will be installed:
libssh2 scapy2
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
327 not fully installed or removed.
Need to get 0B/706kB of archives.
After this operation, 4444kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 233444 files and directories currently installed.)
Unpacking libssh2 (from .../libssh2_1.2.2-bt0_all.deb) ...
dpkg: error processing /var/cache/apt/archives/libssh2_1.2.2-bt0_all.deb (--unpack):
trying to overwrite `/usr/include/libssh2.h', which is also in package libssh2-1-dev
Unpacking scapy2 (from .../scapy2_2.1-bt1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/scapy2_2.1-bt1_all.deb (--unpack):
trying to overwrite `/opt/kde3/share/applications/external/scapy.desktop', which is also in package scapy-menu
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/libssh2_1.2.2-bt0_all.deb
/var/cache/apt/archives/scapy2_2.1-bt1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any ideas?