为什么安装不了namp啊求大神指教

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
zhumlgj
帖子: 9
注册时间: 2018-03-19 10:53

为什么安装不了namp啊求大神指教

#1

帖子 zhumlgj » 2018-03-19 11:11

按照这上面的教程结果还是安装不了 :Cry https://www.linuxidc.com/Linux/2014-04/100658.htm
TIM截图20180319110441.png
TIM截图20180319110441.png


感谢热心人的回复 :Adore 我去https://launchpad.net/ubuntu/zesty/+source/nmap(感谢3楼)上下了源码包 然后根据百度上https://zhidao.baidu.com/question/392746819934091765.html的教程安装好了
附件
安装好了
安装好了
TIM截图20180319110608.png
TIM截图20180319110636.png
上次由 zhumlgj 在 2018-03-19 16:51,总共编辑 1 次。
jinjiachen
帖子: 2148
注册时间: 2012-12-16 15:43
系统: debian

Re: 为什么安装不了namp啊求大神指教

#2

帖子 jinjiachen » 2018-03-19 13:10

看样子是没这个包吧,你先搜索在安装

代码: 全选

aptitude search namp
是什么扫描软件吗,我记得好像是nmap吧
感受下
帖子: 62
注册时间: 2018-03-03 19:36
系统: ubuntu

Re: 为什么安装不了namp啊求大神指教

#3

帖子 感受下 » 2018-03-19 13:32

https://launchpad.net/ubuntu/zesty/+source/nmap

如果apt 安装不了,我一般在上面这个网站上去搜索。看有其他安装方式不。
w(゚Д゚)w

linux_ubuntu新手,正在坚持长期使用
希望将来能为社区做贡献
(๑•̀ㅂ•́)و✧
w(゚Д゚)w
zhumlgj
帖子: 9
注册时间: 2018-03-19 10:53

Re: 为什么安装不了namp啊求大神指教

#4

帖子 zhumlgj » 2018-03-19 16:19

jinjiachen 写了:看样子是没这个包吧,你先搜索在安装

代码: 全选

aptitude search namp
是什么扫描软件吗,我记得好像是nmap吧
啊啊 是nmap 但是改成nmap 后是这个样子
附件
错误截图.png
zhumlgj
帖子: 9
注册时间: 2018-03-19 10:53

Re: 为什么安装不了namp啊求大神指教

#5

帖子 zhumlgj » 2018-03-19 16:22

感受下 写了:https://launchpad.net/ubuntu/zesty/+source/nmap

如果apt 安装不了,我一般在上面这个网站上去搜索。看有其他安装方式不。
然后应该怎么安装啊 :Smile :em06
附件
网页截图.png
fuhuizn
帖子: 948
注册时间: 2006-01-06 22:55
系统: ubuntu
联系:

Re: 为什么安装不了namp啊求大神指教

#6

帖子 fuhuizn » 2018-03-19 21:46

nmap是main目录里的,不可能找不到,楼主的apt数据是不是坏了,试一下先运行:apt-get update

代码: 全选

$ apt-cache show nmap
Package: nmap
Architecture: amd64
Version: 7.60-1ubuntu1
Priority: extra
Section: net
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Security Tools Packaging Team <pkg-security-team@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 23415
Depends: libc6 (>= 2.15), libgcc1 (>= 1:3.0), liblinear3 (>= 2.01+dfsg), liblua5.3-0, libpcap0.8 (>= 0.9.8), libpcre3, libssl1.0.0 (>= 1.0.2~beta3), libstdc++6 (>= 5.2), zlib1g (>= 1:1.1.4)
Recommends: ndiff
Filename: pool/main/n/nmap/nmap_7.60-1ubuntu1_amd64.deb
Size: 5176134
MD5sum: d89dcf5f72e00b5b6f18a70e06dda0d8
SHA1: 84e3dbac3db6c49c29ef08c6be3aea20a129524d
SHA256: 1dbb5599843154386d60b2b11e1485ffeebd4763df3a63a35615f32eebba984a
Homepage: http://nmap.org/
Description-en: The Network Mapper
 Nmap is a utility for network exploration or security auditing. It
 supports ping scanning (determine which hosts are up), many port
 scanning techniques, version detection (determine service protocols
 and application versions listening behind ports), and TCP/IP
 fingerprinting (remote host OS or device identification). Nmap also
 offers flexible target and port specification, decoy/stealth scanning,
 sunRPC scanning, and more. Most Unix and Windows platforms are
 supported in both GUI and commandline modes. Several popular handheld
 devices are also supported, including the Sharp Zaurus and the iPAQ.
Description-md5: bc417f4c1fdba7d8d9b0ca8a2a90b7a8
Supported: 9m
感受下
帖子: 62
注册时间: 2018-03-03 19:36
系统: ubuntu

Re: 为什么安装不了namp啊求大神指教

#7

帖子 感受下 » 2018-03-20 10:20

li@li-pc:~$ sudo apt-fast install nmap


03/20 10:15:58 [NOTICE] Downloading 9 item(s)
[DL:0B][#a63444 0B/0B][#e34b21 0B/0B][#4bf006 0B/0B][#fc8eaa 0B/0B][#852acc 0B/0B]

03/20 10:15:59 [NOTICE] Verification finished successfully. file=/var/cache/apt/apt-fast/python-webencodings_0.5-2_all.deb
li@li-pc:~$ sudo apt-fast install nmap


03/20 10:15:58 [NOTICE] Downloading 9 item(s)
[DL:0B][#a63444 0B/0B][#e34b21 0B/0B][#4bf006 0B/0B][#fc8eaa 0B/0B][#852acc 0B/0B]

03/20 10:15:59 [NOTICE] Verification finished successfully. file=/var/cache/apt/apt-fast/python-webencodings_0.5-2_all.deb




-------


自己安装成功。
你换一下源吧


deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ artful-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ artful main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ artful-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ artful-security main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ artful main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ artful-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ artful-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ artful-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ artful-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ artful main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ artful-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ artful-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ artful-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ artful-backports main restricted universe multiverse

deb http://ppa.launchpad.net/h167297/hening/ubuntu trusty main
deb-src http://ppa.launchpad.net/h167297/hening/ubuntu trusty main

deb http://ppa.launchpad.net/justzx2011/ope ... 0.4/ubuntu devel main
deb-src http://ppa.launchpad.net/justzx2011/ope ... 0.4/ubuntu devel main
deb http://cz.archive.ubuntu.com/ubuntu xenial main
# deb https://dl.winehq.org/wine-builds/ubuntu/ artful main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ artful main
li@li-pc:~$
------------------

你更换前,先把以前的文件备份一下。这是我目前用的源。

源更换了,update 一下
w(゚Д゚)w

linux_ubuntu新手,正在坚持长期使用
希望将来能为社区做贡献
(๑•̀ㅂ•́)و✧
w(゚Д゚)w
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 为什么安装不了namp啊求大神指教

#8

帖子 poloshiao » 2018-03-20 11:49

TIM截图20180319110441.png [ 79 KiB | 被瀏覽 156 次 ]
1. https://wiki.ubuntu.com/ZestyZapus/Rele ... t_lifespan
Ubuntu 17.04 will be supported for 9 months until January 2018.
1-1. Ubuntu 17.04 的 線上安裝/更新 支援期是 9 個月 2018/01 到期
1-2. 過期後 整個套件庫 被遷移到
http://old-releases.ubuntu.com/ubuntu/dists/zesty/
http://old-releases.ubuntu.com/ubuntu/d ... y-updates/
http://old-releases.ubuntu.com/ubuntu/d ... -security/
http://old-releases.ubuntu.com/ubuntu/d ... -proposed/
http://old-releases.ubuntu.com/ubuntu/d ... backports/
1-3. 意思是 你的 /etc/apt/sources.list 檔案 裡面的 套件庫 網址 需要更改為
http://old-releases.ubuntu.com/ubuntu/
然後 sudo apt update
再開始安裝

2. 建議
更新為 Ubuntu 16.04 支援期 5 年
回复