LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-18-2014, 02:21 AM   #1
Raakh5
Member
 
Registered: Mar 2012
Posts: 167

Rep: Reputation: Disabled
Unable to install nmap


Hello,

Code:
# yum install nmap
Loaded plugins: fastestmirror, security
Determining fastest mirrors
epel/metalink                                            |  25 kB     00:00     
 * epel: mirror.1000mbps.com
base                                                     | 3.7 kB     00:00     
extras                                                   | 3.4 kB     00:00     
updates                                                  | 3.4 kB     00:00     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package nmap.x86_64 2:5.51-3.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package        Arch             Version                   Repository      Size
================================================================================
Installing:
 nmap           x86_64           2:5.51-3.el6              base           2.7 M

Transaction Summary
================================================================================
Install       1 Package(s)

Total size: 2.7 M
Installed size: 9.7 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test


Transaction Check Error:
  file /usr/bin/ncat from install of nmap-2:5.51-3.el6.x86_64 conflicts with file from package nmap-ncat-2:6.40-6.el6.art.x86_64
  file /usr/share/man/man1/ncat.1.gz from install of nmap-2:5.51-3.el6.x86_64 conflicts with file from package nmap-ncat-2:6.40-6.el6.art.x86_64

Error Summary
-------------
Kindly advise

Thanks in anticipation

Best regards
 
Old 08-18-2014, 03:34 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

you seem to have used conflicting repositories. Where did you get the nmap-ncat-2:6.40-6.el6.art.x86_64 package from? Do you need it?

Evo2.
 
Old 08-18-2014, 04:12 AM   #3
Raakh5
Member
 
Registered: Mar 2012
Posts: 167

Original Poster
Rep: Reputation: Disabled
Thanks for your reply. This package was already installed on our dedicated server. I am afraid if I remove it then some programs on the server may suffer particularly plesk. Am I right?

Best regards
 
Old 08-18-2014, 04:16 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

I don't know, I don't use plesk. You can check to see what the currently installed nmap-ncat provides and what is provided by the nmap package you are trying to install.

Evo2.
 
Old 08-18-2014, 07:08 AM   #5
Raakh5
Member
 
Registered: Mar 2012
Posts: 167

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Hi,

I don't know, I don't use plesk. You can check to see what the currently installed nmap-ncat provides and what is provided by the nmap package you are trying to install.

Evo2.
How can I check that?

Thanks again
 
Old 08-18-2014, 11:12 AM   #6
Stvrosky
LQ Newbie
 
Registered: Aug 2014
Location: Chile
Distribution: RHEL 6.5 x86_64
Posts: 15

Rep: Reputation: Disabled
Quote:
Originally Posted by Raakh5 View Post
How can I check that?

Thanks again
Just use:
yum list installed |grep nmap >> This command shows you if nmap was installed, version and who's provides you the software.
If you want more info:
yum info nmap
And more info (maybe you need to put nmap_versión_package):
rpm -qi nmap
 
Old 08-18-2014, 08:47 PM   #7
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

further to what Stvosky posted, yes you should use your package manager to determine this. For example to see what executables are provided by the install nmap-ncat package run:
Code:
rpm -ql nmap-ncat | grep bin
Then find what other packages you could install to provide these commands. For exmaple if nmap cat provides both nmap and ncat you run the following two commands to find out what you should install to provide the same functionality if you were to remove nmap-ncat
Code:
yum provides '*/bin/nmap'
yum provides '*/bin/ncat'
Please note that issues like this are random packages from random repositories should not be mixed, and they are, they should be documented in the sysadmins notes.

Evo2.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Unable to install Linux(Centos) on virtual machine using virt-install --prompt shazgaurav Linux - Newbie 9 12-15-2013 12:41 PM
How to install nmap and all of its dependencies on Ubuntu ljw Linux - Newbie 7 04-08-2012 12:34 AM
nmap ? how do i do nmap in linux ? command not found abbasakhtar Linux - Newbie 2 01-02-2011 02:08 AM
LXer: Learn how to use nmap, and nmap GUI, a great port scan tool LXer Syndicated Linux News 0 01-03-2008 10:10 AM
nmap increase send delay for nmap 4.20 matters Slackware 1 10-02-2007 12:37 AM


All times are GMT -5. The time now is 02:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration