Código
cat /etc/issue Debian GNU/Linux 4.0 \n \l uname -r 2.6.18-6-486
Estaba siguiendo los pasos de éste enlace: https://fity666.wordpress.com/about/
que decía:
Citar
Lo primero sera instalar las dependencias de ruby las cuales son esenciales para su instalación
sudo apt-get install ruby libruby rdoc
sudo apt-get install libyaml-ruby
sudo apt-get install libzlib-ruby
sudo apt-get install libopenssl-ruby
sudo apt-get install libdl-ruby
sudo apt-get install libreadline-ruby
sudo apt-get install libiconv-ruby
sudo apt-get install rubygems *
apt-get install libgtk2-ruby libglade2-ruby
El paso siguiente es descargar metasploit desde su sitio oficial
http://www.metasploit.com/framework/download/
sudo apt-get install ruby libruby rdoc
sudo apt-get install libyaml-ruby
sudo apt-get install libzlib-ruby
sudo apt-get install libopenssl-ruby
sudo apt-get install libdl-ruby
sudo apt-get install libreadline-ruby
sudo apt-get install libiconv-ruby
sudo apt-get install rubygems *
apt-get install libgtk2-ruby libglade2-ruby
El paso siguiente es descargar metasploit desde su sitio oficial
http://www.metasploit.com/framework/download/
Cuanto empiezo por el primer comando:
Citar
apt-get install ruby libruby rdoc
Obtengo ésta salida:
Citar
apt-get install ruby libruby rdoc
Reading package lists...
Building dependency tree...
Reading state information...
ruby is already the newest version.
libruby is already the newest version.
rdoc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up cupsys-client (1.2.7-4+etch9) ...
Adding group `lpadmin' (GID 110) ...
groupadd: unable to lock group file
addgroup: `/usr/sbin/groupadd -g 110 lpadmin' returned error code 10. Exiting.
dpkg: error processing cupsys-client (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of cupsys-bsd:
cupsys-bsd depends on cupsys-client (= 1.2.7-4+etch9); however:
Package cupsys-client is not configured yet.
dpkg: error processing cupsys-bsd (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
cupsys-client
cupsys-bsd
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists...
Building dependency tree...
Reading state information...
ruby is already the newest version.
libruby is already the newest version.
rdoc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up cupsys-client (1.2.7-4+etch9) ...
Adding group `lpadmin' (GID 110) ...
groupadd: unable to lock group file
addgroup: `/usr/sbin/groupadd -g 110 lpadmin' returned error code 10. Exiting.
dpkg: error processing cupsys-client (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of cupsys-bsd:
cupsys-bsd depends on cupsys-client (= 1.2.7-4+etch9); however:
Package cupsys-client is not configured yet.
dpkg: error processing cupsys-bsd (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
cupsys-client
cupsys-bsd
E: Sub-process /usr/bin/dpkg returned an error code (1)
Como ven, los paquetes de ruby que necesito para instalar metasploit no se pudieron instalar como corresponde. Tengo muchos problemas con el apt-get. Mi sources.list contiene lo siguiente:
Citar
deb http://ftp.de.debian.org/debian-archive/debian/ etch main
deb-src http://ftp.de.debian.org/debian-archive/debian/ etch main
deb-src http://ftp.de.debian.org/debian-archive/debian/ etch main
Ya hice un apt-get update, y luego probé también apt-get upgrade y aquí obtengo problemas parecidos al que compartí aquí arriba...
Me gustaría que me dieran alguna idea para resolver mi problema. Si necesitan algo más de información, avisenme. Saludos y gracias!