私は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