LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-08-2010, 07:34 AM   #1
z99
Member
 
Registered: Aug 2009
Location: Iran-Sari
Distribution: CentOS,Fedora,Slitaz
Posts: 136

Rep: Reputation: 20
updates/primary_db while using yum


hi everyone,
whenever i use yum,updates/primary_db and some more,will update themselves,is it really essential?
i use dial up connection and it's really annoying to wait for them to be up to date and sometimes they stop because of low speed and will start from the beginning,can i do something not to let them to be up-to-date?
thanks
 
Old 03-08-2010, 07:47 AM   #2
dsmyth
LQ Newbie
 
Registered: Mar 2010
Location: Glasgow, Scotland
Distribution: Fedora 12
Posts: 26
Blog Entries: 6

Rep: Reputation: 17
Hi, I think (not sure but give it a try) if you use the -C (upper case C) switch on yum it will work from cache only and not update the primary-db (unless it needs to).
 
Old 03-08-2010, 08:11 AM   #3
z99
Member
 
Registered: Aug 2009
Location: Iran-Sari
Distribution: CentOS,Fedora,Slitaz
Posts: 136

Original Poster
Rep: Reputation: 20
thanks for your reply,
I've test -C switch,but it sounds like yum needs to update that file
 
Old 03-08-2010, 11:38 AM   #4
dsmyth
LQ Newbie
 
Registered: Mar 2010
Location: Glasgow, Scotland
Distribution: Fedora 12
Posts: 26
Blog Entries: 6

Rep: Reputation: 17
Hi, sorry my last post didn't solve the problem, I'm reasonably new to this myself (but I like to learn).

I believe the primary-db needs to be updated at least once before the -C option will work. From what I have read it can be unreliable using -C because the cache should always be up to date. :\ not ideal.

http://forums.fedoraforum.org/archiv.../t-121071.html

After reading the above maybe it might be a good idea to have a look and see what repos yum is using. There maybe closer repos to you that will download faster that the default. There is some good advice in the above post like removing 'yum-fastestmirror' plugin to help speed things up. There is also a recommendation to use yumex instead.

Hope the above information is helpful.
 
Old 03-09-2010, 08:23 AM   #5
z99
Member
 
Registered: Aug 2009
Location: Iran-Sari
Distribution: CentOS,Fedora,Slitaz
Posts: 136

Original Poster
Rep: Reputation: 20
thank you dsmyth for helping me
 
  


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
got a Fedora 9 indication that yum updates were available, but there were no updates landonmkelsey Linux - Software 12 02-08-2009 09:53 AM
updates with yum chakka.lokesh Fedora 20 05-14-2008 01:24 AM
No YUM updates elvisious Fedora 9 02-13-2008 02:15 PM
yum check-update says no updates when there are updates? MarkEHansen Linux - General 7 12-29-2006 05:16 PM
yum updates pulisubs Linux - Newbie 2 12-20-2004 10:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration