LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 04-22-2007, 07:59 AM   #1
revof11
Member
 
Registered: Nov 2003
Location: Macungie, PA
Distribution: Fedora Core 9, Gentoo 2008.0
Posts: 108

Rep: Reputation: 15
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
-------------
 
Old 04-22-2007, 09:10 AM   #2
Lenard
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: Reputation: 56
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
 
Old 04-22-2007, 09:14 AM   #3
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
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).
 
Old 04-23-2007, 05:57 PM   #4
revof11
Member
 
Registered: Nov 2003
Location: Macungie, PA
Distribution: Fedora Core 9, Gentoo 2008.0
Posts: 108

Original Poster
Rep: Reputation: 15
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!
 
Old 04-23-2007, 07:43 PM   #5
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
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.
 
Old 04-24-2007, 06:28 AM   #6
Lenard
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: Reputation: 56
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
'yum install wine' conflicts PatrickNew Fedora 1 10-03-2006 02:41 AM
yum bittorrent conflicts Coookie Monster Linux - Newbie 4 08-26-2005 01:18 AM
yum conflicts and SELinux linuxhippy Fedora 3 08-14-2005 07:12 AM
yum conflicts ezy Linux - Newbie 6 04-18-2005 06:57 AM
yum conflicts chrisplinux Linux - General 2 08-21-2004 09:44 AM


All times are GMT -5. The time now is 12:50 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration