LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 06-13-2008, 06:56 PM   #1
grantwnorman
LQ Newbie
 
Registered: Jun 2008
Posts: 7

Rep: Reputation: 1
Yum Repository Problems on FC7


I am having problems getting YUM to work on one of my Fedora 7 machines... please see below.

Quote:
Loading "installonlyn" plugin
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...ra-7&arch=i386
error was
[Errno 14] HTTP Error 404: Date: Fri, 13 Jun 2008 23:06:02 GMT
Server: Apache/2.2.4 (Fedora)
Content-Length: 208
Connection: close
Content-Type: text/html; charset=iso-8859-1

http://download.fedora.redhat.com/pu...ta/repomd.xml:
[Errno 14] HTTP Error 404: Date: Fri, 13 Jun 2008 23:06:02 GMT
Server: Apache/2.2.4 (Fedora)
Content-Length: 249
Connection: close
Content-Type: text/html; charset=iso-8859-1

However, if I visit the mirror list specified above it does exist and shows all applicable mirrors. I can't understand why I am getting a 404 error when I can both visit the links and use wget which finds and downloads the pages just fine.

I have the following repos in /etc/yum.repos.d:
-fedora-development.repo
-fedora.repo
-fedora-updates.repo

and here is the fedora.repo entries.. I manually changed the baseurls to FC6 as there does not appear to be a valid FC7 repo...

Quote:
[fedora]
name=Fedora $releasever - $basearch
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-7&arch=i386
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[fedora-source]
name=Fedora $releasever - Source
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

name=Fedora Core $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
baseurl=http://ftp.ale.org/mirrors/fedora/linux/core/6/$ARCH/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
1 other thing to mention, I am behind a Mikrotik router which may be proxying the requests. Although, all authentication is bypassed for that device...any help would be appreciated, I have been strugling with this for some time now!
 
Old 06-13-2008, 11:01 PM   #2
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
if the router IS proxying http requests do you have 'http_proxy' set in your environment? If I recall wget and yum interpreted '$http_proxy' differently - I think I usually set it something along the lines of 'http://proxy.server:80' and that works for yum and wget. Just a thought.
 
Old 06-13-2008, 11:13 PM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172

Well this(above) is not right. This would be for FC6 (/core/6/).

The other problem you are going to have to face is that very shortly (or possibly already) official support for F7 will be dropped (no more updates of any kind).

This MIGHT be better: http://download.fedora.redhat.com/pu...386/os/Fedora/

Last edited by lazlow; 06-13-2008 at 11:16 PM.
 
  


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
Redhat 5.1 Yum Repository vs Fedora x.x Yum Repository lead2gold Linux - Software 1 05-22-2008 02:19 PM
fc7 yum update failed Gortex Fedora 3 01-14-2008 01:22 AM
upgrading from FC5->FC6->FC7 with yum maggus Fedora 4 09-07-2007 07:24 AM
yum update notification (FC7) kjuergen Fedora - Installation 4 08-11-2007 05:40 PM
yum repository problems kpachopoulos Fedora 2 07-28-2005 07:03 PM

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

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