LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion
User Name
Password
LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers.

Notices


Reply
  Search this Thread
Old 09-12-2004, 05:00 PM   #1
GufyMike
Member
 
Registered: Apr 2004
Location: Los(t) Angeles
Distribution: Fedora Core2, RH9, FreeBSD, Debian, Knoppix,
Posts: 53

Rep: Reputation: 15
Post DISCUSSION: Using yum to update and install applications.


This thread is to discuss the article titled: Using yum to update and install applications.
 
Old 12-07-2004, 11:07 PM   #2
mjbrej
LQ Newbie
 
Registered: Jun 2004
Location: Monterey, California
Distribution: Fedora Core 4
Posts: 10

Rep: Reputation: 0
Thumbs up Great summary for someone new to YUM

I have been a user of up2date exclusively up til now. But your summary has convinced me that I might want to dip my toes into yum a little bit. Thanks for laying out the basics for us newbies!
 
Old 12-15-2004, 04:32 AM   #3
wongster
LQ Newbie
 
Registered: Nov 2004
Posts: 17

Rep: Reputation: 0
Hi folks,

any changes I need to adjust for FC3? I did not see a lot of stuff in FC3's default as compared to the one listed in the article.

Wongster
 
Old 03-01-2005, 09:46 PM   #4
rarsa
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 211

Rep: Reputation: 31
How does yum resolve same package in multiple repositories?

Hi,

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
===========================
Transaction Listing:
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)
=================================
Resolving Dependencies
--> 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?
 
Old 03-01-2005, 09:52 PM   #5
rarsa
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 211

Rep: Reputation: 31
How does yum resolve same package in multiple repositories?

Forget the previous question. Two seconds after sending it I figured out the answer: Here it is for anyone to read it:

When the same package exists in two repositories with different versions and you want to force YUM to always update from one of them: exclude the packages from the other repository.

In my example I explicitly excluded the offending packages from the dag repository by adding an exclude option to the dag.repo file (or to the dag section of the yum.repo):

===================
[dag]
name=Dag RPM Repository for Fedora Core
baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag
enabled=0
exclude=mono* gecko-sharp gtksourceview-sharp
======================================


I hope this can save some time to someone else
 
Old 03-10-2005, 02:16 AM   #6
ashwin_cse
Member
 
Registered: Jul 2004
Distribution: arch, rhel, ubuntu, debian, gentoo
Posts: 134

Rep: Reputation: 22
I think article has become a little outdated. FC3 uses /etc/yum.repo.d/[different .repo files].
 
Old 03-11-2005, 07:49 PM   #7
2hawks
LQ Newbie
 
Registered: Mar 2005
Location: Dayton, OH
Distribution: Fedora Core 3
Posts: 1

Rep: Reputation: 0
Unhappy Fedora Core 3 YUM and YUMI

Seeings how everyone is up on YUM, I have a question for ya.

Has anyone been able to get YUMI to work ??

Every time I launch it I get the following errors:

Could not setup settings tab. Config.py needs mods.
Insufficient server config - no servers found. Aborting.

What is it looking for ??
 
Old 04-06-2005, 12:49 AM   #8
abhijeetudas
Member
 
Registered: Sep 2004
Distribution: Redhat / Fedora
Posts: 114

Rep: Reputation: 15
Firstly
Thanks for a excellent How-to.


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..


thanks,
 
Old 04-06-2005, 01:40 PM   #9
rarsa
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 211

Rep: Reputation: 31
Setting Up an update server

This is one of the great advantages of Yum:

You can set-up your own Yum server and configure all other computers to use this one as the default repository.

Here is an article that explains how to exactly what you are asking for:

http://www.phy.duke.edu/~rgb/General...le/node14.html



I hope this helps.

Cheers.
 
Old 06-03-2005, 02:58 PM   #10
Gamezace
Member
 
Registered: Apr 2004
Location: NOVA, VT
Distribution: gentoo
Posts: 88

Rep: Reputation: 15
Quote:
Originally posted by ashwin_cse
I think article has become a little outdated. FC3 uses /etc/yum.repo.d/[different .repo files].
While you can do it this way, FC3 still supports adding the repositories to the /etc/yum.conf file.
 
Old 01-24-2007, 10:53 AM   #11
crazyfuzzy
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Rep: Reputation: 0
cannot exe binaries and GCC

Quote:
Originally Posted by mjbrej
I have been a user of up2date exclusively up til now. But your summary has convinced me that I might want to dip my toes into yum a little bit. Thanks for laying out the basics for us newbies!

I just installed fedora core 6 first two cd but now i am trying to install the 3rd cd which i downloaded from the fedoraweb site its saying the same thing "cannot execute binary file"

Also I used the Yum option to up date the software

Also I dont know how can I install gcc because I know the 3rd cd comes with built in GCC... Can you please guide me...

Thank you

Last edited by crazyfuzzy; 01-24-2007 at 10:55 AM.
 
Old 04-09-2011, 03:02 AM   #12
udaypratapyati
LQ Newbie
 
Registered: Feb 2011
Posts: 17

Rep: Reputation: 0
yum

Quote:
Originally Posted by crazyfuzzy View Post
I just installed fedora core 6 first two cd but now i am trying to install the 3rd cd which i downloaded from the fedoraweb site its saying the same thing "cannot execute binary file"

Also I used the Yum option to up date the software

Also I dont know how can I install gcc because I know the 3rd cd comes with built in GCC... Can you please guide me...

Thank you


hi all,

this was very informative. i was searching for this info. for quiet some time.

Thanks.
uday.
 
  


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 question: How to update from backed up yum cache? Arodef Linux - Software 2 02-02-2010 11:42 PM
DISCUSSION: Install KDE 3.4 in Fedora Core 3 without Applications Crashing hari_seldon99 LinuxAnswers Discussion 6 08-17-2005 05:38 PM
New install and have trouble yum update lmanwarren Linux - Software 4 05-02-2005 11:22 PM
Minimal install of FC3: cannot get wget and yum update to work. gregf50 Linux - Newbie 5 03-16-2005 09:33 AM
trying to update via yum and update fails lnxmacusr Fedora 4 12-17-2004 03:12 PM

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

All times are GMT -5. The time now is 12:13 PM.

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