I am having the same problem with fresh install of Backtrack 4. I ran apt-get dist-upgrade and keep getting these error messages.
Code:
root@bt:~# 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:
openvas-client: Depends: openvas-scanner (>= 3.0.1-bt0) but it is not installed
E: Unmet dependencies. Try using -f.
Code:
root@bt:~# apt-get -f install openvas-scanner
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
openvas-scanner
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
37 not fully installed or removed.
Need to get 212kB of archives.
After this operation, 926kB of additional disk space will be used.
Get:1 http://archive.offensive-security.com pwnsauce/microverse openvas-scanner 3.1.1-bt0 [212kB]
Fetched 212kB in 1s (144kB/s)
(Reading database ... 234072 files and directories currently installed.)
Unpacking openvas-scanner (from .../openvas-scanner_3.1.1-bt0_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/openvas-scanner_3.1.1-bt0_i386.deb (--unpack):
trying to overwrite `/usr/local/lib/openvas/plugins/synscan.nes', which is also in package openvas-plugins
Errors were encountered while processing:
/var/cache/apt/archives/openvas-scanner_3.1.1-bt0_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Is there a fix for this?