LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Huge dependency tree for xine nonfree codecs in fc8 (http://www.linuxquestions.org/questions/linux-software-2/huge-dependency-tree-for-xine-nonfree-codecs-in-fc8-624547/)

linuxpokernut 02-28-2008 02:50 PM

Huge dependency tree for xine nonfree codecs in fc8
 
I seem to be having one heck of a time getting fc8x64 to play audio and video. I remeber in fc7i386 i didnt have these problems. I was able to install one codec pack and one player (mplayer) and then everything played.

Now in fc8, I am having dependency problems. I dl'd the livna package for fc8 and it installed fine. I try to install xine nonfree package and it has several dependencies. Then each dependency has dependencies. The same goes for mplayer. I got mplayer down to the last dependency and i cannot find it on the net. That particular one is libmpcdec.so.3. cant find it anywhere for fc8x64.

Is there not a package (rpm or otherwise) I can install that will resolve all of these dependencies in one fell swoop like I was able to accomplish in fc7?

jay73 02-28-2008 03:03 PM

Wait, are you saying that you don't use yum?

billymayday 02-28-2008 04:25 PM

Have you tried yum install libmpcdec?

linuxpokernut 02-29-2008 03:39 PM

Quote:

Originally Posted by jay73 (Post 3073002)
Wait, are you saying that you don't use yum?

indeed. didnt seem to need to on fc7i386.

are you saying if i use yum to install it will resolve all dependencies?

and if i use yum to install exactly what, mplayer or a codec pack or each individual dependency? please provide an example of code unless its for each dependency please.
thanks.

jay73 02-29-2008 06:13 PM

Quote:

are you saying if i use yum to install it will resolve all dependencies?
Yes but it would be a good idea to set up the livna repository too. Just go to livna.org and install the yum repository rpm, then you're good to go.

Quote:

and if i use yum to install exactly what, mplayer or a codec pack or each individual dependency? please provide an example of code unless its for each dependency please.
Well, you could install mplayer, or vlc or xine or ... Anything you like and each package will automatically pull in all of its dependencies.
To install, say mplayer, you would use:
yum install mplayer
To check at any moment whether updates are available
yum check-update
To accept the updates
yum update or yum -y update (the latter will update at once, the former will ask confirmation first).
To remove a package:
rpm -q package name
and then
yum remove package name version number (getting the version is why rpm -q is needed)
There are many more options but I've rarely needed more than these ones.

Some notes:
- There are other third-party repositories like livna but they shouldn't be mixed with livna because of potential conflicts (they contain largely the same packages anyhow so that's not so bad).
- install yum-fastest-mirror and yum-protect-base before you install anything else through yum
- an update may go out of sync on occasion, causing certain updates to fail. Do not worry when that happens, update what you can and leave the troublesome package(s) alone; they usually get fixed within a day or two.
- instead of using yum from the command line you can use the Add/Remove menu item, it does essentially the same but since it is a GUI, you get a clearer picture of what is available.

reddazz 03-01-2008 01:24 PM

What you need to do is
Code:

#rpm -Uvh http://rpm.livna.org/livna-release-8.rpm
#yum install xine-lib-extras-nonfree


linuxpokernut 03-12-2008 02:05 PM

Quote:

I dl'd the livna package for fc8 and it installed fine.
I tried that anyway to see if it would resolve anything. It was fine with the RPM I had installed. So when I tried
Quote:

#yum install xine-lib-extras-nonfree
It wasn't having that. It conflicted with the preinstalled xine libraries and aborted the install, and when I removed them it crashed my instalation.

So thats pretty much it for Fedora 8 for me, it wants to update to 9 and 9 wont run on this PC anyway. I'm going to try unbuntu and depending on if I like that or not my other choices are slackware (which I've been meaning to try forever)or Fedora 6 o 7.

jay73 03-12-2008 03:25 PM

Well, there is a reason that people came up with yum, it's exactly what is bound to happen when you just install rpms you find left and right. I have been using Fedora since Core 5 and I have never seen it decide for itself that it is going to upgrade to the next version (and then one that is still in beta...). It seems to me that you haven't done any research at all. Whatever you do, don't forget that Slackware will only require more research - and a lot more if even yum looks daunting.

linuxpokernut 03-12-2008 07:39 PM

Quote:

Originally Posted by jay73 (Post 3086557)
Well, there is a reason that people came up with yum, it's exactly what is bound to happen when you just install rpms you find left and right. I have been using Fedora since Core 5 and I have never seen it decide for itself that it is going to upgrade to the next version (and then one that is still in beta...). It seems to me that you haven't done any research at all. Whatever you do, don't forget that Slackware will only require more research - and a lot more if even yum looks daunting.

Hmm, no research at all, thats kind of insulting, especially since I mentioned that I had everything working just fine in Fedora 7, I also had it working in 4 and 5. The only research that I did not do is research that Fedora 8 will not pull in all needed dependencies by installing .rpms. Since I was able to accomplish this in 3 previous releases I did not think it would be necessary to configure Fedora 8 differently.

Also, you are quite correct in that Fedora does not just out of the blue decide to upgrade to the next beta release. However in all previous versions I have used running pup as root and installing all updates had never previously brought me to a black screen as it did with this version. I did not 'just decide to install rpm's left and right', I chose to install the ones that would not resolve and were flagged as dependencies.

I do genuinely appreciate your advice and understand that you cant just load slackware like you load XP. When I decide to run either slackware or gentoo it will certainly be with a hardcopy from the library on hand. I was able to get ubuntu up and running rather quickly and feel that its my best bet for now. I was rather fond of Moonshine however, and may choose to run it again, or give a 64bit OS another try later on down the line when I can install simple apps like flash w/o hacking the code.

jay73 03-12-2008 09:08 PM

All of that was no-insult-intended really. I'm just a bit puzzled that you never used yum before. I'm not rubbing it in but you'd really need to read up on this, there are quite a few excellent install guides online. My experience is that Fedora 8 is the most stable release I have used so far (seriously!) and it only takes a bit of yum check-update, yum install and yum remove. Not perfect, though. The one thing that annoys me is that livna has recently developed the bad habit of not releasing updated graphics drivers until a day or two after a kernel update - which means that you're stuck with the open source drivers, or worse, a big blinking black terminal if you weren't prepared for it. If there is a dependency conflict, leave it alone, it will get sorted out within a few days. It's not as if it's Suse or Mandriva.

Rpm not downloading dependencies is not a unique F8 feature, though. it is the normal behavior one would expect from an rpm. Using something like pup is already a step removed from pure rpms; in fact, these things are all just GUI alternatives to yum (but there is a yum GUI too, it's called Yumex). I just prefer command line yum because it gives a much clearer picture of what is getting installed. With pup you never really know what is actually wrong when something goes wrong. But even if you use yum, you should be extremely careful with rpm -e or yum remove, they may well rip out half of your system. On the other hand, you can tell it to simulate an upgrade first so you can always back out before it is too late.

Installing flash on 64 bit Fedora or Ubuntu is dead simple, by the way. Just install nspluginwrapper (I think Fedora calls it mozilla-config-plugin or something like that). It also works for adobe reader, realplayer, etc.

And installing gentoo needn't be all that daunting but you'd better read the online manual first even if you use the livecd to install. All you need is a lot of patience (I compiled my first gentoo from scratch and it took me several days).


All times are GMT -5. The time now is 05:28 PM.