LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-22-2008, 11:39 PM   #1
jc_cpu
Member
 
Registered: May 2006
Distribution: Fedora 14
Posts: 71

Rep: Reputation: 15
FC6 Yum Error When Updating System


Hi. I use yum to update my FC6 system and I always seem to have this package conflict. If other updates are available, I find that I have to remove "velocity" in order to install them. Then I try the following and get the error at the end of the yum details:

1. Run "yum clean all".
2. Install "velocity" with yum.
3. Run "yum update".

-------------------------------------------------------------------------------

=============================================================================
Package Arch Version Repository Size
=============================================================================
Updating:
velocity noarch 1.5-2jpp jpackage-generic 363 k
Installing for dependencies:
excalibur noarch 1:1.0-0.r508111.3jpp jpackage-generic 25 k
excalibur-avalon-logkit noarch 1:2.2.1-0.r508111.3jpp jpackage-generic 77 k
servletapi4 noarch 4.0.4-4jpp jpackage-generic 74 k

Transaction Summary
=============================================================================
Install 3 Package(s)
Update 1 Package(s)
Remove 0 Package(s)

Total download size: 540 k
Is this ok [y/N]: y
Downloading Packages:
(1/4): excalibur-avalon-l 100% |=========================| 77 kB 00:01
(2/4): servletapi4-4.0.4- 100% |=========================| 74 kB 00:00
(3/4): excalibur-1.0-0.r5 100% |=========================| 25 kB 00:00
(4/4): velocity-1.5-2jpp. 100% |=========================| 363 kB 00:01
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
file /usr/share/java/avalon-logkit.jar from install of excalibur-avalon-logkit-2.2.1-0.r508111.3jpp conflicts with file from package avalon-logkit-1.2-4jpp.3

Error Summary
-------------

-------------------------------------------------------------------------------


Please assist and thanks in advance for your help.
 
Old 04-22-2008, 11:48 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Yes, that will happen. This is most likely because FC6 is obsolete

ahem.

f8 is current. f7 is the oldest maintained release, which will become obsolete in turn when f9 is released. Update your distro. If you do not want to update every 16 months or so, then you should find a distro with a longer release cycle.

You may be able to work around the conflicts by removing the older conflicting packages then installing the newer ones.

Last edited by Simon Bridge; 04-22-2008 at 11:50 PM.
 
Old 04-24-2008, 10:25 AM   #3
jc_cpu
Member
 
Registered: May 2006
Distribution: Fedora 14
Posts: 71

Original Poster
Rep: Reputation: 15
Thanks for the reply. I've actually been researching how to upgrade the system with yum. Based on what I've read, it appears to be best to go from fc6 to fc7 and then from fc7 to fc8. Do you think that this is the best way?
 
Old 04-25-2008, 05:25 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Unless you have stuck very close indeed to the dafault installation, the most reliable upgrade is to do a fresh installation of fedora 8.

If you have a seperate /home partition, this is quite simple. Do an advanced install, and tell it not to format the home partition - but do specify the mountpoint (/home). Caution is suggested though - there was a paradigm shift going from 6 to 7.

If not - backup your /home directory and, when you install, manually partition. Do not create an LVM, just create boot, root, swap, and home. The files you copy back will be all your visible data and the hidden directories for mozilla and evolution (so you don't lose those settings).

It is usually safe to update in this way every second release. Have fun.
 
Old 04-25-2008, 09:37 AM   #5
marquardl
Member
 
Registered: Apr 2008
Posts: 100

Rep: Reputation: 15
A fresh install is not necessary. I have successfully updated a few PC's starting with Fedora Core 1 up to Fedora 8. Some even on servers in a production environment.

Package conflicts usually are related to packages that have been manually added. I had similar issues with xine packages that were not part of Fedora itself. My advice is to remove the conflicting packages entirely and reinstall them afterwards.

Quote:
1. Run "yum clean all".
2. Install "velocity" with yum.
3. Run "yum update".
Why do you need to install velocity before yum updating? Makes more sense to install it afterwards.

I suppose you have downloaded and installed the Fedora 7 repositories before running yum clean all.

The switch from F6 to F7 was actually one of the smoothest among release upgrades in my case.

Linux

Last edited by marquardl; 05-01-2008 at 04:16 AM.
 
Old 04-25-2008, 11:42 AM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
The official suggested method is still to do a fresh install. This is particularly important when going from FC6 to whatever. FC6 still used both the hdX designation and the sdX designation for drives. Starting with F7 all drives are designated sdX. In the yum upgrade process, the system tends to loose track of which is which on a lot of hardware. hda becomes sda and sda becomes sdb(on some hardware). So when it is converting stuff from the old hda to the new sda it sometime puts it on the old sda instead. Generating a big unusable mess.
 
Old 04-26-2008, 12:37 AM   #7
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by marquardl
A fresh install is not necessary.
But how much would you be willing to bet on this machine running flawlessly through the upgrade process? Two levels? From an obsolete release?

Quote:
Originally Posted by lazlow
The official suggested method is still to do a fresh install.
Exactly. IOW: fedora devs don't want to bet on it.

http://fedoraproject.org/wiki/DistributionUpgrades
... pushes you very strongly at a fresh install.

http://docs.fedoraproject.org/releas...Related-Issues
While they are mostly talking about 3rd-party software, I have had upgrade failures on 70% of tries - even with only official installs. The less installed, the more likely an upgrade will work.

Upgrading servers seems to go well though - perhaps due to the simplicity of the install.

And even with all this - the bandwidth involved in a fresh f8 install vs online upgrade FC6-f7-f8 is much smaller. The fresh install is faster, cheaper, and more reliable.

Of course - f9 is out real soon. May be good advice to wait a couple of weeks and install that - saves on an extra upgrade.
 
Old 05-03-2008, 01:35 PM   #8
jc_cpu
Member
 
Registered: May 2006
Distribution: Fedora 14
Posts: 71

Original Poster
Rep: Reputation: 15
Thanks for all of your help.

I tried to run the yum commands to do the upgrade(my data was backed up, so I thought that I would give it a try), but I was not able to install the packages that switch repositories due to FC6 package conflicts (even tried as root). Couldn't find any help for this, so I decided to do a fresh install.

Fedora has really made it easy. I downloaded the live CD (my old reliable linux box doesn't have a DVD drive) and installed the OS from that. I then used yum to install all of the server software that I needed. Now I'm just in the process of getting my sites back online.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum on FC6. 'yum update' error. mufy Fedora 8 06-14-2007 02:03 AM
fc6 yum install error multiple repository entries joncampbell60 Linux - Software 7 11-28-2006 12:51 AM
FC6: What's the easiest way to install 32bit programs on 64 bit system via yum? jlo_sandog Fedora 1 10-25-2006 09:10 PM
Dependency error updating with YUM on Fedora Core 4 tron_thomas Linux - Software 7 04-18-2006 02:25 AM
Updating system with yum broke Openoffice.org Jamo Fedora 3 06-15-2005 04:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:16 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