LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   yum dependency issue in centos5 (https://www.linuxquestions.org/questions/linux-software-2/yum-dependency-issue-in-centos5-725267/)

nuwen52 05-11-2009 03:11 PM

yum dependency issue in centos5
 
Missing Dependency: libcucul.so.0()(64bit) is needed by package mplayer-1.0-0.40.rc1try2.el5.rf.x86_64 (rpmforge)

That library does exist in /usr/lib64/ and /usr/lib I know this probably has something to do with using alternate repos. So, how do I get yum to get past this little problem and just install using all the other dependencies that don't fail?

Thanks

chrism01 05-11-2009 10:30 PM

Quote:

That library does exist in /usr/lib64/ and /usr/lib ...
Actually that's normal on a 64 bit system atm. Not all code is avail in 64 bit version, so libraries and some other stuff has 32 & 64 bit versions.

Which distro & version have you got?
Add it to your profile.
That rpm you quote implies RHEL, so you should be looking at stuff here: http://fedoraproject.org/wiki/EPEL/FAQ

billymayday 05-11-2009 11:00 PM

CentOS 5 according to the first line of the post Chris

A fuller listing of errors would help. Are you installing mplayer, or is something else causing the error?

nuwen52 05-12-2009 07:47 AM

Yes, I am trying to install mplayer on one of the CentOS machines I work with normally. So, here's the output from: yum install mplayer
Quote:

Loaded plugins: allowdowngrade, downloadonly, fastestmirror, list-data,
: priorities, protectbase
Loading mirror speeds from cached hostfile
* epel: archive.linux.duke.edu
* addons: chi-10g-1-mirror.fastsoft.net
* rpmforge: apt.sw.be
* base: mirrors.liquidweb.com
* updates: mirror.sanctuaryhost.com
* centosplus: mirrors.cat.pdx.edu
* freshrpms: ayo.ie.freshrpms.net
* extras: mirror.linux.duke.edu
0 packages excluded due to repository protections
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package mplayer.x86_64 0:1.0-0.40.rc1try2.el5.rf set to be updated
--> Processing Dependency: mplayer-fonts for package: mplayer
--> Processing Dependency: liblirc_client.so.0()(64bit) for package: mplayer
--> Processing Dependency: libenca.so.0()(64bit) for package: mplayer
--> Processing Dependency: libdvdnav.so.4()(64bit) for package: mplayer
--> Processing Dependency: libtwolame.so.0()(64bit) for package: mplayer
--> Processing Dependency: liblzo.so.1()(64bit) for package: mplayer
--> Processing Dependency: libvga.so.1()(64bit) for package: mplayer
--> Processing Dependency: libaa.so.1()(64bit) for package: mplayer
--> Processing Dependency: libcucul.so.0()(64bit) for package: mplayer
--> Running transaction check
---> Package lirc.x86_64 0:0.6.6-4.el5.rf set to be updated
---> Package twolame.x86_64 0:0.3.12-1.el5.rf set to be updated
---> Package libdvdnav.x86_64 0:4.1.3-1.el5 set to be updated
--> Processing Dependency: libdvdread.so.4()(64bit) for package: libdvdnav
---> Package enca.x86_64 0:1.9-4.el5.rf set to be updated
---> Package mplayer.x86_64 0:1.0-0.40.rc1try2.el5.rf set to be updated
--> Processing Dependency: libcucul.so.0()(64bit) for package: mplayer
---> Package lzo.x86_64 0:1.08-5.el5.rf set to be updated
---> Package mplayer-fonts.noarch 0:1.1-3.0.rf set to be updated
---> Package svgalib.x86_64 0:1.9.25-3.el5 set to be updated
---> Package aalib.x86_64 0:1.4.0-5.el5.rf set to be updated
--> Running transaction check
---> Package libdvdread.x86_64 0:4.1.3-1.el5 set to be updated
---> Package mplayer.x86_64 0:1.0-0.40.rc1try2.el5.rf set to be updated
--> Processing Dependency: libcucul.so.0()(64bit) for package: mplayer
--> Finished Dependency Resolution
mplayer-1.0-0.40.rc1try2.el5.rf.x86_64 from rpmforge has depsolving problems
--> Missing Dependency: libcucul.so.0()(64bit) is needed by package mplayer-1.0-0.40.rc1try2.el5.rf.x86_64 (rpmforge)
Error: Missing Dependency: libcucul.so.0()(64bit) is needed by package mplayer-1.0-0.40.rc1try2.el5.rf.x86_64 (rpmforge)
I am pretty used to using and administering Linux. I run Gentoo and CentOS at home and CentOS at work, and also work on other Linux variants. So, I wasn't surprised with there being both a 64 and 32 bit versions of the library (I probably wasn't too clear on that). What was bugging me is that the rpm didn't see it. So, if I know the dependency is there. Is there a way to get it to install all the other dependencies and mplayer?

mesiol 05-12-2009 08:45 AM

Hye,

yum will try to resolve the dependency automatically. You can download the mplayer package an install it manually with
Code:

rpm -ihv --nodeps mplayer-$version
.

The dependencies will mostly point to a specific package version not available in the repository.

nuwen52 05-12-2009 11:14 AM

Much appreciated for the replies. But the --nodeps does not do what I was looking for. I knew about --nodeps, but tried it just to be sure it acted like I thought (hadn't used it in a while). --nodeps just installs the main package and nothing else. It seems the only answer is to install all the dependencies myself first. What I was looking for was a --skip-only-broken-dependencies type of option. One that would install all the dependencies it could resolve, and skip any others. Please let me know if something like what I describe here exists or if I'm simply "out of luck".

nuwen52 05-12-2009 12:18 PM

I went ahead and installed the dependencies myself, and it works fine. But, I had to also create a link for the lzo library. I don't recommend that others do this (because it's a bit of a hack). For me, it works. But, I would still be interested to hear if an option like the one I asked about in the previous response exists.

Thanks


All times are GMT -5. The time now is 01:43 PM.