LinuxQuestions.org
Visit Jeremy's Blog.
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 12-23-2004, 05:30 PM   #1
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Rep: Reputation: 30
yum update


Ok, After a fresh install of FedoraCore3, I always install ALL packages in the Anaconda option because I have enough system resources and use most of the packages, I would like to update the packages mainly like xorg and alsa and gtk and all the other ones i care about. I have used the Red Hat Linux Network pacvkage that pops up with an red ! but it seems like through all the reformats that up2date RHLN has only worked once or twice for updating packages and only once for updating the kernel. I was wondering if its a bad idea to do

yum update


instead of secifiying a package name and just have it update all packages. Is this a bad decision? Wheter it be due to possible problems down the road or now or what? Or is it absoluitely fine to do that, right after a reformat?

BTW im using GNOME if that matters.

Last edited by TuxFreak; 12-23-2004 at 05:35 PM.
 
Old 12-23-2004, 06:40 PM   #2
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Original Poster
Rep: Reputation: 30
Question 2, when trying to look up an answer to my original question I came across this yum.conf at http://www.fedorafaq.org/samples/yum.conf I seen

[fedora-stable]
name=Fedora.us Extras (Stable)
baseurl=http://fedora.quicknet.nl/fedora/fedora/2/$basearch/RPMS.stable
http://mirrors.usc.edu/pub/linux/fed...dora/fedora/2/$basearch/RPMS.stable
http://fedora.mirror.sdv.fr/fedora/fedora/$releasever/2/RPMS.stable
http://download.fedora.us/fedora/fedora/$releasever/2/RPMS.stable
#gpgcheck=1

[fedora-unstable]
name=Fedora.us Extras (Unstable)
baseurl=http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/2/$basearch/RPMS.unstable
http://fedora.mirror.sdv.fr/fedora/fedora/2/$basearch/RPMS.unstable
http://fedora.quicknet.nl/fedora/fedora/2/$basearch/RPMS.unstable
http://mirrors.kernel.org/fedora.us/fedora/fedora/2/$basearch/RPMS.unstable
http://download.fedora.us/fedora/fedora/2/$basearch/RPMS.unstable
#gpgcheck=1

[fedora-testing]
name=Fedora.us Extras (Testing)
baseurl=http://download.fedora.us/fedora/fedora/2/$basearch/RPMS.testing
http://fedora.quicknet.nl/fedora/fedora/2/$basearch/RPMS.testing
http://fedora.mirror.sdv.fr/fedora/fedora/2/$basearch/RPMS.testing
http://mirrors.kernel.org/fedora.us/fedora/fedora/2/$basearch/RPMS.testing
http://mirrors.usc.edu/pub/linux/fed...dora/fedora/2/$basearch/RPMS.testing
#gpgcheck=1


along with other repositories that say fedoratesting and fedora unstable... am I able to comment out all of the testing and unstable lines as if i do "yum update" im not interested in downloading any unstable or testing versions but only the stable releases.... Or doesnt this relate to it? So I would just comment out like

#[fedora-testing]
#name=Fedora.us Extras (Testing)
#baseurl=http://download.fedora.us/fedora/fedora/2/$basearch/RPMS.testing
# http://fedora.quicknet.nl/fedora/fedora/2/$basearch/RPMS.testing
# http://fedora.mirror.sdv.fr/fedora/fedora/2/$basearch/RPMS.testing
# http://mirrors.kernel.org/fedora.us/fedora/fedora/2/$basearch/RPMS.testing
# http://mirrors.usc.edu/pub/linux/fed...dora/fedora/2/$basearch/RPMS.testing
#gpgcheck=1

Help on either question is greatly appreciated. Third and final question for now, the yum.conf at FedoraFaq contains many mirrors so would you recommend using this as sometimes the main networks can be down? Thanks

 
Old 12-23-2004, 07:07 PM   #3
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
If you put things into the /etc/yum.conf file, you can just comment out the parts which you don't want to get used like testing or development.
If you use the default setup in fc3, there is a directory called /etc/yum.repos.d which has individual files for the different sections. You can add others like I have for livina.repo and fedora-pre-extras.repo ...
fedora-devel.repo
fedora-updates.repo
fedora-pre-extras.repo
fedora-updates-testing.repo
fedora.repo
livna.repo

In those individual files there usually is a mirror list statement which causes yum to try another site if there is a network failure....
mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever

Also, each file is used or not used by the enabled=? switch. Where enabled=1 means that you do want to use that file ( like testing or devel ) and enabled=0 means that you don't want to use it.


Either method works.

Last edited by homey; 12-23-2004 at 07:09 PM.
 
Old 12-23-2004, 07:13 PM   #4
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Original Poster
Rep: Reputation: 30
i think ill just comment out the testing and unstable from the yum.conf... Thanks. So does anyone see any problem in just doing yum update to update everything
 
Old 12-23-2004, 07:31 PM   #5
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Quote:
So does anyone see any problem in just doing yum update to update everything
None that I know of since you have the room and a fast connection.
 
Old 12-23-2004, 07:38 PM   #6
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Original Poster
Rep: Reputation: 30
ok, i plan on reformatting tommorrow and ill download the yum.conf from FedoraFaq and then comment out the stuff except the stable stuff (if theres any other tweaks I should make, please post it) and then do

yum update

I hope it all goes well... Any ideas how long it should take on a standard ADSL line? I have no idea of the size of all the upgrades so I cant make a guess.
 
Old 12-23-2004, 07:45 PM   #7
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
If I understand you correctly, you are going to do a normal install of fc3 then run the yum update? If so, that is no problem and the first time you run yum update, it may take 10 minutes ( can't remember ) but after that, each run only takes a minute or so.

Like I said, the default fc3 setup for yum works and you don't need to add anything to the /etc/yum.conf unless you prefer to do it that way.
 
Old 12-23-2004, 07:52 PM   #8
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Original Poster
Rep: Reputation: 30
what about mirrors for yum and such to download? or are the default ones rather reliable?
 
Old 12-23-2004, 07:59 PM   #9
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
the mirror list is huge and this line causes yum to try another mirror if there is a problem with one of them.
mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
 
Old 12-23-2004, 08:05 PM   #10
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Original Poster
Rep: Reputation: 30
so append that to etc/yum.conf? just add to bottom line of yum.conf

mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
 
Old 12-23-2004, 08:17 PM   #11
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
A mirrorlist line similar to that one is in each of the files which are in /etc/yum.repos.d
If you would rather put those lines in /etc/yum.conf here they are. Then you can comment out what you don't want.

[base]
name=Fedora Core $releasever - $basearch - Base
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever

[development]
name=Fedora Core $releasever - Development Tree
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-rawhide

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever

[updates-testing]
name=Fedora Core $releasever - $basearch - Test Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/updates-testing-fc$releasever

Last edited by homey; 12-23-2004 at 09:00 PM.
 
  


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 question: How to update from backed up yum cache? Arodef Linux - Software 2 02-02-2010 11:42 PM
yum update yum? TranceDude Linux - Software 3 08-23-2005 09:56 AM
can't use yum to update ShaChris23 Fedora 2 04-28-2005 11:31 PM
trying to update via yum and update fails lnxmacusr Fedora 4 12-17-2004 03:12 PM
Yum Update complains of missing file to do update, but file exists! davidas Linux - Newbie 0 03-28-2004 11:14 AM

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

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