root@cx:/# apt-get dist-upgrade
Reading package lists... Done
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:
medusa: Depends: libssh2 but it is not installed
E: Unmet dependencies. Try using -f.
root@cx:/# apt-get dist-upgrade -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
Calculating upgrade... Done
The following NEW packages will be installed:
libssh2
The following packages have been kept back:
backtrack-discovery backtrack-enumeration backtrack-network
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 0B/309kB of archives.
After this operation, 1847kB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 251011 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/lib/libssh2.so.1', which is also in package libssh2-1
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/libssh2_1.2.2-bt0_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)