kali linux를 2020 버전으로 업그레이드하려고 하면 항상 오류 코드가 반환됩니다.
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)
sudo dpkg --configure -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
나는 시도했습니다 : sudo apt-get install -f sudo apt-get autoclean sudo apt-get install aptitude (어떻게 든 설치할 수 없습니다) sudo apt-get -u dist-upgrade
테마를 제거하거나 제거할 수도 없습니다.
어떻게 해야 합니까? Virtual Box를 사용하여 Kali도 실행했습니다. 이 오류를 해결하는 방법을 단계별로 알려주세요.
답변1
나는 똑같은 일을 겪었습니다.
sudo dpkg -P ruby-ruby-progressbar
그런 다음 다음을 사용하여 설치를 계속했습니다.
sudo apt --fix-broken install -y