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