LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-08-2005, 02:38 PM   #1
frenchgrey
LQ Newbie
 
Registered: Jul 2005
Location: Cheltenham
Posts: 3

Rep: Reputation: 0
Unhappy yum conf file - where is it??


Hi all,

as a fedora and yum newbie, I need to change the repos listed in the yum.conf file... however, I don't know where to find it. Using SSH, what command brings up the contents of the file so that I can paste the new stuff into it. I've spent all day looking for it in vain. Please help
 
Old 07-08-2005, 02:59 PM   #2
tommyr1216
Member
 
Registered: Sep 2004
Location: Pennsylvania
Distribution: Gentoo, Suse, Fedora, Slackware
Posts: 56

Rep: Reputation: 15
Your yum.conf should be located in /etc/. If it's missing, you may want to download the yum rpm from redhat's site and install it, that should replace the default configuration file.
 
Old 07-08-2005, 02:59 PM   #3
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
I think it's probably just /etc/yum.conf , but i've only briefly used fedora a while back. could be wrong, but most of your confiruation files will be stored in /etc/
 
Old 07-08-2005, 03:05 PM   #4
frenchgrey
LQ Newbie
 
Registered: Jul 2005
Location: Cheltenham
Posts: 3

Original Poster
Rep: Reputation: 0
I've tried yum -c /etc/yum.conf with no luck as it tells me permission denied.
 
Old 07-08-2005, 03:55 PM   #5
tommyr1216
Member
 
Registered: Sep 2004
Location: Pennsylvania
Distribution: Gentoo, Suse, Fedora, Slackware
Posts: 56

Rep: Reputation: 15
you don't need to specify the file, just leave off the -c /etc/yum.conf. Yum will look there automatically for it. As for the permission denied, are you root? If so, check the permissions on yum.conf. (ls -l /etc/yum.conf). The file should be owned by root and owner should have read and write permission on it. If not, you can add these (chmod u+rw /etc/yum.conf).
 
Old 07-08-2005, 04:10 PM   #6
mkoljack
Member
 
Registered: Jan 2005
Location: Chicago
Distribution: Fedora Core 4, Suse 9.3
Posts: 186

Rep: Reputation: 30
yum

/etc/yum.conf or /etc/yum.repos.d -- where you can list them individually
 
Old 07-08-2005, 05:23 PM   #7
frenchgrey
LQ Newbie
 
Registered: Jul 2005
Location: Cheltenham
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for all your help, I will try out what you suggest.
 
  


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
cannot repair yum.conf (won't install new file) dark_prancer Linux - Software 5 09-22-2005 03:04 AM
The Perfect yum.conf file for FC4 Rory in Toronto Fedora 5 06-25-2005 03:09 PM
How to edit yum.conf file? sirius57 Fedora 10 06-23-2005 12:00 PM
yum.conf file? carlosinfl Fedora 3 04-26-2005 10:47 AM
yum conf file zer0snr Linux - Newbie 3 04-23-2004 09:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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