Re: ATRPM packages conflict with other packages when enable to install mythtv...

David Timms <[email protected]> Sun, 16 Nov 2008 07:03:31 +1100
Newsgroups gmane.linux.freshrpms.user
Message-ID <[email protected]>
Linuxguy123 wrote:
> On Sun, 2008-11-09 at 09:12 +1100, David Timms wrote:
> 
>> ffmeg from atrpms is incompatible with ffmpeg from other sources (and it 
>> can't be in fedora anyway).
> 
> My ffmpeg came from livna.   I removed it with no problem, ie yum remove
> ffmpeg.   If I try to reinstall it with yum install ffmpeg, I get tons
> of errors about it not being compatible with other packages. 
> 
> Transaction Check Error:
>   file /usr/lib/libavutil.so.49 from install of
> libavutil49-0.4.9-26_r12135.fc8.i386 conflicts with file from package
> ffmpeg-libs-0.4.9-0.48.20080908.fc8.i386

In one of the repos, ffmpeg is modularly packaged, ie the conflicts are 
between ffmpeg and ffmpeg. eg libavutil is a sub part of ffmpeg, that is 
individually packaged in one repo.

>> yum repo-list ? (do you have freshrpm or rpmfusion enabled ?)
> 
> # yum repolist
> Loaded plugins: kmdl, priorities
> repo id              repo name                                status
> atrpms               Fedora 8 - i386 - ATrpms                 enabled :
> 806
> fedora               Fedora 8 - i386                          enabled :
> 8,439
> livna                Livna for Fedora Core 8 - i386 - Base    enabled :
> 2,173
> rpmfusion-free       RPM Fusion for Fedora 8 - Free           enabled :
> 0
> rpmfusion-free-updat RPM Fusion for Fedora 8 - Free - Updates enabled :
> 361
> rpmfusion-nonfree    RPM Fusion for Fedora 8 - Non-Free       enabled :
> 0
> rpmfusion-nonfree-up RPM Fusion for Fedora 8 - Non-Free - Upd enabled :
> 172
> updates              Fedora 8 - i386 - Updates                enabled :
> 1
> updates-newkey       Fedora 8 - i386 - Updates Newkey         enabled :
> 5,512
> repolist: 17,464

What happens here is that when trying to install yum will go for the 
apparently best package; this will probably cross repos and end up with 
the errors you are seeing.

>> yum update --skip-broken to get all other non-conflicting package updates.
> 
> That didn't work either.  It ended with:
> 
> Transaction Check Error:
>   file /usr/lib/libx264.so.60 from install of
> libx264_60-0.60-6_20080626.2245.fc8.i386 conflicts with file from
> package x264-libs-0.0.0-0.15.20080613.fc8.i386
>   file /usr/lib/libmp3lame.so.0.0.0 from install of
> libmp3lame0-3.98.2-18.fc8.i386 conflicts with file from package
> lame-libs-3.98.2-2.fc8.i386
This is also the same as your first issue; the same library code is 
packaged differently between repos.

$ rpm -qa --qf="%{packager}  %{name}-%{version}-%{release}\n" /
|sort >repoinstalled-packages.txt
$ gedit repoinstalled-packages.txt

Perhaps that will help you to sort out inter-repo issues...

By the way, Jarod has recently completed getting mythtv into rpmfusion; 
you could go with that packaging instead.

If not you might want to disable both conflicting repos by default, so 
that normal fedora updates (should) work:
# yum --disablerepo=*  --enablerepo=updates-newkey update

DaveT.