[SOLVED] Yum Transaction Check Error

Issues related to applications and software problems
Post Reply
JohnMontes
Posts: 9
Joined: 2014/04/09 01:16:56

[SOLVED] Yum Transaction Check Error

Post by JohnMontes » 2015/02/03 15:06:03

Greetings all,

I'm having a tough time trying to get passed a yum transaction check error and cannot update packages on my CentOS 6.6 64bit system.

Below is the error message, a list of commands tried thus far, and the yum repos that I have.

Any tips or suggestions that might help?

Error Message:
Transaction Check Error:
file /usr/lib64/libpostproc.so.51.2.0 from install of ffmpeg-compat-0.6.7-1.el6.x86_64 conflicts with file from package ffmpeg-libpostproc-0.6.5-1.el6.rf.x86_64


Commands I've tried thus far
yum-complete-transaction
package-cleanup --dupes
package-cleanup --cleandupes
yum reinstall ffmpeg-compat-0.6.7-1.el6.x86_64
rpm -e --justdb ffmpeg-compat-0.6.7-1.el6.x86_64
yum update ffmpeg-compat-0.6.7-1.el6.x86_64
sudo yum update --skip-broken
sudo rpm -Va --nofiles --nodigest


List of Repos:
* base: centos.expedientevirtual.com
* elrepo: repos.dfw.lax-noc.com
* epel: mirror.cogentco.com
* extras: centos.expedientevirtual.com
* rpmforge: mirror.teklinks.com
* rpmfusion-free-updates: mirror.nexcess.net
* rpmfusion-nonfree-updates: mirror.nexcess.net
* updates: centos.arvixe.com
Last edited by JohnMontes on 2015/02/04 00:27:45, edited 1 time in total.

JohnMontes
Posts: 9
Joined: 2014/04/09 01:16:56

Re: Yum Transaction Check Error

Post by JohnMontes » 2015/02/03 15:18:17

**UPDATE**

I was able to get rid of the initial ffmpeg-compat-0.6.7-1.el6.x86_64 conflict by removing the rpmforge repo
$ sudo yum remove rpmforge-release

However, now I get the following after running $ sudo yum update -y --skip-broken

Transaction Check Error:
file /usr/lib64/libpostproc.so.51.2.0 from install of ffmpeg-compat-0.6.7-1.el6.x86_64 conflicts with file from package ffmpeg-libpostproc-0.6.5-1.el6.rf.x86_64
file /usr/lib64/libavcodec.so.52.72.2 from install of ffmpeg-compat-0.6.7-1.el6.x86_64 conflicts with file from package ffmpeg-0.6.5-1.el6.rf.x86_64
file /usr/lib64/libavdevice.so.52.2.0 from install of ffmpeg-compat-0.6.7-1.el6.x86_64 conflicts with file from package ffmpeg-0.6.5-1.el6.rf.x86_64
file /usr/lib64/libavfilter.so.1.19.0 from install of ffmpeg-compat-0.6.7-1.el6.x86_64 conflicts with file from package ffmpeg-0.6.5-1.el6.rf.x86_64
file /usr/lib64/libavformat.so.52.64.2 from install of ffmpeg-compat-0.6.7-1.el6.x86_64 conflicts with file from package ffmpeg-0.6.5-1.el6.rf.x86_64
file /usr/lib64/libavutil.so.50.15.1 from install of ffmpeg-compat-0.6.7-1.el6.x86_64 conflicts with file from package ffmpeg-0.6.5-1.el6.rf.x86_64
file /usr/lib64/libswscale.so.0.11.0 from install of ffmpeg-compat-0.6.7-1.el6.x86_64 conflicts with file from package ffmpeg-0.6.5-1.el6.rf.x86_64

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Yum Transaction Check Error

Post by TrevorH » 2015/02/03 16:23:34

Don't use --skip-broken, it's broken and I have no idea why the yum developers put out such a stupid suggestion as part of the error message. It really means "your system is broken, if you want to break it some more then do this"!

Your problem is that you have conflicting packages installed from different third party repos. Your current installation contains a package from rpmforge (hence the .rf. in its name). You're trying to replace that with a newer package set from a different repo but the packages are structured in a different way. You can either remove the current set of packages first - but that's likely to want to take out a bunch of other packages which depend on them, or you can try using yum shell to remove one set of packages and install the replacements in one transaction.

Code: Select all

yum shell
remove ffmpeg-libpostproc
install ffmpeg-compat
run
I don't guarantee that will work either but I suspect it's a far better attempt than --skip-broken.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

JohnMontes
Posts: 9
Joined: 2014/04/09 01:16:56

Re: Yum Transaction Check Error

Post by JohnMontes » 2015/02/03 17:34:18

Thanks so much for the tip Trevor.
I tried it out, it appeared it was going to work, but then other Transaction errors appeared, below is the sample output.

$ sudo yum shell
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Yum Shell
> remove ffmpeg-libpostproc
Setting up Remove Process
> install ffmpeg-compat
Loading mirror speeds from cached hostfile
* base: centos.expedientevirtual.com
* elrepo: repos.dfw.lax-noc.com
* epel: mirror.cogentco.com
* extras: centos.expedientevirtual.com
* rpmfusion-free-updates: mirror.nexcess.net
* rpmfusion-nonfree-updates: mirror.nexcess.net
* updates: centos.arvixe.com
Setting up Install Process
> run
--> Running transaction check
---> Package ffmpeg-compat.x86_64 0:0.6.7-1.el6 will be installed
--> Processing Dependency: libx264.so.120()(64bit) for package: ffmpeg-compat-0.6.7-1.el6.x86_64
---> Package ffmpeg-libpostproc.x86_64 0:0.6.5-1.el6.rf will be erased
--> Running transaction check
---> Package x264-libs.x86_64 0:0.120-5.20120303.el6 will be installed
--> Finished Dependency Resolution

==========================================================================================================================================
Package Arch Version Repository Size
==========================================================================================================================================
Installing:
ffmpeg-compat x86_64 0.6.7-1.el6 rpmfusion-free-updates 2.6 M
Removing:
ffmpeg-libpostproc x86_64 0.6.5-1.el6.rf @rpmforge 122 k
Installing for dependencies:
x264-libs x86_64 0.120-5.20120303.el6 rpmfusion-free-updates 286 k

Transaction Summary
==========================================================================================================================================
Install 2 Package(s)
Remove 1 Package(s)

Total size: 2.9 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Error: Transaction Check Error:
file /usr/lib64/libavcodec.so.52.72.2 from install of ffmpeg-compat-0.6.7-1.el6.x86_64 conflicts with file from package ffmpeg-0.6.5-1.el6.rf.x86_64
file /usr/lib64/libavdevice.so.52.2.0 from install of ffmpeg-compat-0.6.7-1.el6.x86_64 conflicts with file from package ffmpeg-0.6.5-1.el6.rf.x86_64
file /usr/lib64/libavfilter.so.1.19.0 from install of ffmpeg-compat-0.6.7-1.el6.x86_64 conflicts with file from package ffmpeg-0.6.5-1.el6.rf.x86_64
file /usr/lib64/libavformat.so.52.64.2 from install of ffmpeg-compat-0.6.7-1.el6.x86_64 conflicts with file from package ffmpeg-0.6.5-1.el6.rf.x86_64
file /usr/lib64/libavutil.so.50.15.1 from install of ffmpeg-compat-0.6.7-1.el6.x86_64 conflicts with file from package ffmpeg-0.6.5-1.el6.rf.x86_64
file /usr/lib64/libswscale.so.0.11.0 from install of ffmpeg-compat-0.6.7-1.el6.x86_64 conflicts with file from package ffmpeg-0.6.5-1.el6.rf.x86_64

Error Summary
-------------

JohnMontes
Posts: 9
Joined: 2014/04/09 01:16:56

Re: Yum Transaction Check Error

Post by JohnMontes » 2015/02/04 00:27:16

Yeah, the issue is fixed after making a minor adjustment, will mark this post as SOLVED :-)
Thanks for leading in the right direction Trevor

I had to add an additional statement to remove ffmpeg, and then perform the install ffmpeg-compat

yum shell
remove ffmpeg-libpostproc
remove ffmpeg
install ffmpeg-compat
run



> install ffmpeg-compat
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: reflector.westga.edu
* elrepo: ftp.utexas.edu
* epel: mirror.oss.ou.edu
* extras: mirror.cisp.com
* rpmfusion-free-updates: mirror.web-ster.com
* rpmfusion-nonfree-updates: mirror.web-ster.com
* updates: ftpmirror.your.org
> run
--> Running transaction check
---> Package ffmpeg-compat.x86_64 0:0.6.7-1.el6 will be installed
--> Processing Dependency: libx264.so.120()(64bit) for package: ffmpeg-compat-0.6.7-1.el6.x86_64
--> Running transaction check
---> Package x264-libs.x86_64 0:0.120-5.20120303.el6 will be installed
--> Finished Dependency Resolution

===============================================================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================================================
Installing:
ffmpeg-compat x86_64 0.6.7-1.el6 rpmfusion-free-updates 2.6 M
Installing for dependencies:
x264-libs x86_64 0.120-5.20120303.el6 rpmfusion-free-updates 286 k

Transaction Summary
===============================================================================================================================================================
Install 2 Package(s)

Total size: 2.9 M
Installed size: 7.6 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : x264-libs-0.120-5.20120303.el6.x86_64 1/2
Installing : ffmpeg-compat-0.6.7-1.el6.x86_64 2/2
Verifying : ffmpeg-compat-0.6.7-1.el6.x86_64 1/2
Verifying : x264-libs-0.120-5.20120303.el6.x86_64 2/2

Installed:
ffmpeg-compat.x86_64 0:0.6.7-1.el6

Dependency Installed:
x264-libs.x86_64 0:0.120-5.20120303.el6

Finished Transaction
> exit

Post Reply