Linux - SoftwareThis 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
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.
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.
I run the following command to update my computer:
sudo yum update
Usually, it works great. I'm getting an error at the moment and I'm not quite sure what to do about it. I'm also not able to update my linux (fedora core 6) PC.
The error is:
Transaction Check Error:
file /usr/share/java/avalon-logkit.jar from install of excalibur-avalon-logkit-2.2.1-0.r508111.2jpp conflicts with file from package avalon-logkit-1.2-4jpp.3
Any help will be greatly appreciated. Thanks in advance.
You need to update to exclude the package with the conflict. That will get your whole update working. You can also remove the offending package, update, then install the offender and hope there is no conflict in the updated configuration.
You are doing a tidy-up between updates arn't you?
1. What's the yum command to exclude a package? I only know how to update a specific package list.
2. As far as I know, yum is supposed to be managing my packages based on the configured repositories. What do you mean by "tidy-up"? I do what I stated. I run that one command to update.
3. The site you supplied is in German. Is there an English version of this page or a way to translate it with one click (I'm a little lazy )?
Thanks for all of your help, but none of those commands to update worked in this case. There was some sort of dependency conflict that not even the skip-broken plug-in could handle. I did manage to update the computer. To do so, I had to do the following:
1.
yum remove velocity
This ended up removing the following packages:
=============================================================================
Package Arch Version Repository Size
=============================================================================
Removing:
velocity i386 1.4-6jpp.1 installed 1.6 M
Removing for dependencies:
bsf noarch 2.4.0-1jpp installed 126 k
bsh noarch 1.3.0-11jpp installed 729 k
openoffice.org-calc i386 1:2.0.4-5.5.23 installed 19 M
openoffice.org-core i386 1:2.0.4-5.5.23 installed 221 M
openoffice.org-draw i386 1:2.0.4-5.5.23 installed 2.6 M
openoffice.org-graphicfilter i386 1:2.0.4-5.5.23 installed 427 k
openoffice.org-impress i386 1:2.0.4-5.5.23 installed 4.2 M
openoffice.org-math i386 1:2.0.4-5.5.23 installed 3.2 M
openoffice.org-writer i386 1:2.0.4-5.5.23 installed 6.7 M
openoffice.org-xsltfilter i386 1:2.0.4-5.5.23 installed 212 k
You can also remove the offending package, update, then install the offender and hope there is no conflict in the updated configuration.
IIRC: package dependencies are read from a header in the rpm. An update to a package may end up using a different description in the header, to use a slightly different package, which can lead to dependency conflicts and updates being refused.
The cleanest way to resolve this is to remove the offending package, then install it. The newer descriptions make sure that the proper dependencies get loaded.
The fact that OOo was removed with velocity, but didn't need velocity, seems to show the problem was with the velocity package description somewhere. Hopefully this has been picked up elsewhere.
Is it just me or does this sort of thing happen to rpm distros more?
Last edited by Simon Bridge; 09-30-2007 at 05:31 PM.
The fact that yum removed all of these packages when I removed velocity tells me that the problem was with all of these packages. I could be wrong. Looks like they don't have the dependency anymore though.
Usually yum works well for me. Hopefully this problem won't happen again and I can just go back to the easy "yum update" command.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.