Inicio
Buscar
Ingresar
Registrarse
Starfield: el juego que revolucionará el espacio y la tecnología
Hack x Crack - Comunidad de Seguridad informática
»
Sistemas operativos
»
GNU / Linux
»
error: E: sub-process /usr/bin/dpkg returned an error code (1)
Imprimir
Páginas: [
1
]
Ir Abajo
Autor
Tema: error: E: sub-process /usr/bin/dpkg returned an error code (1) (Leído 4332 veces)
neper01
{ L1 } Newbie
Mensajes: 71
error: E: sub-process /usr/bin/dpkg returned an error code (1)
«
en:
Diciembre 30, 2013, 12:19:22 am »
Saludos a todos.
Éste es el error que me aparece: error: E: sub-process /usr/bin/dpkg returned an error code (1), después de escribir en una terminal: apt-get upgrade. He buscado en el foro y encontré algo, pero, no entendi nada, busqué por interner y encontre en:
http://www.linuxinicio.com.ar/2013/10/solucion-al-error-e-sub-process.html
que debo borrar los archivos que estan causando el conflicto, pero, no sé cuál es, así que quisiera saber cuál es, les dejo lo que me aparece después de escribir apt-get upgrade.
apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
smartphone-pentest-framework
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up se-toolkit (4.2.1-bt0) ...
svn: '
http://svn.trustedsec.com/social_engineering_toolkit
' path not found
dpkg: error processing se-toolkit (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up w3af (1.2-bt2) ...
tar: pybloomfiltermmap-0.2.0.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
/var/lib/dpkg/info/w3af.postinst: line 4: cd: pybloomfiltermmap-0.2.0: No such file or directory
python: can't open file 'setup.py': [Errno 2] No such file or directory
svn: Repository moved permanently to '
https://svn.code.sf.net/p/w3af/code/trunk';
please relocate
dpkg: error processing w3af (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
se-toolkit
w3af
E: Sub-process /usr/bin/dpkg returned an error code (1)
Bien, esto es el problema, quisiera que me hecharan una mano por favor. De antemano muchas gracias
.
En línea
stakewinner00
{ L7 } Juanker
Mensajes: 1010
Re:error: E: sub-process /usr/bin/dpkg returned an error code (1)
«
Respuesta #1 en:
Diciembre 30, 2013, 12:25:29 am »
Hay una herramienta gráfica llamada synaptic que quizás ya este instalada en tu distro y no haga falta instalarla que puede ayudarte a solucionar este problema. Detecta automáticamente los paquetes rotos y si vas a Editar -> reparar paquetes rotos, ya intenta repararlo el programa mismo
También puedes probar apt-get -f install
«
Última modificación: Diciembre 30, 2013, 12:28:45 am por stakewinner00
»
En línea
alandaluz
{ L1 } Newbie
Mensajes: 57
Re:error: E: sub-process /usr/bin/dpkg returned an error code (1)
«
Respuesta #2 en:
Diciembre 30, 2013, 02:25:56 am »
no tengo ni idea de linux.. pero creo que te está diciendo que no encuentra una carpeta.
/var/lib/dpkg/info/w3af.postinst: line 4: cd:
pybloomfiltermmap-0.2.0: No such file or directory
se supone que en la linea 4 de w3af.postinst falla porque no encuentra pybloomflitermmap...
buscalo y no tengas compasión.. elimína a pybloomfiltermmap antes de que sea tarde.
(que frase más hollywoodiense)
En línea
neper01
{ L1 } Newbie
Mensajes: 71
Re:error: E: sub-process /usr/bin/dpkg returned an error code (1)
«
Respuesta #3 en:
Diciembre 30, 2013, 03:23:36 am »
Gracias por responder stakewinner00 y alandaluz.
stakewinner00 , no tenia el synaptic, pero lo instalé (apt-get synaptic), después, busque el archivo desde el synaptic (pybloomflitermmap) y no apareció, también busqué (w3af.postinst) e otro y me apareció w3af y fuí a edit para reparar paquetes rotos pero no paso nada. Escribi en una terminal: apt-get -f install y me apareció:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libdmraid1.0.0.rc16 python-pyicu libaccess-bridge-java-jni
libaccess-bridge-java libdebian-installer4 cryptsetup libecryptfs0
reiserfsprogs rdate bogl-bterm ecryptfs-utils libdebconfclient0 dmraid
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up se-toolkit (4.2.1-bt0) ...
svn: '
http://svn.trustedsec.com/social_engineering_toolkit
' path not found
dpkg: error processing se-toolkit (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up w3af (1.2-bt2) ...
tar: pybloomfiltermmap-0.2.0.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
/var/lib/dpkg/info/w3af.postinst: line 4: cd: pybloomfiltermmap-0.2.0: No such file or directory
python: can't open file 'setup.py': [Errno 2] No such file or directory
svn: Repository moved permanently to '
https://svn.code.sf.net/p/w3af/code/trunk';
please relocate
dpkg: error processing w3af (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
se-toolkit
w3af
E: Sub-process /usr/bin/dpkg returned an error code (1)
Agradezco la ayuda de los Dos. Por cierto alandaluz, intente econtrar el archivo que me dijiste pero no apareció, pero se agradece tu ayuda. De antemano muchas gracias
.
En línea
neper01
{ L1 } Newbie
Mensajes: 71
Re:error: E: sub-process /usr/bin/dpkg returned an error code (1)
«
Respuesta #4 en:
Diciembre 30, 2013, 04:19:47 am »
Saludos, pude encontrar cómo resolver el problema de el archivo w3af, lo encontré en una pagina:
http://stackoverflow.com/questions/14706573/backtrack-5-r3-apt-get-upgrade-error-need-help
. En resumen tienes que localizar el archivo w3af.postinst, le das click derecho, aparecerá un cuadro de dialogo con unas opciones, elegir display, entonces al final aparece la dirección con la que se supone va a actualizar, pero, esta mal, así que hay que cambiarla por esta:
https://svn.code.sf.net/p/w3af/code/trunk
guardas y cierras. Abres una terminal y escribes apt-get upgrade y solucionado el problema de w3af, pero, no todo es alegría, el problema principal sigue, cuando finaliza de actualizar el w3af, sale el siguiente error:
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
smartphone-pentest-framework
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up se-toolkit (4.2.1-bt0) ...
svn: '
http://svn.trustedsec.com/social_engineering_toolkit
' path not found
dpkg: error processing se-toolkit (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
se-toolkit
E: Sub-process /usr/bin/dpkg returned an error code (1)
Agradecería su ayuda, de antemano gracias
.
En línea
alandaluz
{ L1 } Newbie
Mensajes: 57
Re:error: E: sub-process /usr/bin/dpkg returned an error code (1)
«
Respuesta #5 en:
Diciembre 30, 2013, 04:28:21 am »
según su página oficial hay que poner esto:
git clone
https://github.com/trustedsec/social-engineer-toolkit/
set/
sitio de descarga oficial:
https://www.trustedsec.com/downloads/social-engineer-toolkit/
En línea
neper01
{ L1 } Newbie
Mensajes: 71
Re:error: E: sub-process /usr/bin/dpkg returned an error code (1)
«
Respuesta #6 en:
Diciembre 30, 2013, 04:13:28 pm »
Saludos, gracias por responder alandaluz.
Podrías ser un poco más detallado?, o pasarme la página donde lo leíste?, es que, no me quedo claro a que archivo, (¿Dónde se encuentra el archivo?) hay que cambiarle la dirección y no sé si hay que remplazarla con las dos que pusiste. Agradezco mucho tu ayuda, de verdad
.
En línea
alandaluz
{ L1 } Newbie
Mensajes: 57
Re:error: E: sub-process /usr/bin/dpkg returned an error code (1)
«
Respuesta #7 en:
Diciembre 30, 2013, 04:21:46 pm »
entra en esta página y al final leeras que para descargar lo que te falta hay que escribir en la consola lo que dice al final de la página.
https://www.trustedsec.com/downloads/social-engineer-toolkit/
En línea
neper01
{ L1 } Newbie
Mensajes: 71
Re:error: E: sub-process /usr/bin/dpkg returned an error code (1)
«
Respuesta #8 en:
Diciembre 30, 2013, 05:12:27 pm »
Saludos alandaluz.
Bueno, puse el comando que decía la página e instalo algo, pero el problema no se fue, sigue aquí. Ésto fue lo que aparecio: apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
smartphone-pentest-framework
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up se-toolkit (4.2.1-bt0) ...
svn: '
http://svn.trustedsec.com/social_engineering_toolkit
' path not found
dpkg: error processing se-toolkit (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
se-toolkit
E: Sub-process /usr/bin/dpkg returned an error code (1)
Agradesco tu ayuda. Seguire buscando por internet, si encuentras algo (abusando de tu tiempo) por favor agradecería me dijeras, te agradesco de nuevo
.
En línea
neper01
{ L1 } Newbie
Mensajes: 71
Re:error: E: sub-process /usr/bin/dpkg returned an error code (1)
«
Respuesta #9 en:
Diciembre 31, 2013, 06:35:20 am »
Saludos a todos.
Escribo para informar que después de teclear un apt-get update y seguidamente un apt-get upgrade, el error ha desaparecido. Al parecer el error se enfoca en el archivo es-toolkit.postinst que se encuentra en /var/lib/dpkg/info/es-toolkit.postinst. Para resolverlo lo único que tienen que hacer es cambiar (remplazar) la dirección que se encuentra dentro del archivo (le dan doble click al archivo y después eligen la opción display, para que abra el archivo) por esta:
https://github.com/trustedsec/social-engineer-toolkit/
grabar los cambios, cerrar y volver a teclear apt-get update para después introducir el apt-get upgrade y al terminar el upgrade ya no debe aparecer el error.
Bueno, creo que entre los usuarios que me ayudaron (alandaluz y stakewinner00) y yo (sin olvidar a los que en otras páginas ya habían posteado la solución y sólo era cuestión de buscar) pudimos resolver este problema, así que, doy gracias por la ayuda brindada, muchas gracias de nuevo.
No me despido puesto que por aquí estaré dando lata, hasta luego.
ATTE: Neper01.
En línea
Imprimir
Páginas: [
1
]
Ir Arriba
Hack x Crack - Comunidad de Seguridad informática
»
Sistemas operativos
»
GNU / Linux
»
error: E: sub-process /usr/bin/dpkg returned an error code (1)
Va un mudo y le dice a un sordo: Hack x Crack usa cookies. Pues eso...
OK
Learn more