DISCUSSION: Using yum to update and install applications.
LinuxAnswers DiscussionThis forum is to discuss articles posted to LinuxAnswers.
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.
How does yum resolve same package in multiple repositories?
Nice article. I've been using yum on top of up2date. actually I let up2date let me know when there are Fedora Core 3 updates and then I use yum to update.
Here is a problem I am having right now:
I have added the dag repository and installed some packages from there.
Recently I installed monodevelop from the official mono repository.
it installs the following packages
Install: monodevelop.i386 0:0.5.1-1.novell.9.1
Performing the following to resolve dependencies:
Install: gecko-sharp.i386 0:0.6-1.novell.9.1
Install: gtk-sharp.i386 0:1.0.6-0.novell.9.1
Install: gtksourceview-sharp.i386 0:0.5-1.novell.9.1
Install: mono-core.i386 0:1.0.6-1.novell.9.1
Install: mono-data.i386 0:1.0.6-1.novell.9.1
Install: mono-web.i386 0:1.0.6-1.novell.9.1
Install: monodoc.i386 0:1.0.5-1.novell.9.1
dag also has some mono related packages (mono-core, gtk-sharp, etc).
When I do a 'yum update' with the dag repository enabled yum complains about missing dependencies and it fails to update any of the packages (from any repository)
--> Populating transaction set with selected packages. Please wait.
---> Package monodoc.i386 0:1.0.5-1.1.fc3.rf set to be updated
---> Package mono-data.i386 0:1.0.6-1.1.fc3.rf set to be updated
---> Package mono-web.i386 0:1.0.6-1.1.fc3.rf set to be updated
---> Package gecko-sharp.i386 0:0.6-1.1.fc3.rf set to be updated
---> Package monodevelop.i386 0:0.5.1-3.1.fc3.rf set to be updated
---> Package mono-core.i386 0:1.0.6-1.1.fc3.rf set to be updated
---> Package gtksourceview-sharp.i386 0:0.5-1.1.fc3.rf set to be updated
--> Running transaction check
--> Processing Dependency: mono(System) = 1.0.5000.0 for package: gtk-sharp
--> Processing Dependency: mono(mscorlib) = 1.0.5000.0 for package: gtk-sharp
--> Processing Dependency: mono(System.Xml) = 1.0.5000.0 for package: gtk-sharp
--> Finished Dependency Resolution
Error: missing dep: mono(System) = 1.0.5000.0 for pkg gtk-sharp
Error: missing dep: mono(mscorlib) = 1.0.5000.0 for pkg gtk-sharp
Error: missing dep: mono(System.Xml) = 1.0.5000.0 for pkg gtk-sharp
My 'solution' for now was the following:
Disable the dag repository
yum update (to update all the packages that are not in dag)
yum remove monodevelop (to avoid package conflicts with dag)
yum --enablerepo=dag update (to update all the packages I got from dag)
yum --enablerepo=go-mono install monodevelop (to reinstall the monodevelop packages)
that solved my problem for now. But the question is: Is there a way to tell YUM that if there is a conflict for the mono packages always favor the mono official site?
I have a bunch of machines running FC3, & i just downloaded all the FC# updates on one of the machine
is it possible to use this machine as a update server for the other machines?
so that they dont need to be updated via internet & can be updated much faster..