LinuxQuestions.org
Register a domain and help support LQ
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 05-22-2005, 11:46 AM   #1
jared78
Member
 
Registered: Mar 2005
Distribution: Red Hat 9.0
Posts: 94

Rep: Reputation: 15
Thumbs up Failed dependencies on RPMs


hye,
I am trying to install a couple of RPMs,mainly Ethereal,Ethereal gnome and Mplayer RPMs.I m trying to individually select them from the cd of RH9.0
rpm -Uvv <rpm name> gives me failed dependencies and gives me a big list of files.

Under add/remove packages these are listed under additional packages and I do not want to go through the entire install due to space constraints.

Picking up the missing files individually wud be difficult as there are many.

Can u guyz tell me what is happening and how do I install my RPMs..

thanx,
Jared
 
Old 05-22-2005, 12:05 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
what's happening is they are dependencies.. not much else to say really.. you need them if you want that version of ethereal to run....

these apps are both gnome / gtk in theri GUI's so i'd assume you have a mainly KDE /QT system running, without gnome there. your best bet is to either do them all manually or discover the jos of apt or yum, which will deal with these all for you.
 
Old 05-22-2005, 12:20 PM   #3
rarsa
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 210

Rep: Reputation: 31
yum is the solution

The previous post is right. To avoid dependencies y rpm based distros just use yum.

For example
Code:
yum install ethereal
It will install the package and all the dependencies. It will ask before installing.

You can include a list of packages
Code:
yum install ethereal xmms-mp3 gnucash
Yum will search all the repositories you have configured. For RH it already comes with the default RH repository but you can add more repositories.

For example

dag

Last edited by rarsa; 05-22-2005 at 12:26 PM.
 
Old 05-22-2005, 12:37 PM   #4
jared78
Member
 
Registered: Mar 2005
Distribution: Red Hat 9.0
Posts: 94

Original Poster
Rep: Reputation: 15
commands not found

hey guys,
thanx for the replies.I use gnome and have not installed KDE yet.
When I try apt-get,yum I get a reply saying command not found.Do these work on RH9.0?

Are these inturn rpms and need to be installed?

It wud of great help if u can elaborate on both of them a bit more..

thanx,
Jared

Last edited by jared78; 05-22-2005 at 12:39 PM.
 
Old 05-22-2005, 02:38 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
apt or yum weren't installed with rh9 by default, so you will need to install them. go to say.. atrpms.net, download it and go. also there is a package there which contains good config files for apt, so install that too, or you'll probably think apt is crappy. it's worth getting sidetracked with apt though, as once that's working, you'll never have to care about deps again. well.. normally.
 
Old 05-22-2005, 09:05 PM   #6
rarsa
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 210

Rep: Reputation: 31
Have a look at this link

You may want to have a look at this link

Fedora Legacy for RH9

I have not tried as I use Fedora Core, but the explanation seems reasonable.

Let us know if it worked for you.
 
Old 05-25-2005, 04:23 AM   #7
jared78
Member
 
Registered: Mar 2005
Distribution: Red Hat 9.0
Posts: 94

Original Poster
Rep: Reputation: 15
hi guys,
here is what i have done so far.
1.Downloaded and installed apt-get and yum.
2.Added the gpg key for yum.
2.Performed yum update and yum install for ethereal.After downloading a lot of headers I get the message saying ethereal latest version is installed.
3.I checked to see that files of GTK+,glib,tethereal,libcap are there.(I read that u need them for the Gnome-ethereal to work).
4. Command locate ethereal gives me a whole bunch of files and folders where all its there,(but I am not able to fiure out which is the executable file.)
5.There is one configure file in /usr/share/doc/ethereal-0.10.3/doc/configure.Running gives me error: can not find sources in . or ..
6.Running the ./tethereal in /usr/sbin gives me a lot of info something like this.
0.393051 202.153.38.119 -> 202.43.219.13 TCP 1742 > http [ACK] Seq=0 Ack=7240
Win=7360 Len=0

Does this mean the configuration is already done and it's working?
How do I get the Gnome version to work?
Should u do something to link all these glib,gtk+,libcap?

It took me almost one full day to come so far,but I have enjoyed the learning....

Can you guys please help me out with the next step?

thanx a ton,
Jared
 
Old 05-25-2005, 09:22 AM   #8
rarsa
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 210

Rep: Reputation: 31
The beauty of RPM

The beauty of RPM/yum is that when it says that it's installed, it's done!

Of course if what you are installing requires configuration (as in personal preferences) you will still have to do that, for that refer to the particular documentation of the application that you installed.

Some RPM installations will create a menu entry, some will not and you will have to create it manually.

Again. After it is installed you don't have to compile or link or anything else.

In this case you have already completed the equivalent of chapter 2 of the ethereal user manual.

If you have already read chapter one and understand what ethereal is and does, you can skip directly to chapter 3

There it explains how to launch the application.

If you don't know where the executable is (in case it is not in your path) do as root

Code:
cd /
find / -xdev ethereal   # If you have the executable paths in the same partition as /

or 

find / ethereal    # If you have the executable paths in different partitions
If you see an entry in one of the executable paths (e.g. /bin; /sbin ; /usr/bin; etc...) try to specify the full path to execute it.

Again the manual is very clear.

Last edited by rarsa; 05-25-2005 at 09:24 AM.
 
Old 05-26-2005, 02:33 AM   #9
jared78
Member
 
Registered: Mar 2005
Distribution: Red Hat 9.0
Posts: 94

Original Poster
Rep: Reputation: 15
hye Raul,
thnx again for the reply.

According to the documentation tethereal requires the following rpms.

rpm -ivh glib-1.2.6-3.i386.rpm
rpm -ivh glib-devel-1.2.6-3.i386.rpm
rpm -ivh gtk+-1.2.6-7.i386.rpm
rpm -ivh gtk+-devel-1.2.6-7.i386.rpm
rpm -ivh libpcap-0.4-19.i386.rpm

Since I guess yum does not install the RPM in it's entirety,i used find,locate to check if glib,glib-devel,gtk+,gtk+devel,libpcap related files are present.
the answer seems postive.

I m still unable to locate the executable.The manual starts of with the User Interface directly after the installation.
I cannot find any User interface...

Here is what I get when I use the locate ethereal command.Please excuse for the long code..

[root@localhost root]# locate ethereal
/var/cache/yum/redhat-updates/headers/ethereal-gnome-0-0.10.3-0.90.4.legacy.i386.hdr
/etc/pam.d/ethereal
/etc/security/console.apps/ethereal
/usr/lib/python2.2/site-packages/ethereal_be.py
/usr/lib/python2.2/site-packages/ethereal_gen.py
/usr/lib/ethereal
/usr/lib/ethereal/plugins
/usr/lib/ethereal/plugins/0.10.3
/usr/lib/ethereal/plugins/0.10.3/artnet.so
/usr/lib/ethereal/plugins/0.10.3/acn.so
/usr/lib/ethereal/plugins/0.10.3/ciscosm.so
/usr/lib/ethereal/plugins/0.10.3/asn1.so
/usr/lib/ethereal/plugins/0.10.3/coseventcomm.so
/usr/lib/ethereal/plugins/0.10.3/cosnaming.so
/usr/lib/ethereal/plugins/0.10.3/docsis.so
/usr/lib/ethereal/plugins/0.10.3/enttec.so
/usr/lib/ethereal/plugins/0.10.3/gryphon.so
/usr/lib/ethereal/plugins/0.10.3/irda.so
/usr/lib/ethereal/plugins/0.10.3/lwres.so
/usr/lib/ethereal/plugins/0.10.3/megaco.so
/usr/lib/ethereal/plugins/0.10.3/mgcp.so
/usr/lib/ethereal/plugins/0.10.3/pcli.so
/usr/lib/ethereal/plugins/0.10.3/rdm.so
/usr/lib/ethereal/plugins/0.10.3/rlm.so
/usr/lib/ethereal/plugins/0.10.3/rtnet.so
/usr/lib/ethereal/plugins/0.10.3/rudp.so
/usr/lib/ethereal/plugins/0.10.3/v5ua.so
/usr/lib/libethereal.so.0
/usr/lib/libethereal.so
/usr/lib/libethereal.so.0.0.1
/usr/sbin/tethereal
/usr/share/doc/ethereal-0.10.3
/usr/share/doc/ethereal-0.10.3/ChangeLog
/usr/share/doc/ethereal-0.10.3/AUTHORS
/usr/share/doc/ethereal-0.10.3/COPYING
/usr/share/doc/ethereal-0.10.3/README.aix
/usr/share/doc/ethereal-0.10.3/INSTALL
/usr/share/doc/ethereal-0.10.3/NEWS
/usr/share/doc/ethereal-0.10.3/README
/usr/share/doc/ethereal-0.10.3/README.linux
/usr/share/doc/ethereal-0.10.3/README.bsd
/usr/share/doc/ethereal-0.10.3/README.hpux
/usr/share/doc/ethereal-0.10.3/README.irix
/usr/share/doc/ethereal-0.10.3/doc
/usr/share/doc/ethereal-0.10.3/doc/Makefile.nmake
/usr/share/doc/ethereal-0.10.3/doc/Makefile
/usr/share/doc/ethereal-0.10.3/doc/Makefile.am
/usr/share/doc/ethereal-0.10.3/doc/Makefile.in
/usr/share/doc/ethereal-0.10.3/doc/README.developer
/usr/share/doc/ethereal-0.10.3/doc/README.capture
/usr/share/doc/ethereal-0.10.3/doc/README.design
/usr/share/doc/ethereal-0.10.3/doc/README.regression
/usr/share/doc/ethereal-0.10.3/doc/README.idl2eth
/usr/share/doc/ethereal-0.10.3/doc/README.plugins
/usr/share/doc/ethereal-0.10.3/doc/README.xml-output
/usr/share/doc/ethereal-0.10.3/doc/README.tapping
/usr/share/doc/ethereal-0.10.3/doc/README.tvbuff
/usr/share/doc/ethereal-0.10.3/doc/dfilter2pod.pl
/usr/share/doc/ethereal-0.10.3/doc/configure
/usr/share/doc/ethereal-0.10.3/doc/ethereal-filter.pod
/usr/share/doc/ethereal-0.10.3/doc/editcap.pod
/usr/share/doc/ethereal-0.10.3/doc/mergecap.pod
/usr/share/doc/ethereal-0.10.3/doc/idl2eth.pod
/usr/share/doc/ethereal-0.10.3/doc/ethereal-filter.pod.template
/usr/share/doc/ethereal-0.10.3/doc/ethereal.pod
/usr/share/doc/ethereal-0.10.3/doc/tethereal.pod
/usr/share/doc/ethereal-0.10.3/doc/randpkt.txt
/usr/share/doc/ethereal-0.10.3/doc/config.log
/usr/share/doc/ethereal-0.10.3/doc/text2pcap.pod
/usr/share/doc/ethereal-0.10.3/doc/confdefs.h
/usr/share/doc/ethereal-0.10.3/README.macos
/usr/share/doc/ethereal-0.10.3/README.tru64
/usr/share/doc/ethereal-0.10.3/README.vmware
/usr/share/doc/ethereal-0.10.3/README.win32
/usr/share/man/man1/tethereal.1.gz
/usr/share/man/man4/ethereal-filter.4.gz
/usr/share/icons/Bluecurve/16x16/apps/ethereal.png
/usr/share/icons/Bluecurve/32x32/apps/ethereal.png
/usr/share/icons/Bluecurve/48x48/apps/ethereal.png
/usr/share/ethereal
/usr/share/ethereal/diameter
/usr/share/ethereal/diameter/dictionary.dtd
/usr/share/ethereal/diameter/dictionary.xml
/usr/share/ethereal/diameter/mobileipv4.xml
/usr/share/ethereal/diameter/nasreq.xml
/usr/share/ethereal/diameter/sunping.xml
/usr/share/ethereal/help
/usr/share/ethereal/help/toc
/usr/share/ethereal/help/capture_filters.txt
/usr/share/ethereal/help/capturing.txt
/usr/share/ethereal/help/display_filters.txt
/usr/share/ethereal/help/faq.txt
/usr/share/ethereal/help/getting_started.txt
/usr/share/ethereal/help/overview.txt
/usr/share/ethereal/help/well_known.txt
/usr/share/ethereal/manuf

Can u please help me locate the executable and User Interface?

thanks in advance,
Jared
 
Old 05-26-2005, 02:32 PM   #10
rarsa
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 210

Rep: Reputation: 31
What packages did you install with yum?

What packages did you install with yum

Please list all the packages you installed. (you don't have to list all the dependencies)

The only executable I see is the

tethereal command line

/usr/sbin/tethereal

Here is the manual

And by the way. Your guess is wrong: Yum install the depended-on packages in their entirety. That is why you were able to see that all the dependency files were there.

Last edited by rarsa; 05-26-2005 at 03:11 PM.
 
Old 05-26-2005, 02:53 PM   #11
setenv02
Member
 
Registered: Apr 2005
Location: Chicago,IL
Distribution: redhat 9
Posts: 32

Rep: Reputation: 15
Well if you want to install the rpm packages you can try running this command. The command is rpm -i --nodeps <rpm package> this will install the package without needing the following dependencies. I've installed limewire this way and it runs perfectly fine.
 
Old 05-26-2005, 03:41 PM   #12
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
Re: What packages did you install with yum?

Quote:
Originally posted by Raul Suarez




The only executable I see is the

tethereal command line

/usr/sbin/tethereal
Perhaps a stupid question..Did you try to run tethereal from the command line ?
 
Old 05-28-2005, 03:17 AM   #13
jared78
Member
 
Registered: Mar 2005
Distribution: Red Hat 9.0
Posts: 94

Original Poster
Rep: Reputation: 15
hye Raul,
I reread the manual and reconfirmed that these five rpms have to be installed.
rpm -ivh glib-1.2.6-3.i386.rpm
rpm -ivh glib-devel-1.2.6-3.i386.rpm
rpm -ivh gtk+-1.2.6-7.i386.rpm
rpm -ivh gtk+-devel-1.2.6-7.i386.rpm
rpm -ivh libpcap-0.4-19.i386.rpm

I used rpm -ql <rpmname> to check to see if all the five rpms are installed.

Here is what I get.

[root@localhost root]# rpm -ql gtk+-devel
package gtk+-devel is not installed
[root@localhost root]# yum install gtk+-devel
Gathering header information file(s) from server(s)
Server: Fedora Linux / stable for Red Hat Linux 9 (i386)
Server: Macromedia Flash Player for Red Hat Linux 9
Server: Red Hat Linux 9 (i386)
Server: Red Hat Linux 9 (i386) updates
Finding updated packages
Downloading needed headers
Resolving dependencies
.......identical dependency loop exceeded
package XFree86-xfs needs XFree86-libs = 4.3.0-2 (not provided)
package XFree86 needs XFree86-libs = 4.3.0-2 (not provided)
package XFree86-twm needs XFree86-libs = 4.3.0-2 (not provided)

Here I tried installing the XFree86-libs.

[root@localhost root]# yum list XFree86-libs
Looking in Available Packages:
Name Arch Version Repo
--------------------------------------------------------------------------------
XFree86-libs i386 4.3.0-2.90.60.legacy redhat-updates

Looking in Installed Packages:
Name Arch Version Repo
--------------------------------------------------------------------------------
XFree86-libs i386 4.3.0-2 db

[root@localhost root]# yum upgrade XFree86-libs
Resolving dependencies
.....identical dependency loop exceeded.

It is giving identical loop exceeded for both gtk+-devel and XFree86-libs.
Also XFree86-libs is in Available Packages and Installed packages...how come?

What do I do next?

thanx in advance,
Jared

PS:yes Samael I did check that /usr/sbin/tethereal
 
Old 05-28-2005, 02:59 PM   #14
rarsa
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 210

Rep: Reputation: 31
One thing I can think of is that you are using somehow incompatible repositories and You have the latest version from one of them and yum is getting confused with the other.

Try updating from a single repository and see what you get.

Other than that, sorry here is where I cannot help anymore, I don't use those repositories (I use Fedora) so I cannot even try installing them to see if I get the same thing.

Good luck
 
Old 05-28-2005, 03:29 PM   #15
jared78
Member
 
Registered: Mar 2005
Distribution: Red Hat 9.0
Posts: 94

Original Poster
Rep: Reputation: 15
hye Raul,
thanx again 4 the reply.
I understand that the yum.conf file in /etc is the repository.I got it with the yum rpm dowload,how come it is not compatible with the current version?


How do I update it?
Open it with gedit and copy and paste the text from the website?

Any input on updating the repository wud help..

thanks a ton for helping me so far..

cheers,
Jared

Last edited by jared78; 05-28-2005 at 03:46 PM.
 
  


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
failed dependencies koodoo Linux - Newbie 8 03-08-2005 02:14 PM
I recieve a failed dependencies error, but I have all required dependencies Laptop2250 Linux - Software 15 02-03-2004 08:58 PM
RPMs: Interrelated dependencies teyesahr Linux - Software 2 01-20-2004 10:57 PM
Failed dependencies phinsman Linux - Newbie 2 08-26-2003 08:24 PM
Illogical Failed dependencies for RPMs and source code installations, Slackware 9 peroxiderocket Slackware 4 07-14-2003 10:47 PM


All times are GMT -5. The time now is 08:20 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration