Tell me more ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am using CentOS 6.4 .while I am doing package updating i am getting these errors. please help me to resolve those issues.

  file /usr/lib/libpostproc.so.52 conflicts between attempted installs of ffmpeg-libs-0.10.7-1.el6.i686 and ffmpeg-libs_1.1-1.1.5-2.el6.i686
  file /usr/lib/libswresample.so.0 conflicts between attempted installs of ffmpeg-libs-0.10.7-1.el6.i686 and ffmpeg-libs_1.1-1.1.5-2.el6.i686
  file /usr/lib/libswscale.so.2 conflicts between attempted installs of ffmpeg-libs-0.10.7-1.el6.i686 and ffmpeg-libs_1.1-1.1.5-2.el6.i686
share|improve this question

2 Answers

up vote 1 down vote accepted

@mattdm's answer is probably the way to go but if you want to you could try excluding those packages from being evaluated as part of the upgrade.

$ sudo yum -x ffmpeg-libs upgrade

From the yum man page:

-x, --exclude=package
      Exclude a specific package by name or glob from updates on all 
      repositories.  Configuration Option: exclude

The power of disablerepo & enablerepo

One of the less obvious things you can do with yum is play games with these to "dynamically" enable and disable various repos when running commands. To see it's effect I like to use yum's repolist command.

Example:

$ yum --disablerepo=* --enablerepo=*fusion-free-up* repolist|awk '{print $1}'|sed '1,3d;$d'
rpmfusion-free-updates
rpmfusion-free-updates-debuginfo
rpmfusion-free-updates-source
rpmfusion-free-updates-testing
rpmfusion-free-updates-testing-debuginfo
rpmfusion-free-updates-testing-source

Or you can purely disable multiple repos:

$ yum --disablerepo=*fusion* --disablerepo=*adobe* repolist|awk '{print $1}'|sed '1,3d;$d'
Dropbox
fedora
google-chrome
google-earth
google-talkplugin
lamolabs
lamolabs-noarch
nautilus-flickr-uploader
scootersoftware
updates
wuala

VLC Repositories?

In CentOS 6.x I'd be using the following repos to make use of VLC.

$ sudo yum localinstall --nogpgcheck http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm
$ sudo yum localinstall --nogpgcheck http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

$ sudo yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm
$ sudo yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm

Update to the latest VLC:

$ sudo yum --enablerepo=remi-test update vlc

References

share|improve this answer
 
please see this pastebin.com/VJ3rFWPN\ –  rajagenupula Aug 10 at 2:06
 
Run the command with this: --disablerepo=*fusion*. This will temp. disable all the fusion repos. –  slm Aug 10 at 2:10
 
did you mean to run ` yum -y --disablerepo=*fusion* upgrade ` ? –  rajagenupula Aug 10 at 2:15
 
@rajagenupula - yup. –  slm Aug 10 at 2:16
 
its running updating now. hope its solved but will i able to get future updates for VLC ? –  rajagenupula Aug 10 at 2:31
show 5 more comments

These packages aren't part of CentOS itself; I expect you got them from RPMFusion or another add-on repository.

The easiest approach is to temporarily remove the offending packages, do your upgrades, make sure your RPMFusion configuration is up-to-date, and then reinstall what you need.

share|improve this answer
 
Thank you.I will try and let you know. –  rajagenupula Aug 9 at 17:27
 
please see this pastebin.com/VJ3rFWPN –  rajagenupula Aug 10 at 2:06
 
@rajagenupula Yep. Seriously, yum remove vlc-core, and then put it back after upgrade. –  mattdm Aug 10 at 2:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.