LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-10-2006, 11:42 AM   #1
MatD
LQ Newbie
 
Registered: Feb 2006
Posts: 9

Rep: Reputation: 0
Yum updates with FC4, A LOT of conflicts


Hi there,
I installed FC4 many months ago and I am now trying to update all the package I have installed.
I am using the command: "yum -y update" and I get A LOT of conflicts output and no update could be done. Most of the conflicts comes from KDE and Gnome. I tried to update some packages by hand but when I tried to update the KDE and Gnome ones I could not resolve the conflicts (even if I put the -t tolerant option).

Here is only some of the conflicts I have (put all of them would be crazy):
...
file /usr/share/gnome/help/fish-applet-2/it/fish-applet-2.xml from install of gnome-panel-2.10.1-10.2 conflicts with file from package gnome-panel-2.8.1-3
file /usr/share/gnome/help/window-list/it/figures/window_list_applet.png from install of gnome-panel-2.10.1-10.2 conflicts with file from package gnome-panel-2.8.1-3
...
file /usr/share/apps/kwin/plastik.desktop from install of kdebase-3.5.1-0.1.fc4 conflicts with file from package kdebase-3.4.0-5
file /usr/share/apps/kwin/quartz.desktop from install of kdebase-3.5.1-0.1.fc4 conflicts with file from package kdebase-3.4.0-5
...
...
...

Do you have any workaround?
Is it normal to have that enormous amount of conflicts? I though that yum updates was an really easy way to manage updates!!

Thanks,
Mat
 
Old 02-10-2006, 01:20 PM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
It sounds like you added one or more packages from outside the fedora lineage (e.g., FreshRPMS, DAG, etc.) and brought along some packages causing conflicts.

If yes, then you need to include that repository in your yum configuration.
 
Old 02-10-2006, 01:21 PM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Try doing,
Code:
#yum upgrade
If that still fails to sort out the problem, you could do "init 3" as root and drop into a terminal. Uninstall the offending packages by doing
Code:
#rpm -e --nodeps kdebase gnome-panel
Once thats done, do
Code:
#yum upgrade
 
Old 02-10-2006, 02:16 PM   #4
MatD
LQ Newbie
 
Registered: Feb 2006
Posts: 9

Original Poster
Rep: Reputation: 0
yum update gives me the same conflicts.

I don't know what happened because I didn't include any other packages except k3b that I installed by using the command:
yum install k3b

I have a lot of other conflicts for a lot of packages... do I need to uninstall all of them and reinstall them?

Do you want I post my yum.repos.d content?

Thanks,
Mathieu
 
Old 02-10-2006, 02:27 PM   #5
MatD
LQ Newbie
 
Registered: Feb 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Another thing...
I though that yum could handle the dependencies.

But I tried that:
1) yum update -y x*
And I got this error:
Transaction Check Error: file /usr/lib64/libxfcegui4.so from install of libxfcegui4-4.2.3-2.fc4 conflicts with file from package libxfcegui4-devel-4.0.6-1

2) yum update -y libxfcegui*
Then it update all the dependencies correctly.

3) yum update -y x*
No error!!


I don't understand why yum wasn't able to solve the dependencies of the package libxfcegui at first??

Thanks
 
Old 02-11-2006, 03:01 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
The problem here is that you are upgrading to major revisions, so if files have been shifted around conflicts can arise. Use "yum upgrade" not "yum update" and most conflicts will be sorted out. If that doesn't happen, then one solution is the one I posted above, i.e. remove all the installed packages that are causing the conflicts. Another one would be to remove all of KDE and XFCE4 and install afresh using yum.

Last edited by reddazz; 02-11-2006 at 03:02 AM.
 
Old 02-11-2006, 10:34 AM   #7
MatD
LQ Newbie
 
Registered: Feb 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for the answers

I tried "yum upgrade" and got the same conflicts again.
As I told you, I got A LOT of conflicts, it will take me many days to resolve all of them by removing the specific package then reinstall it (you know that it is not fast to do it one at the time). Even if I resolve the ones that are shown in the output, new ones appear after that when I relaunch the general update.

It doesn't have any fast way to tell to yum to remove the package and reinstall it when it cannot resolve the conflicts?

Thanks again!
 
Old 02-11-2006, 12:57 PM   #8
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
It’s often faster to do a fresh FC reinstallation than it is to fix a system with serious problems.

Besides, it gives you a chance to change the things you don’t like about the way you did the original installation.

Be sure to backup /etc for later use when reconfiguring the new installation and backup any critical user files. Or if you don’t already have one, this would be a great time to buy an external USB drive and copy the entire current installation onto it before you reinstall.
 
Old 02-11-2006, 05:46 PM   #9
MatD
LQ Newbie
 
Registered: Feb 2006
Posts: 9

Original Poster
Rep: Reputation: 0
But this won't solve my problem...
I have installed few months ago FC4 and the new release of Fedora is not available yet.
I will still have to update all the packages again if I want to be up-to-date and get the same conflicts.

Thanks,
Mat
 
Old 02-11-2006, 06:40 PM   #10
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
Did you expect to only install FC4 one time?

FC4 is not a stable distribution and is not intended to be one. Several of my systems running FC4 have had at least one reinstallation and with the damage done by the kernel-2.6.15-1.1830_FC4 / udev-071-0.FC4.2 combination, several more will likely be reinstalled in the near future.

Reinstalling FC is not something you should try to avoid. Most of us put up with the problems we can’t fix that develop over time until we hit one that is somewhat hard to ignore. That’s what usually triggers a reinstallation.

Besides, if you are trying to learn linux and you aren’t doing something on a monthly basis that trashes your system, then you aren’t learning much and probably need to consider moving to a somewhat technically less demanding and somewhat more stable distro like SUSE 10 or openSUSE 10. And that suggestion isn’t intended to be insulting, or I would have suggested Linspire.
 
Old 02-11-2006, 06:44 PM   #11
ShotGun
LQ Newbie
 
Registered: Nov 2004
Location: Atascocita, Texas
Distribution: Mepis/ Debian / Windows XP Pro
Posts: 16

Rep: Reputation: 0
Which, if any, extra repositories have you added to yum? I haven't had any problems yet and have had it for awhile now. I added Dries, FreshRPMs.

Last edited by ShotGun; 02-11-2006 at 06:49 PM.
 
Old 02-12-2006, 02:29 AM   #12
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by ShotGun
Which, if any, extra repositories have you added to yum? I haven't had any problems yet and have had it for awhile now. I added Dries, FreshRPMs.
I suspect its the repos as well. Usually an upgrade doesn't cause so many conflicts.
 
Old 02-12-2006, 10:06 AM   #13
MatD
LQ Newbie
 
Registered: Feb 2006
Posts: 9

Original Poster
Rep: Reputation: 0
I need to tell you that I am not familiar with the yum updates...
So, I went to a website where it told me how to change the repos to get most of the updates.
It suggests how to add atrpms, dag, newrpms, freshrpms, livna and dries as well. But I am not sure exactly what they refer to and if everything worked well but when I did "yum update-check" everything looked fine.

I am a bit stupid because I did not keep any backup for my old repos.

Thanks,
Mat
 
Old 02-12-2006, 10:36 AM   #14
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
livna conflicts with several of the other repositories, so I hope you didn't enable all of those at once!
 
Old 02-12-2006, 12:24 PM   #15
MatD
LQ Newbie
 
Registered: Feb 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Yes, they are all enabled.
I though that the more repository you put, more package available you have. Why it could exist conflicts when you add another repository? They do not have the same version of package available?
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
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
Fedora Core 4 GCC Blacklisted and Yum Conflicts Coookie Monster Linux - Newbie 12 08-09-2005 08:28 PM
yum conflicts ezy Linux - Newbie 6 04-18-2005 06:57 AM
yum conflicts chrisplinux Linux - General 2 08-21-2004 09:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:18 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration