[CentOS] totem: something wrong with gstreamer-plugins-ugly

ken gebser at mousecar.com
Sun Jan 24 20:49:59 UTC 2010


On 01/24/2010 01:53 PM Alexander Dalloz wrote:
> Am 24.01.2010 18:47, schrieb ken:
>> When running totem to play a move (e.g. mpeg-1 file), it fails with the
>> message: "A MPEG-1 System Stream demuxer plugin is required to play this
>> stream, but not installed."
>>
>> After reading docs and trying various things I've reduced the source of
>> the problem to the package gstreamer-plugins-ugly-0.10.11-1.el5.rf.i386.rpm
>>
>> # rpm --rebuilddb
>> # rpm -q libdvdread
>> libdvdread-4.1.3-1.el5
>> # rpm -i gstreamer-plugins-ugly-0.10.11-1.el5.rf.i386.rpm
>> error: Failed dependencies:
>>         libdvdread.so.3 is needed by
>> gstreamer-plugins-ugly-0.10.11-1.el5.rf.i386
>>
>> And, after erasing libdvdread and trying to install both packages in one
>> command, I get pretty much the same contradictory error message:
>>
>> # rpm -iv libdvdread-4.1.3-1.el5.i386.rpm
>> gstreamer-plugins-ugly-0.10.11-1.el5.rf.i386.rpm
>> error: Failed dependencies:
>>         libdvdread.so.3 is needed by
>> gstreamer-plugins-ugly-0.10.11-1.el5.rf.i386
>>
>> There's no problem installing libdvdread by itself:
>> # rpm -iv libdvdread-4.1.3-1.el5.i386.rpm
>> Preparing packages for installation...
>> libdvdread-4.1.3-1.el5
>> # rpm -q libdvdread
>> libdvdread-4.1.3-1.el5
>>
>>
>> So how are people getting totem to play movies?
>>
>> tia.
> 
> You problem is to mix packages from different repositories. This causes
> non matched dependencies. As the install if gstreamer-plugins-ugly
> states it misses a specific library version. The libdvdread package you
> are hand installing does not provide that one.
> 
> It is much easier to properly setup repositories using yum. Details are
> documented within the CentOS wiki and on the rpmforge project site as well.
> 
> Alexander

Alexander,

Thanks for your replies.  What you say above sounds plausible because I
have libdvdread-4.1.3-1.el5 installed, but
gstreamer-plugins-ugly-0.10.11-1.el5.rf.i386.rpm is looking for
libdvdread.so.3.

Per your recommendation, I searched the centos wiki but got thousands of
hits, read through the first (and most relevant) hits and found nothing
which seemed relevant.  So I browsed around, found
http://wiki.centos.org/PackageManagement/Yum; it didn't say anything
relevant.

Then I found and read
http://wiki.centos.org/AdditionalResources/Repositories?action=show&redirect=Repositories.
 This page does mention specific repositories, but I don't see where my
yum repository setup doesn't conform with what the wiki describes:

# pwd;ll
/etc/yum.repos.d
total 88
-rw-r--r-- 1 root root  302 Dec 21 11:48 atrpms.repo
-rw-r--r-- 1 root root 2882 Oct 23 14:20 CentOS-Base.repo
-rw-r--r-- 1 root root 2323 Oct  5 00:51 CentOS-Base.repo.v.3.4
-rw-r--r-- 1 root root  267 Jan 13 12:06 centos-livecd.repo
-rw-r--r-- 1 root root  600 Oct  5 00:52 CentOS-Media.repo
-rw-r--r-- 1 root root  954 Apr 25  2008 epel.repo
-rw-r--r-- 1 root root 1054 Apr 25  2008 epel-testing.repo
-rw-r--r-- 1 root root 1070 Dec  6  2008 livna.repo
-rw-r--r-- 1 root root  739 Jan  4 08:55 mirrors-rpmforge
-rw-r--r-- 1 root root  436 Jan  4 08:55 rpmforge.repo
-rw-r--r-- 1 root root  325 Jan  4 08:55 rpmforge-testing.repo

Moreover, after erasing my installed libdvdread, I did:
# yum install libdvdread
....
================================================================================
 Package              Arch           Version               Repository
   Size
================================================================================
Installing:
 libdvdread           i386           4.1.3-1.el5           epel
   54 k

Transaction Summary
================================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
....

Isn't epel pretty much a standard repository?

If I'm missing something of what you're saying, please clarify and/or be
more specific, because I'm not seeing where in yum the problem might be.

Thanks again,
ken



More information about the CentOS mailing list