저는 Linux 관리 활동이 처음이라 용어에 익숙하지 않습니다. python-pip를 설치해야 합니다. 그러나 설치되었지만 인식되지 않는 python-pip-whl (20.1.1-2)에 의존합니다.
root@kali:/home/kali# apt-get install python-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python-pip : Depends: python-pip-whl (= 9.0.1-2.3~ubuntu1.18.04.4) but 20.1.1-2 is to be installed
Recommends: python-setuptools but it is not going to be installed
Recommends: python-wheel but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
그래서 python-pip-whl (20.1.1-2)을 설치했습니다. 그러나 이전 버전의 python-pip-whl이 문제의 원인이라고 생각합니다. 이 상황을 처리하는 방법.
root@kali:/home/kali# apt-get install python-pip-whl
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-pip-whl is already the newest version (20.1.1-2).
The following packages were automatically installed and are no longer required:
dcraw flac libaudio2 libopenal-data libopenal1 libout123-0 libportaudio2 libsndio7.0 mpg123 openjdk-8-jre python-backports.functools-lru-cache
python-bs4 python-dnspython python-html5lib python-lxml python-netaddr python-soupsieve python-webencodings sqlite3
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 463 not upgraded.
root@kali:/home/kali# apt list -a python-pip-whl
Listing... Done
python-pip-whl/kali-rolling,now 20.1.1-2 all [installed]
python-pip-whl/bionic-security,bionic-updates 9.0.1-2.3~ubuntu1.18.04.4 all
python-pip-whl/bionic 9.0.1-2 all