LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Package/dependencie problem (https://www.linuxquestions.org/questions/linux-desktop-74/package-dependencie-problem-690621/)

GardarS 12-14-2008 11:05 PM

Package/dependencie problem
 
Hello, I thought I had solved this issue entierly, but when I solved it I just created a few smaller ones instead.

This one is about media players, which I can not install when I try to install vlc the it says

Code:


Error: Missing Dependency: libdvdread.so.3 is needed by package vlc
Error: Missing Dependency: libcucul.so.0 is needed by package vlc

and when I do a rpm -q on libdvdread it says

Code:


libdvdread-4.1.3-1.el5 is installed

the libcucul is supposed to be included in the libcaca package which I have installed.

now when I try to install xine it says

Code:


error: Missing Dependency: libcucul.so.0 is needed by package xine

which is strange since it's said to be provided with libcaca :/

now the strangest one when I try to install mplayer

Code:

---> Package mplayer.i386 0:1.0-0.40.rc1try2.el5.rf set to be updated
--> Processing Dependency: liblzo.so.1 for package: mplayer
--> Processing Dependency: libcucul.so.0 for package: mplayer
--> Finished Dependency Resolution
Error: Missing Dependency: liblzo.so.1 is needed by package mplayer
Error: Missing Dependency: libcucul.so.0 is needed by package mplayer

when I try to install liblzo, it says it conflicts with another liblzo

Code:


 rpm -ivh liblzo2_2-2.03-6.el5.i386.rpm
Preparing...                ########################################### [100%]
        file /usr/lib/liblzo2.so.2.0.0 from install of liblzo2_2-2.03-6.el5 conflicts with file from package lzo-2.02-2.el5.1

when I try to remove the liblzo2.so.2.0.0 it says it's not installed

Code:

rpm -e liblzo2.so.2.0.0
error: package liblzo2.so.2.0.0 is not installed


With thanks in advance, this is really driving me mad. :)

zeno0771 12-14-2008 11:24 PM

You don't mention which repo(s) you're using but it sounds an awful lot like what happens when you mix stuff from Livna with stuff from RPMForge or others. Media players and their specific libraries seem especially prone to this.

GardarS 12-14-2008 11:33 PM

Sorry forgot I belive theese are the ones.

Code:

epel: mirror.karneval.cz
 * dries: ftp.belnet.be
 * dag: apt.sw.be
 * kbs-CentOS-Extras: centos.karan.org
 * rpmforge: ftp-stud.fht-esslingen.de
 * updates: ftp.sunet.se
 * base: ftp.sunet.se
 * kbs-CentOS-Misc: centos.karan.org
 * addons: ftp.df.lth.se
 * centosplus: ftp.sunet.se
 * extras: ftp.df.lth.se


zeno0771 12-15-2008 02:10 PM

From what I'm seeing CentOS might have some of their apps configured slightly differently, similar to how Fedora does it (CentOS actually bears more resemblance to Fedora than RHEL). What I have done in this situation is address dependencies for each app one at a time. Remove the dependency in question and get both it and the app for which you're installing it from the same repo. Yes, there may be situations where you will have to remove another app; write it down and reinstall it from the same repo as well. You can go to many it not all of these repos on the web to see what they have available; if you can get away with getting everything you need from the same repo you should be good to go.
Don't worry, it's not as much work as it sounds.


All times are GMT -5. The time now is 07:24 PM.