2016-07-10 32 views
-1

Ich versuche, Metasploit auf Ubuntu 16.04 zu installieren. Ich habe versucht, die Abhängigkeiten zu installieren BefehlInstallation von Metasploit auf Ubuntu 16.04

sudo apt-get install ruby libopenssl-ruby libyaml-ruby libdl-ruby libiconv-ruby libreadline-ruby irb ri rubygems 

aber den Fehler immer unter

Building dependency tree  
Reading state information... Done 
Note, selecting 'ruby' instead of 'irb' 
Note, selecting 'ruby' instead of 'rubygems' 
Package libopenssl-ruby is not available, but is referred to by another package. 
This may mean that the package is missing, has been obsoleted, or 
is only available from another source 

E: Package 'libopenssl-ruby' has no installation candidate 
E: Unable to locate package libyaml-ruby 
E: Unable to locate package libdl-ruby 
E: Unable to locate package libiconv-ruby 
E: Unable to locate package libreadline-ruby 

Ich habe auch versucht rvm Installation Befehl

\curl -L https://get.rvm.io | bash -s stable 

aber es gibt auch Fehlern folgende

% Total % Received % Xferd Average Speed Time Time  Time Current 
           Dload Upload Total Spent Left Speed 
    0  0 0  0 0  0  0  0 --:--:-- --:--:-- --:--:--  0curl: (6) Could not resolve host: get.rvm.io 

kann jemand eine lösung dafür vorschlagen?

+0

ich vergaß zu erwähnen, ubuntu in vnware Workstation ist –

Antwort

1

Ich hatte dieses Problem zuvor und ich musste eine Ruby-Ressource/Repository hinzufügen, um die Ruby-Module von herunterladen. Sie sollten die kali Linux-Repositories zu Ihrer Ressourcendatei hinzufügen.

darkoperator gibt alternative Beispiele, Ihnen zu helfen:

http://www.darkoperator.com/installing-metasploit-in-ubunt/

+0

Dank es funktionierte –

Verwandte Themen