Fedora Linux Support Community & Resources Center
  #1  
Old 27th September 2005, 01:20 PM
stry_cat Offline
Registered User
 
Join Date: Mar 2005
Posts: 110
Unhappy FC4 & yum.conf & yum.repos.d

Can someone point me to what the official FC4 yum conf file and repo files should look like? I upgraded from FC3 to FC4 via yum and now it looks like all of my repos files are whacked.
Reply With Quote
  #2  
Old 27th September 2005, 01:23 PM
stry_cat Offline
Registered User
 
Join Date: Mar 2005
Posts: 110
Oh I should add, I also get a number of errors after the upgrade. Including missing keys and 404 errors for a number of repos and packages.
Reply With Quote
  #3  
Old 27th September 2005, 08:33 PM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,075
The FC4 yum.conf shouldn't define any repos. The default one looks like this:
Code:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
If you have installed the fedora-release package for FC4, you should have the correct repo files in /etc/yum.repos.d/. They may have been installed with the .rpmnew suffix added to the filename.
Reply With Quote
  #4  
Old 28th September 2005, 08:46 AM
rooks Offline
Registered User
 
Join Date: Sep 2005
Posts: 7
Hello markkuk ,

I have similiar problemo with yum update

[root@localhost /]# yum update
Setting up Update Process
Setting up repositories
Cannot find a valid baseurl for repo: updates-released
Error: Cannot find a valid baseurl for repo: updates-released

it was working fine earlier this morning..... however it suddenly breaks. I am behind a proxy squid server. However my firefox browses fine (connection direct to the internet). At first i thought its proxy but now not so sure.

below is a dump of my /etc/yum.repos.d/fedora.repo

[root@localhost yum.repos.d]# more fedora.repo
[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
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora




any suggestions is appreciated.

oh yes...i have FC 4 at home installed the same time too... yum update is running aok. compared yum.repos.d and yum.conf cant spot difference. : (
hmm could it be the gpgkey ?

arrghh.. : )
Reply With Quote
  #5  
Old 30th September 2005, 06:14 AM
big_mac126 Offline
Registered User
 
Join Date: Nov 2004
Posts: 22
try http://www.fedorafaq.org they've got a sample yum.conf as well as an rpm containing all the repos you'll want.
Reply With Quote
  #6  
Old 30th September 2005, 11:49 AM
shell32 Offline
Registered User
 
Join Date: Sep 2005
Posts: 9
hi!! im a newbie in linux... i just install the fedora core 4.. it seems ok but i dont know what i should do next then?? what will i need to configure?? something like yum? i cant understand... im a newbie. any help??
Reply With Quote
  #7  
Old 1st October 2005, 01:58 AM
Kapre2 Offline
Registered User
 
Join Date: Sep 2005
Posts: 4
Quote:
Originally Posted by big_mac126
try http://www.fedorafaq.org they've got a sample yum.conf as well as an rpm containing all the repos you'll want.
bigmac126 - The site you've pointed above is where I got my yum.conf but I cannot get the superkaramba app. Is there something like the "official yum.conf" that we can get it from?

K2
Reply With Quote
  #8  
Old 1st October 2005, 03:38 AM
smfinley Offline
Retired Community Manager
 
Join Date: Jul 2004
Posts: 1,334
The original yum configuration (which is the "official" yum configuration) that comes default with a new Fedora Core 4 installation is as follows: You should have an /etc/yum.conf file consisting of:
Code:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
You should have a directory /etc/yum.repos.d/ consisting of the files fedora-extras.repo, fedora.repo, fedora-devel.repo, fedora-updates.repo, fedora-extras-devel.repo, and fedora-updates-testing.repo.
fedora-extras.repo should consist of:
Code:
[extras]
name=Fedora Extras $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-$releasever
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1
fedora.repo should consist of:
Code:
[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
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
fedora-devel.repo should consist of:
Code:
[development]
# These packages are untested and still under development. This
# repository is used for updates to test releases, and for
# development of new releases.
#
# This repository can see significant daily turn over and can see major
# functionality changes which cause unexpected problems with other
# development packages. Please use these packages if you want to work
# with the Fedora developers by testing these new development packages.
#
# fedora-test-list@redhat.com is available as a discussion forum for
# testing and troubleshooting for development packages in conjunction
# with new test releases.
#
# fedora-devel-list@redhat.com is available as a discussion forum for
# testing and troubleshooting for development packages in conjunction
# with developing new releases.
#
# Reportable issues should be filed at bugzilla.redhat.com
# Product: Fedora Core
# Version: devel
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
enabled=0
gpgcheck=0
fedora-updates.repo should consist of:
Code:
[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
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
fedora-extras-devel.repo should consist of:
Code:
[extras-development]
name=Fedora Extras $releasever - Development Tree
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/development/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-devel
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=0
fedora-updates-testing.repo should consist of:
Code:
[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
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test
In addition to these you may add additional files in the /etc/yum.repos.d/ directory for additional third party repositories. Be sure not to mix incompatible repositories. For details see the yum section of Fedora Core 4 Installation Notes.
__________________
Stanton Finley
stanton-finley.net
Reply With Quote
  #9  
Old 2nd October 2005, 06:01 PM
stry_cat Offline
Registered User
 
Join Date: Mar 2005
Posts: 110
Thanks that is exactly what I was looking for.
Reply With Quote
Reply

Tags
fc4, yumconf, yumreposd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
popular repos & third party repos xGutsAndGloryx Using Fedora 0 12th November 2006 06:15 PM
Need working yum.conf or repos Creedog Using Fedora 2 1st November 2006 10:26 PM
No base repos and yum.conf.d empty jsmaye Using Fedora 3 10th April 2005 12:30 AM
Yum: yum.conf vs. yum.repos.d jayemef Fedora Focus 5 15th February 2005 11:36 PM


Current GMT-time: 23:02 (Thursday, 24-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat