Page 3 of 4

Re: Error instaling fprobe on linux server

Posted: Mon Apr 27, 2015 12:52 pm
by jolson
The yum command does not say that it's already installed:
No package libpcap-devel available.
Error: Nothing to do
We need to figure out how to install the above package on your box. You may need to talk to whoever manages Satellite.

Could you run a repolist for us?

Code: Select all

yum repolist

Re: Error instaling fprobe on linux server

Posted: Mon Apr 27, 2015 12:56 pm
by bosecorp
Yes it does.

# yum -y install libpcap*
Loaded plugins: refresh-packagekit, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Package 14:libpcap-1.4.0-1.20130826git2dbcaa1.el6.x86_64 already installed and latest version
Nothing to do

Re: Error instaling fprobe on linux server

Posted: Mon Apr 27, 2015 1:12 pm
by jolson
libpcap and libpcap-devel are different packages - pcap.h is included in libpcap-devel, which is the package that is not being found by yum on your end.

I originally asked you to use 'yum install libpcap*' under the impression that it would also include libpcap-devel, but unfortunately that is not the case.

Re: Error instaling fprobe on linux server

Posted: Mon Apr 27, 2015 1:19 pm
by lmiltchev
I believe you can check whether or not you are subscribed to the Optional channel by running the following command in the CLI:

Code: Select all

rhn-channel -l | grep -i optional

Re: Error instaling fprobe on linux server

Posted: Tue Apr 28, 2015 4:22 pm
by bosecorp
I am subscribed

Re: Error instaling fprobe on linux server

Posted: Tue Apr 28, 2015 4:50 pm
by jolson
bosecorp,

We have a Red Hat test machine, and it can find 'libpcap-devel' with no issues. Can you do a yum search for it?

Code: Select all

yum search libpcap-devel
From Red Hat's support site:
In Red Hat Enterprise Linux 6, 'libpcap-devel' package is shipped via "Red Hat Enterprise Linux Server Optional (v. 6) Extended Update Support channel" .
You can download the package directly here: https://rhn.redhat.com/rhn/software/pac ... pid=586872

Re: Error instaling fprobe on linux server

Posted: Tue Apr 28, 2015 4:55 pm
by tgriep
You could try and manually download and install it.
Here is one way to do that.

Code: Select all

wget ftp://ftp.pbone.net/mirror/ftp.scientificlinux.org/linux/scientific/6.6/x86_64/os/Packages/libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.x86_64.rpm
rpm -i libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.x86_64.rpm

Re: Error instaling fprobe on linux server

Posted: Wed Apr 29, 2015 8:16 am
by bosecorp
Nothing.

# yum install libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.x86_64.rpm
Loaded plugins: refresh-packagekit, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Examining libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.x86_64.rpm: 14:libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.x86_64
libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.x86_64.rpm: does not update installed package.
Error: Nothing to do

the package is already installed. but for some reason when I try to install fprobe doesn't recognize that is not installed

Re: Error instaling fprobe on linux server

Posted: Wed Apr 29, 2015 9:26 am
by jolson
Attached to this post is the package that you need.

Please extract the .zip and get the .rpm file on to your linux machine that needs fprobe installed. After the file is on your fprobe machine, you will need to run the following against it:

Code: Select all

rpm -i libpcap-devel-1.0.0-6.20091201git117cb5.el6.x86_64.rpm
A .rpm file is a Red Hat Package Manager file - it will hook you up to the repository necessary to download libpcap-devel.

Please get the .rpm on your box and run the above command against it. After you have successfully installed the .rpm, run the following to install libpcap-devel:

Code: Select all

yum install libpcap-devel
Once this process is complete, you may be able to compile properly.


Note: If the rpm -i command complains of dependencies, you can also give this a shot:

Code: Select all

yum --nogpgcheck localinstall libpcap-devel-1.0.0-6.20091201git117cb5.el6.x86_64.rpm
Best,


Jesse

Re: Error instaling fprobe on linux server

Posted: Wed Apr 29, 2015 10:22 am
by bosecorp
it's working. installing manually did the job

you can close this ticket now