Re: Yum repos

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Girish Venkatasubramanian wrote, On 12/15/2008 08:53 AM:
Hello,
I have been using yum on FC5 (I know I should upgrade - but I don't
have that option - due to the specifications at work) without any
issues till about a couple of weeks ago. For the last couple of weeks,
every time I try to install something via yum I end up getting the
message "Error: Cannot find a valid baseurl for repo: core"

What are you installing on FC5 via yum anymore?


I have tried the following suggestions that I found on different forums.
1) Ensure that my network is not acting up - I am able to ping google.com
2) Did "yum clean all"
3) Tried uncommenting the "baseurl" line in all my /etc/yum.repos.d/*repos files
4) Did (3) and commented ot the "mirrorlist"
5) Tried to browse to the baseurl as well as the mirrorlist sites -
they were not up and running.

My conf files look like
---------------------
[core]
name=Fedora Core $releasever - $basearch
#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
file:///etc/pki/rpm-gpg/RPM-GPG-KEY
---------------------
(I don't have any other mirrors listed)

1) Are there any mirrors that are working for FC5? If so - how do I add them?

Finding a working (and trust-able) FC5 repo at this point may be a trick, google has been my friend in the past when needing some really old FC stuff. If you find one, I suggest (if we can't convince you to upgrade to SOMETHING that is secure) don't add that to your yum.repos.d files, but mirror it (rsync|wget) to local media.

2) If there are no mirrors - can I host a mirror? How do I go about doing that?
rsync|wget
once you have it change the yum.repos.d files so that mirrorlist is commented and use
baseurl=file:///path/to/my/mirror/fedora/linux/core/$releasever/$basearch/[os|updates]/

3) Short of upgrading to a newer version - is there any solution for
this problem?
change all the yum.repos.d files enabled=1 to enabled=0 [This is probably the best place to start for you anyway seeing as you will likely not need anything more from the base and updates repositories on those machines anyway.]


start planning the upgrade ... and put those machines behind a firewall that does not allow them to see anything called the internet, i.e., air gap them with a real air gap.

If you have to have something that is nearly that old in production, may we suggest looking at RHEL 5.2 or Centos? If you need something that will be supported for more than 13 months in the future, may we suggest looking at RHEL 5.2 or Centos?

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux