LinuxQuestions.org
Visit Jeremy's Blog.
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 07-21-2006, 10:38 AM   #1
Cabeza de Huevo
LQ Newbie
 
Registered: Oct 2005
Posts: 20

Rep: Reputation: 0
Failed Dependencies


Hi I'm using CentOS 4.3 and I am ALWAYS getting failed dependencies when installing rpms. I am becoming very displeased with this and I want to know how I can fix the problem. Almost every RPM I install has a problem. Why is this? For example

# rpm -ivh Democracy-0.8.5-1.i386.rpm
error: Failed dependencies:
gnome-python2-gtkmozembed is needed by Democracy-0.8.5-1.i386
libc.so.6(GLIBC_2.4) is needed by Democracy-0.8.5-1.i386
libcairo.so.2 is needed by Democracy-0.8.5-1.i386
libfame is needed by Democracy-0.8.5-1.i386
libgtkembedmoz.so is needed by Democracy-0.8.5-1.i386
libpangocairo-1.0.so.0 is needed by Democracy-0.8.5-1.i386
libxpcom.so is needed by Democracy-0.8.5-1.i386
python(abi) = 2.4 is needed by Democracy-0.8.5-1.i386
python-abi = 2.4 is needed by Democracy-0.8.5-1.i386
Suggested resolutions:
/home/buildcentos/CENTOS/en/4.0/i386/CentOS/RPMS/mozilla-1.7.12-1.4.2.ce ntos4.i386.rpm




This is very fustrating and because of this my linux experience hasn't been as great as I would have liked it to be. Can anyone give me an actual resolution to this problem please? Thanks!
 
Old 07-21-2006, 11:09 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Use Yum to install programs. Yum comes installed with CentOS and resolves dependencies:
http://centos.org/ - CentOS website
http://www.centos.org/docs/4/ - documentation for CentOS 4
http://www.centos.org/docs/4/html/yum/ - Managing Software with yum
http://www.centos.org/docs/4/html/yumex/ - Yum Extender on CentOS4
 
Old 02-21-2007, 10:03 AM   #3
Zooty
LQ Newbie
 
Registered: Apr 2004
Location: Reading, UK
Distribution: Fedora Core 6
Posts: 13

Rep: Reputation: 0
Unhappy Fedora Core 6 (Zod) - Missing Dependencies

Hi,

I'm having a similar problem while using Yum to install / update packages on my Fedora Core 6 (x86_64) system. This output appears:

Missing Dependency: libxpcom.so()(64bit) is needed by package devhelp
Missing Dependency: libxpcom.so()(64bit) is needed by package epiphany
Missing Dependency: libgtkembedmoz.so()(64bit) is needed by package epiphany
Missing Dependency: gecko-libs = 1.8.1 is needed by package yelp
Missing Dependency: libxpcom_core.so()(64bit) is needed by package epiphany
Missing Dependency: gecko-libs = 1.8.1 is needed by package devhelp
Missing Dependency: libgtkembedmoz.so()(64bit) is needed by package devhelp
Missing Dependency: libxpcom_core.so()(64bit) is needed by package yelp
Missing Dependency: libgtkembedmoz.so()(64bit) is needed by package yelp
Missing Dependency: libxpcom.so()(64bit) is needed by package libswt3-gtk2
Missing Dependency: libxpcom.so()(64bit) is needed by package yelp

Can anyone shed some light on this? How do I get these dependencies?

TIA,

Zooty
 
Old 02-21-2007, 10:58 AM   #4
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 23, 24, RHL 5.2
Posts: 560

Rep: Reputation: 56
Zooty, you probably should have started your own post since these are different issues. I ran into a similar problem when trying to update firefox. Try to run the following command and let us know the results.
Code:
yum update firefox devhelp epiphany yelp libswt3-gtk2
Bill
 
Old 02-26-2007, 07:33 PM   #5
Zooty
LQ Newbie
 
Registered: Apr 2004
Location: Reading, UK
Distribution: Fedora Core 6
Posts: 13

Rep: Reputation: 0
Question No such luck...

Bill,

Thanks! Only libswt3-gtk2 managed to be updated when I executed that command. I have tried to install additional packages using Yum Extender 1.2.2 on my Fedora 6 (x86_64) computer, but the following errors appear:


Missing Dependency: libxpcom.so()(64bit) is needed by package devhelp
Missing Dependency: libxpcom.so()(64bit) is needed by package epiphany
Missing Dependency: libxpcom.so()(64bit) is needed by package Democracy
Missing Dependency: libxpcom.so()(64bit) is needed by package epiphany-extensions
Missing Dependency: libxpcom.so()(64bit) is needed by package gnome-python2-gtkmozembed
Missing Dependency: libmozjs.so()(64bit) is needed by package firefox-devel
Missing Dependency: libgtkembedmoz.so()(64bit) is needed by package epiphany
Missing Dependency: libxpcom_core.so()(64bit) is needed by package galeon
Missing Dependency: libgtkembedmoz.so()(64bit) is needed by package gnome-python2-gtkmozembed
Missing Dependency: libxpcom.so()(64bit) is needed by package libswt3-gtk2
Missing Dependency: libxpcom.so()(64bit) is needed by package firefox-devel
Missing Dependency: gecko-libs = 1.8.1 is needed by package yelp
Missing Dependency: libgtkembedmoz.so()(64bit) is needed by package galeon
Missing Dependency: libgtkembedmoz.so()(64bit) is needed by package epiphany-extensions
Missing Dependency: libxpcom_core.so()(64bit) is needed by package epiphany
Missing Dependency: libxpcom_core.so()(64bit) is needed by package firefox-devel
Missing Dependency: gecko-libs = 1.8.1 is needed by package devhelp
Missing Dependency: libgtkembedmoz.so()(64bit) is needed by package devhelp
Missing Dependency: libxpcom_core.so()(64bit) is needed by package yelp
Missing Dependency: libgtkembedmoz.so()(64bit) is needed by package yelp
Missing Dependency: libgtkembedmoz.so()(64bit) is needed by package Democracy
Missing Dependency: libxpcom.so()(64bit) is needed by package gnome-chemistry-utils-mozplugin
Missing Dependency: libxpcom.so()(64bit) is needed by package galeon
Missing Dependency: libxpcom.so()(64bit) is needed by package yelp

Is there a problem with this operating system including i386 files/packages/dependencies when updating or installing on an x86_64 system? I noticed that the YE listed many packages with the suffix 'i386' in the Output View during the initial steps before it bombed out with the above errors.

Regards,

Zooty
 
Old 02-26-2007, 07:54 PM   #6
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Zooty

If you are trying to update Firefox, see the thread below. Also read how I get around update dependency issues, the last issue I resolved in that thread by removing all dependencies as well as amarok, then applying the updated dependency packages using their full name first before installing amarok.

http://www.linuxquestions.org/questi...d.php?t=526377
 
Old 02-27-2007, 08:31 AM   #7
sixth_sense
Member
 
Registered: Mar 2004
Distribution: RedHat
Posts: 99

Rep: Reputation: 15
Quote:
Use Yum to install programs. Yum comes installed with CentOS and resolves dependencies:
I think the question is how to solve dependency problem in linux with RPM. using Yum is not its resolution.
I used to face similar problem..

Can anybody explain how to solve them with RPM ?

Thanks.
 
Old 02-27-2007, 08:53 AM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by sixth_sense
I think the question is how to solve dependency problem in linux with RPM. using Yum is not its resolution.
I used to face similar problem..

Can anybody explain how to solve them with RPM ?

Thanks.
The key here is in the use of repositories for the particular distribution. If you use the package manager in the GUI---or YUM on the command-line, you will be using the repositories and dependencies will be automatically handled.

If you simply download some random rpm package and try to install it, then YOU are responsible for the dependencies.

So---always try first with the repositories. If you have to install rpms on your own, then resolving the dependencies is not all that hard (tedious--maybe.. ) You simply have to track down and install each package that is called for.
 
Old 02-27-2007, 09:01 AM   #9
sixth_sense
Member
 
Registered: Mar 2004
Distribution: RedHat
Posts: 99

Rep: Reputation: 15
Yes, its really tedious.

Look,

Quote:
# rpm -ivh Democracy-0.8.5-1.i386.rpm
error: Failed dependencies:
gnome-python2-gtkmozembed is needed by Democracy-0.8.5-1.i386
May be you went to fix "gnome-python2-gtkmozembed"... you will be face to solve another dependency issue.

Anyway. Thanks for explanation.
 
Old 02-27-2007, 09:47 AM   #10
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by sixth_sense
Yes, its really tedious.

Look,



May be you went to fix "gnome-python2-gtkmozembed"... you will be face to solve another dependency issue.

Anyway. Thanks for explanation.
That's why god invented package managers and repositories!! For MOST things, installing SW is easier in Linux than in Windows.....
 
Old 02-27-2007, 10:15 AM   #11
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 23, 24, RHL 5.2
Posts: 560

Rep: Reputation: 56
Zooty,

I would agree with JuniorHacker and go with what he and I did in the post. By removing yum and all its friends, it will force yum to locate what is needed in the repositories during the reinstall. I will tell you when I did this everything turned out great. All my settings for firefox stayed intact since those are kept in user directories.

Quote:
Originally Posted by sixth_sense
I think the question is how to solve dependency problem in linux with RPM. using Yum is not its resolution.
I used to face similar problem..

Can anybody explain how to solve them with RPM ?
yum is essentially a front-end for rpm. It's main benefit is to resolve dependencies for you during package installation. Before yum came on the scene we would install packages using rpm and find out package X needed package Y, so we installed package Y too and then found out Y needed Z. It was great fun! This is what you are experiencing by using rpm alone.

If you really want to use rpm alone you will have to manually determine what the Democracy package needs. Then determine what is already on your system. Then find out what the packages that are not on your system need, and so on. In the end you could build a single command with rpm and install everything that is required for Democracy and all of it dependencies at the same time. Now ask yourself, is yum the solution?

Bill
 
Old 02-27-2007, 10:45 AM   #12
sixth_sense
Member
 
Registered: Mar 2004
Distribution: RedHat
Posts: 99

Rep: Reputation: 15
wmakowski

Thnx for answer. Yes Yum is the boss one, But..I wanted to know how you guys solve problem with RPM.

Thanks this community.
 
Old 02-27-2007, 11:48 AM   #13
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by sixth_sense
wmakowski

Thnx for answer. Yes Yum is the boss one, But..I wanted to know how you guys solve problem with RPM.

Thanks this community.
Have we adequately answered?
 
Old 02-27-2007, 11:51 AM   #14
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,973
Blog Entries: 1

Rep: Reputation: 208Reputation: 208Reputation: 208
You solve it by using YUM
 
Old 02-27-2007, 04:39 PM   #15
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,973
Blog Entries: 1

Rep: Reputation: 208Reputation: 208Reputation: 208
Somone correct me if i'm wrong but, you can install RPM packages without it checking for dependencies by:

rpm -ivh <packagename> --nodeps

this will do a sortof force install, in which it installs the package and it ignores any dependencies....

I have to warn you...your package might not (and probably won't) work. If it dosen't then you can remove it by:

rpm -e <packagename>
 
  


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 01:14 PM
Failed Dependencies????? igo_mexico Linux - Newbie 2 09-03-2004 07:22 PM
I recieve a failed dependencies error, but I have all required dependencies Laptop2250 Linux - Software 15 02-03-2004 07:58 PM
Failed Dependencies - Why? leroy27336 General 7 11-18-2003 03:15 PM
failed dependencies jaylee Linux - General 4 06-25-2003 05:45 AM


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