root@kali:~# sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
Need to get 0 B/587 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
dpkg: error processing package tk8.6-blt2.5 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of python-tk:
python-tk depends on tk8.6-blt2.5 (>= 2.5.3); however:
Package tk8.6-blt2.5 is not configured yet.
dpkg: error processing package python-tk (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of blt:
blt depends on tk8.6-blt2.5 (= 2.5.3+dfsg-4); however:
Package tk8.6-blt2.5 is not configured yet.
dpkg: error processing package blt (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of tcpwatch-httpproxy:
tcpwatch-httpproxy depends on python-tk; however:
Package python-tk is not configured yet.
dpkg: error processing package tcpwatch-httpproxy (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-pil.imagetk:amd64:
python-pil.imagetk:amd64 depends on python-tk (>= 2.7.7-2); however:
Package python-tk is not configured yet.
dpkg: error processing package python-pil.imagetk:amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
tk8.6-blt2.5
python-tk
blt
tcpwatch-httpproxy
python-pil.imagetk:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@kali:~#
이 오류가 발생하는 이유는 무엇입니까?
답변1
중요한 오류 메시지는 다음과 같습니다.
dpkg
:패키지 처리 중 오류 발생tk8.6-blt2.5
(--configure
): 패키지의 일관성이 매우 나쁜 상태입니다. 구성을 시도하기 전에 다시 설치해야 합니다.
패키지를 다시 설치해야 합니다.
apt install --reinstall tk8.6-blt2.5