sins@host:~$ sudo apt-get -f install
[sudo] password for sins:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up beef-project (0.4.7.0~alpha+git20160518-0backbox1) ...
Extracting beef ...
Installing Ruby Gems ...
ERROR: While executing gem ... (TypeError)
no implicit conversion of nil into String
dpkg: error processing package beef-project (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up metasploit-framework (4.12+git20160518-0backbox1) ...
Extracting Metasploit Framework ...
Installing Ruby Gems ...
ERROR: While executing gem ... (TypeError)
no implicit conversion of nil into String
dpkg: error processing package metasploit-framework (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up wpscan (2.9.1+git20160518-0backbox1) ...
Extracting wpscan ...
Installing Ruby Gems ...
ERROR: While executing gem ... (TypeError)
no implicit conversion of nil into String
dpkg: error processing package wpscan (--configure):
subprocess installed post-installation script returned error exit status 1
Updating BackBox console menu ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
I use backbox 4.2.0 and when I try to sudo apt-get -f install then see the error like this. I think the problem is in wpascan, Metasploit-framwork and beef-project but I do not know how to fix?
This error also appears when I upgrade or dist-upgrade
thanks...