[CentOS] Yum Update issues

Gary Greene ggreene at minervanetworks.com
Wed Apr 29 00:44:59 UTC 2009


________________________________

	From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of Ron Blizzard
	Sent: Tuesday, April 28, 2009 4:37 PM
	To: CentOS mailing list
	Subject: Re: [CentOS] Yum Update issues
	
	
	On Tue, Apr 28, 2009 at 4:45 PM, Kwan Lowe <kwan.lowe at gmail.com> wrote:
	


		yum-complete-transaction is part of yum-utils.
		
		I've seen that error if using third-party repositories or the mirror
		isn't fully updated
		


	Thanks for the information. I've downloaded the utility and ran yum-complete-transaction, but it won't clear it out.
	
	I guess the problem started when I attempted to install kaffeine on a Gnome Desktop (I've had trouble with vlc, so wanted to try kaffeine. vlc still doesn't work for DVDs (segmentation errors) but mplayer plays DVDs.)
	
	Here's what I get if I say no to installing kaffeine:
	
	[root at localhost ronb]# /usr/sbin/yum-complete-transaction
	Loaded plugins: fastestmirror
	Loading mirror speeds from cached hostfile
	 * rpmforge: apt.sw.be
	 * base: mirror.raystedman.net
	 * updates: mirrors.kernel.org
	 * addons: mirrors.cat.pdx.edu
	 * extras: mirrors.xmission.com
	There are 2 outstanding transactions to complete. Finishing the most recent one
	The remaining transaction had 5 elements left to run
	There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
	--> Running transaction check
	---> Package kdnssd-avahi.i386 0:0.1.3-0.1.20060713svn.fc6 set to be updated
	---> Package kdelibs.i386 6:3.5.4-18.el5.centos set to be updated
	---> Package kaffeine-devel.i386 0:0.7.1-1.2.el5.rf set to be updated
	---> Package avahi-qt3.i386 0:0.6.16-1.el5_2.1 set to be updated
	---> Package kaffeine.i386 0:0.7.1-1.2.el5.rf set to be updated
	--> Finished Dependency Resolution
	
	================================================================================
	 Package            Arch     Version                         Repository    Size
	================================================================================
	Installing:
	 avahi-qt3          i386     0.6.16-1.el5_2.1                updates       17 k
	 kaffeine           i386     0.7.1-1.2.el5.rf                rpmforge     2.8 M
	 kaffeine-devel     i386     0.7.1-1.2.el5.rf                rpmforge     778 k
	 kdelibs            i386     6:3.5.4-18.el5.centos           base          18 M
	 kdnssd-avahi       i386     0.1.3-0.1.20060713svn.fc6       base          43 k
	
	Transaction Summary
	================================================================================
	Install      5 Package(s)         
	Update       0 Package(s)         
	Remove       0 Package(s)         
	
	Total size: 22 M
	Is this ok [y/N]: n
	Exiting on user Command
	Not removing old transaction files
	
	If I try installing kaffeine (even though I no longer want to) yum-complete-transaction downloads the files but gives the following errors when it tries to install them:
	...
	Total size: 22 M
	Is this ok [y/N]: y
	Downloading Packages:
	Running rpm_check_debug
	Running Transaction Test
	Finished Transaction Test
	Traceback (most recent call last):
	  File "/usr/sbin/yum-complete-transaction", line 226, in ?
	    util = YumCompleteTransaction()
	  File "/usr/sbin/yum-complete-transaction", line 116, in __init__
	    self.main()
	  File "/usr/sbin/yum-complete-transaction", line 196, in main
	    if self.doTransaction() == 0:
	  File "/usr/share/yum-cli/cli.py", line 439, in doTransaction
	    raise yum.Errors.YumBaseError, errstring + '\n' + \
	yum.Errors.YumBaseError: Transaction Check Error:
	  file /usr/share/mimelnk/application/x-mplayer2.desktop conflicts between attempted installs of kaffeine-0.7.1-1.2.el5.rf.i386 and kdelibs-3.5.4-18.el5.centos.i386
	
	Error Summary
	-------------
	
	I'm not quite sure what this is telling me. Looks like some kind of conflict between mplayer and kaffeine? Maybe if I removed mplayer and then ran yum-complete-transaction?
	
	The file /usr/share/mimelnk/application/x-mplayer2.desktop doesn't exist. -- which really makes this odd.
	
	-- 
	RonB -- Using CentOS 5.3
	

This is caused by a packaging bug. They should not ship the x-mplayer2.desktop file in kdelibs nor in kaffeine, but rather have it in mplayer where it belongs. This should be handled in the %install section for these packages.
--
Gary L. Greene, Jr.
IT Operations
Minerva Networks, Inc.
Cell:  (650) 704-6633
Phone: (408) 240-1239





More information about the CentOS mailing list