LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-20-2009, 01:20 PM   #1
nkd
Member
 
Registered: Oct 2006
Location: india
Distribution: fedora 8, ubuntu 10.10
Posts: 318

Rep: Reputation: 34
yum always first does a update of repo data. How to work around that ?


Hi all,
I am using fedora 10 on my acer laptop. I use yum to manage my softwares. The problem is whenever I do a yum install somePackage, it first starts off updating it's repositories one by one and then it will parse the package install arguments and resolve dependencies. Can I bypass the updation of the repo data once in a while by using any switch/option with yum ?
Does the option -C do what I want ?
thanks
nishith
 
Old 02-20-2009, 01:59 PM   #2
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
Personally, I would highly recommend against doing that. It shouldn't update the repos unless the repos need updating, and that ensures that you get the newest (most stable and secure) version of the software that you are trying to install.

Cheers
 
Old 02-20-2009, 04:33 PM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I'm not here to lecture you in any way, I'll throw you the bone your looking for instead.

First, you should browse this documentation. Pay particular attention to section 9.2. By following links, your answer will be found here.
 
  


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.conf - extract files from a DVD. How define repo location and what is yum command emuub Linux - Software 2 06-17-2007 07:28 AM
yum update problem, centos 4.92 repo no longer available parv Linux - Distributions 3 04-15-2007 07:10 PM
after yum update cups dosn't work drewblay Fedora 0 10-19-2006 03:42 PM
yum update wont work Andreal Linux - Newbie 4 11-06-2005 02:47 AM
adding mirror to yum.repo.d/<any-repo> ashwin_cse Fedora 1 03-10-2005 03:49 PM

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

All times are GMT -5. The time now is 05:34 AM.

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