-2
我正在尝试为Raspberry Pi获取nmap,并且遇到错误。我遵循这里的说明: http://nmap.org/book/inst-linux.html#inst-debianRaspberry Pi无法安装Nmap,失败的依赖关系
我已经安装了外星人。下一个命令是
rpm -vhU https://nmap.org/dist/nmap-6.49BETA2-1.i386.rpm
但我得到这个错误:
[email protected] ~ $ rpm -vhU https://nmap.org/dist/nmap-6.49BETA2-1.i386.rpm
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
Retrieving https://nmap.org/dist/nmap-6.49BETA2-1.i386.rpm
error: Failed dependencies:
python >= 2.4 is needed by nmap-2:6.49BETA2-1.i386
但我的Python的版本是:
[email protected] ~ $ python --version
Python 2.7.3
这是怎么回事?
试试'apt-get install nmap'。 – duskwuff
谢谢,这工作! – Nick