Cuando intenté actualizar mi Kali Linux a su versión 2020, siempre aparece un código de error:
dpkg: error processing archive /var/cache/apt/archives/kali-themes_2020.2.1_all.deb (--unpack):
dpkg: error processing archive /var/cache/apt/archives/ruby-progressbar_1.10.1-1_all.deb (--unpack):
trying to overwrite '/usr/lib/ruby/vendor_ruby/ruby-progressbar/base.rb' which is also in package ruby-ruby-progressbar 1.6.0-0kali1
E: Sub-process /usr/bin/dpgk returned with error code (1)
y cuando terminé de hacer sudo dpkg --configure -a, decía:
**dpkg**: dependency problems prevent configuration of ruby-cms-scanner:
ruby-cms-scanner depends on ruby-progressbar (>=1.9.0); however:
pacakge ruby-progressbar is not installed
**dpkg**: error processing package ruby-cms-scanner(--configure):
dependency problems - leaving unconfigured
**dpkg**: dependency problems prevent configuration of gnome-theme-kali:
gnome-theme-kali depends on kali-themes; however:
package kali-themes is not installed.
**dpkg**: error processing package gnome-theme-kali (--configure):
dependency problems - leaving unconfigured
**dpkg**: dependency problems prevent configuration of wpscan:
wpscan depends on ruby-cms-scanner; however:
package ruby-cms-scanner is not configured yet.
**dpkg**: error processing package wpscan (--configure):
dependency problem - leaving unconfigured
errors were encountered while processing:
ruby-cms-scanner
gnome-theme-kali
wpscan
He probado: sudo apt-get install -f sudo apt-get autoclean sudo apt-get install aptitude (de alguna manera no puedo instalarlo) sudo apt-get -u dist-upgrade
y ni siquiera puedo purgar o eliminar el tema
¿Qué tengo que hacer? También usé Virtual Box para ejecutar mi Kali. Por favor dame paso a paso de cómo solucionar este error.
Respuesta1
A mi me pasó exactamente lo mismo, ejecuto:
sudo dpkg -P ruby-ruby-progressbar
y luego continuó la instalación con:
sudo apt --fix-broken install -y