J'ai installé un paquet d'outils recommandé par mon ami et c'est ce que je reçois toujours lorsque j'essaie de mettre à niveau. Mon système a également commencé à geler après avoir installé les outils.
ryan1@ryan1:~$ Sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
\Setting up wpscan (1.1-bt3) ...
WARNING: You don't have /home/ryan1/.gem/Ruby/1.9.1/bin in your PATH,
gem executables will not run.
Successfully installed mime-types-2.0
1 gem installed
Installing ri documentation for mime-types-2.0...
Installing RDoc documentation for mime-types-2.0...
WARNING: You don't have /home/ryan1/.gem/Ruby/1.9.1/bin in your PATH,
gem executables will not run.
Building native extensions. This could take a while...
ERROR: Error installing typhoeus:
ERROR: Failed to build gem native extension.
/usr/bin/Ruby1.9.1 extconf.rb
/usr/lib/Ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)
from /usr/lib/Ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from extconf.rb:4:in `<main>'
Gem files will remain installed in /home/ryan1/.gem/Ruby/1.9.1/gems/ffi-1.9.3 for inspection.
Results logged to /home/ryan1/.gem/Ruby/1.9.1/gems/ffi-1.9.3/ext/ffi_c/gem_make.out
WARNING: You don't have /home/ryan1/.gem/Ruby/1.9.1/bin in your PATH,
gem executables will not run.
Successfully installed xml-simple-1.1.3
1 gem installed
Installing ri documentation for xml-simple-1.1.3...
Installing RDoc documentation for xml-simple-1.1.3...
/var/lib/dpkg/info/wpscan.postinst: line 7: svn: command not found
dpkg: error processing wpscan (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
wpscan
E: Sub-process /usr/bin/dpkg returned an error code (1)
PATH="`Ruby -e 'puts Gem.user_dir'`/bin:$PATH"
Premier message:
WARNING: You don't have /home/ryan1/.gem/Ruby/1.9.1/bin in your PATH,
gem executables will not run.
C'est clair comme de l'eau. Vous devez ajouter le répertoire à votre variable d’environnement PATH:
export PATH="/home/ryan1/.gem/Ruby/1.9.1/bin:$PATH"
La deuxième erreur peut ou non être liée à cela. Posez une nouvelle question avec le contenu du fichier indiqué par le message "Résultats enregistrés dans". Sinon, personne ne pourra vous aider.