Problema al instalar/desinstalar paquetes.
Stakewinner00:
Tengo un problema que me tiene harto, e estado buscando info sobre como arreglarlo y nada a servido
Me instale el virtualbox-4.2 y me salia broken package, con el synaptic le puse reparar los paquetes rotos y me salio lo siguiente
Código:
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
si pongo el comando
Citar
sudo apt-get remove --purge virtualbox-4.2
me sale
Código:
dpkg: error processing virtualbox-4.2 (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
virtualbox-4.2
E: Sub-process /usr/bin/dpkg returned an error code (1)
tambien prove
Código:
sudo apt-get update && sudo apt-get upgrade
y el resultado fue este
Citar
Fetched 2,479B in 2s (888B/s)
Reading package lists... Done
W: GPG error: http://repository.spotify.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 082CCEDF94558F59
W: GPG error: http://download.virtualbox.org precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 54422A4B98AB5139
W: GPG error: http://download.virtualbox.org oneiric Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 54422A4B98AB5139
W: GPG error: http://download.virtualbox.org natty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 54422A4B98AB5139
W: GPG error: http://download.virtualbox.org maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 54422A4B98AB5139
W: GPG error: http://download.virtualbox.org lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 54422A4B98AB5139
W: GPG error: http://download.virtualbox.org karmic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 54422A4B98AB5139
W: GPG error: http://download.virtualbox.org hardy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 54422A4B98AB5139
W: GPG error: http://download.virtualbox.org wheezy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 54422A4B98AB5139
W: GPG error: http://download.virtualbox.org squeeze Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 54422A4B98AB5139
W: GPG error: http://download.virtualbox.org lenny Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 54422A4B98AB5139
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
E: Unmet dependencies. Try using -f.
Alguna idea de como solucionarlo?
Gracias
-- KiLiaN --:
Prueba a reinstalar virtualbox y a eliminarlo de nuevo.
Stakewinner00:
Cita de: -- KiLiaN -- en 15 Diciembre 2012, 15:28 pm
Prueba a reinstalar virtualbox y a eliminarlo de nuevo.
lo intente desinstalar con el comando
Código:
apt-get remove virtualbox-4.2
pero me da un error y me sale lo siguiente
Citar
Do you want to continue [Y/n]? Y
dpkg: error processing virtualbox-4.2 (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
virtualbox-4.2
E: Sub-process /usr/bin/dpkg returned an error code (1)
sabes alguna otra forma de reinstalarlo?
Gracias
portaro:
lee atentamente a ver si te puede ayudar, tambien me ha surgido la idea de interntar una force -
http://ubuntuforums.org/showthread.php?t=1608698 te puede quebrantear la distro hazlo en ultimo caso.
sudo dpkg --force-all --purge nombre
-- KiLiaN --:
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Citar
El paquete está en un estado muy malo e inconsistente - debe
reinstalarlo antes de intentar una extracción.
Por eso te he dicho reinstalalo haciendo un apt-get install virtualbox-4.2 y luego cuando esté instalado lo desistalas haciendo apt-get remove.
Navegación
[#] Página Siguiente