Temas Kali e erro Ruby Progressbar no Kali Linux após a atualização

Temas Kali e erro Ruby Progressbar no Kali Linux após a atualização

quando tentei atualizar meu kali linux para a versão 2020, ele sempre retorna com código de erro:

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)

e quando terminei de fazer sudo dpkg --configure -a, ele disse:

**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

Eu tentei: sudo apt-get install -f sudo apt-get autoclean sudo apt-get install aptitude (de alguma forma não consigo instalá-lo) sudo apt-get -u dist-upgrade

e não consigo nem limpar ou remover o tema

O que devo fazer? Usei o Virtual Box para rodar meu Kali também. Por favor, me dê passo a passo como resolver esse erro.

Responder1

Eu tive exatamente a mesma coisa, execute:

sudo dpkg -P ruby-ruby-progressbar

e então continuei a instalação com:

sudo apt --fix-broken install -y

informação relacionada