yum - Package Conflicts
I have four packages that can be updated (listing below). However, when I run yum update \*, I am told they conflict with currently existing packages.
Is there any way to "flush" the packages so that a) they do not appear for update or b) they can be installed? Root: Code:
============================================================================= Errors (obviously this is just a snippet): Code:
file /usr/share/gtk-doc/html/gobject/ix05.html from install of glib2-devel-2.12.9-1.fc6 conflicts with file from package glib2-devel-2.12.3-2.fc6 |
Yes, but your getting a conflict for glib2-devel package only. Why you getting the older version listed as an update is not right. Check that you do infact have the both the 32bit and 64bit versions of glib2 and the glib2-devel.x86_64 packages currently installed;
rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}\n" 'glib2*' | sort Sample expected results: glib2-2.12.3-2.fc6.i386 glib2-2.12.3-2.fc6.x86_64 glib2-devel-2.12.3-2.fc6.x86_64 If for some strange reason you have the 32bit (i386) version of glib2-devel installed remove it; rpm -e glib2-devel-2.12.3-2.fc6.i386 If your missing the 64bit version of glib2-devel then install this by itself only; yum install glib2-devel.x86_64 Next type: yum clean all Then try again if you still get the glib2-devel error try; yum update --exclude=glib2-devel |
If you are not doing software development for Gnome applications, you can just:
yum remove glib2-devel You'll get a list of requisites that are also going to be removed; just make sure they are all "-devel" packages (headers files). In general, x86_64 maintenance can be a little more complex than x86, because of multilib support (having both x86 and x86_64 files on the same machine). |
Quote:
Anyway... Here's my run (summarized, of course): Code:
rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}\n" 'glib2*' | sort Ok... so with that I got frustrated. So... I just removed everything: Code:
yum remove glib2-devel Everything is fine again. I'm not sure what caused the situation, but it's resolved now after a gut and replace run. Thanks! :) |
I noticed that you had multiple versions of the same files. Why were you installing instead of updating? Did you need multiple versions for your development activities? If not, I think that may be how you got yourself into trouble.
|
You had somehow had two versions of glib-devel 32bit installed, why is unknown, but the fix would have been to remove the older version;
rpm -e glib2-devel-2.12.9-1.fc6.i386 No reason to remove everything just to reinstall. |
All times are GMT -5. The time now is 10:17 PM. |