Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-22-2007, 07:59 AM
|
#1
|
Member
Registered: Nov 2003
Location: Macungie, PA
Distribution: Fedora Core 9, Gentoo 2008.0
Posts: 108
Rep:
|
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:
=============================================================================
Package Arch Version Repository Size
=============================================================================
Updating:
glib2-devel x86_64 2.12.9-1.fc6 updates 1.3 M
gpm i386 1.20.1-82.fc6 updates 185 k
gtk2-devel x86_64 2.10.8-3.fc6 updates 3.0 M
pango-devel i386 1.14.10-1.fc6 updates 280 k
Transaction Summary
=============================================================================
Install 0 Package(s)
Update 4 Package(s)
Remove 0 Package(s)
Total download size: 4.8 M
Is this ok [y/N]:
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
file /usr/share/gtk-doc/html/gobject/ix06.html from install of glib2-devel-2.12.9-1.fc6 conflicts with file from package glib2-devel-2.12.3-2.fc6
file /usr/share/gtk-doc/html/gobject/ix07.html from install of glib2-devel-2.12.9-1.fc6 conflicts with file from package glib2-devel-2.12.3-2.fc6
file /usr/share/gtk-doc/html/gobject/ix08.html from install of glib2-devel-2.12.9-1.fc6 conflicts with file from package glib2-devel-2.12.3-2.fc6
file /usr/share/gtk-doc/html/gobject/pr01.html from install of glib2-devel-2.12.9-1.fc6 conflicts with file from package glib2-devel-2.12.3-2.fc6
file /usr/share/gtk-doc/html/gobject/pt01.html from install of glib2-devel-2.12.9-1.fc6 conflicts with file from package glib2-devel-2.12.3-2.fc6
file /usr/share/gtk-doc/html/gobject/pt02.html from install of glib2-devel-2.12.9-1.fc6 conflicts with file from package glib2-devel-2.12.3-2.fc6
file /usr/share/gtk-doc/html/gobject/pt03.html from install of glib2-devel-2.12.9-1.fc6 conflicts with file from package glib2-devel-2.12.3-2.fc6
file /usr/share/gtk-doc/html/gobject/rn01.html from install of glib2-devel-2.12.9-1.fc6 conflicts with file from package glib2-devel-2.12.3-2.fc6
file /usr/share/gtk-doc/html/gobject/rn02.html from install of glib2-devel-2.12.9-1.fc6 conflicts with file from package glib2-devel-2.12.3-2.fc6
file /usr/share/gtk-doc/html/gobject/signal.html from install of glib2-devel-2.12.9-1.fc6 conflicts with file from package glib2-devel-2.12.3-2.fc6
file /usr/share/gtk-doc/html/gobject/style.css from install of glib2-devel-2.12.9-1.fc6 conflicts with file from package glib2-devel-2.12.3-2.fc6
file /usr/share/gtk-doc/html/gobject/tools-ginspector.html from install of glib2-devel-2.12.9-1.fc6 conflicts with file from package glib2-devel-2.12.3-2.fc6
file /usr/share/gtk-doc/html/gobject/tools-gob.html from install of glib2-devel-2.12.9-1.fc6 conflicts with file from package glib2-devel-2.12.3-2.fc6
file /usr/share/gtk-doc/html/gobject/tools-gtkdoc.html from install of glib2-devel-2.12.9-1.fc6 conflicts with file from package glib2-devel-2.12.3-2.fc6
file /usr/share/gtk-doc/html/gobject/tools-refdb.html from install of glib2-devel-2.12.9-1.fc6 conflicts with file from package glib2-devel-2.12.3-2.fc6
Error Summary
-------------
|
|
|
04-22-2007, 09:10 AM
|
#2
|
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
|
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
|
|
|
04-22-2007, 09:14 AM
|
#3
|
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
|
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).
|
|
|
04-23-2007, 05:57 PM
|
#4
|
Member
Registered: Nov 2003
Location: Macungie, PA
Distribution: Fedora Core 9, Gentoo 2008.0
Posts: 108
Original Poster
Rep:
|
Quote:
Originally Posted by macemoneta
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).
|
Actually I am... I'm attempting to learn some more about UI development in Linux and will be moving on to 3D and Direct X-like development in SDL. I wanted to learn the basics of Gnome app development before doing anything else.
Anyway...
Here's my run (summarized, of course):
Code:
rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}\n" 'glib2*' | sort
glib2-2.12.3-2.fc6.i386
glib2-2.12.3-2.fc6.x86_64
glib2-2.12.9-1.fc6.i386
glib2-2.12.9-1.fc6.x86_64
glib2-devel-2.12.3-2.fc6.i386
glib2-devel-2.12.3-2.fc6.x86_64
glib2-devel-2.12.9-1.fc6.i386
rpm -e glib2-2.12.3-2.fc6.i386 glib2-devel-2.12.3-2.fc6.i386 glib2-devel-2.12.9-1.fc6.i386
rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}\n" 'glib2*' | sort
glib2-2.12.3-2.fc6.x86_64
glib2-2.12.9-1.fc6.i386
glib2-2.12.9-1.fc6.x86_64
glib2-devel-2.12.3-2.fc6.x86_64
yum install glib2-devel
Running Transaction
Installing: glib2-devel ######################### [1/3]
Updating : glib2-devel ######################### [2/3]
Cleanup : glib2-devel ######################### [3/3]
Installed: glib2-devel.i386 0:2.12.9-1.fc6
Updated: glib2-devel.x86_64 0:2.12.9-1.fc6
Complete!
yum clean all
Loading "installonlyn" plugin
Cleaning up Everything
yum update \*
-- insert same conflicts here --
yum update --exclude=glib2-devel
-- insert same conflicts here --
Ok... so with that I got frustrated.
So... I just removed everything:
Code:
yum remove glib2-devel
Complete!
Then, I reinstalled everything an voila!
Everything is fine again.
I'm not sure what caused the situation, but it's resolved now after a gut and replace run.
Thanks! 
|
|
|
04-23-2007, 07:43 PM
|
#5
|
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
|
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.
|
|
|
04-24-2007, 06:28 AM
|
#6
|
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
|
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 08:41 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|