LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 12-02-2011, 04:46 AM   #1
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Rep: Reputation: 30
something wrong with repository?


Is there something wrong with the repository?
There seem to be lots of programs that I can't install that should be part of centos:

[root@server myscripts]# yum install iftop
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
centos-burstnet | 3.7 kB 00:00
updates-burstnet | 3.5 kB 00:00
Setting up Install Process
No package iftop available.
Error: Nothing to do
[root@server myscripts]#
 
Old 12-02-2011, 04:58 AM   #2
Syathon
LQ Newbie
 
Registered: Mar 2007
Location: UK, Norfolk
Distribution: Fedora, opensuse
Posts: 14

Rep: Reputation: 0
I usually find running the command:
Code:
yum clean all
usually fixes repository issues.

If that doesn't work you can always look into adding the rpmforge repository which will give you a wider range of packages to install.
 
Old 12-02-2011, 05:24 AM   #3
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
gives this error:

Code:
[root@server myscripts]# yum install iftop
Loaded plugins: fastestmirror
Determining fastest mirrors
 * rpmforge: apt.sw.be
centos-burstnet                                                                                                                                            | 3.7 kB     00:00     
centos-burstnet/primary_db                                                                                                                                 | 3.3 MB     00:00     
rpmforge                                                                                                                                                   | 1.1 kB     00:00     
rpmforge/primary                                                                                                                                           | 4.0 MB     00:01     
rpmforge                                                                                                                                                              11094/11094
updates-burstnet                                                                                                                                           | 3.5 kB     00:00     
updates-burstnet/primary_db                                                                                                                                | 3.1 MB     00:00     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package iftop.i386 0:0.17-1.el5.rf set to be updated
--> Processing Dependency: libpcap.so.0.9.4 for package: iftop-0.17-1.el5.rf.i386
--> Finished Dependency Resolution
Error: Package: iftop-0.17-1.el5.rf.i386 (rpmforge)
           Requires: libpcap.so.0.9.4
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@server myscripts]# yum install libpcap
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * rpmforge: apt.sw.be
Setting up Install Process
Package 14:libpcap-1.0.0-6.20091201git117cb5.el6.i686 already installed and latest version
Nothing to do
[root@server myscripts]#
 
Old 12-05-2011, 06:59 AM   #4
Syathon
LQ Newbie
 
Registered: Mar 2007
Location: UK, Norfolk
Distribution: Fedora, opensuse
Posts: 14

Rep: Reputation: 0
Looking at through your logs you have a newer version of libcap installed to what is required for that version of iftop. You could try doing a yum remove libcap prior to installing iftop so that the dependencies auto resolve themselves.
 
Old 12-05-2011, 08:11 AM   #5
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
the version of iftop in your repository as shown is
Code:
iftop.i386 0:0.17-1.el5.rf
which says the package is for RHEL 5

and the new package libpcap which is already installed in your system is
Code:
libpcap-1.0.0-6.20091201git117cb5.el6.i686
which is of RHEL 6

so can you tell us which version of RED HAT are you using and which repository you are using?

as when you do
Code:
# yum install iftop
yum should look for RHEL 6 packages if your machine is RHEL6 and not RHEL 5
 
1 members found this post helpful.
Old 12-05-2011, 08:57 AM   #6
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,145
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Thumbs up

Code:
rpm -qa  libpcap
Remove the installed libpcap rpm using
Code:
rpm -e --nodeps libpcap
Once above done you can continue with the installtion
 
1 members found this post helpful.
  


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
yum Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. glowe Linux - Newbie 8 01-13-2016 10:55 PM
yum fails with error: Cannot retrieve repository metadata (repomd.xml) for repository dmendonsa Fedora 6 02-10-2010 07:23 PM
Error: Cannot retrieve repository metadata (repomd.xml) for repository: atrpms. stioanid Linux - Software 3 12-13-2008 01:22 AM
What's wrong with Slackware Repository? brianL Zenwalk 10 05-05-2007 11:42 AM
[SOLVED] What is wrong with this repository? MBA Whore Debian 11 12-30-2006 03:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:41 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