Results 1 to 8 of 8

Thread: yum 404 error?

  1. #1
    Join Date
    Oct 2004
    Location
    LA, CA
    Posts
    1,059

    yum 404 error?

    So I got yum installed but each time I use a yum command it gives me some 404 error...how do I fix this? It spits out a URL and then tells me it can't find the file, 404 error.

  2. #2
    Join Date
    May 2006
    Posts
    556
    Can you give the exact error?

    What OS?

    Have you set up any repostories?

  3. #3
    Join Date
    Oct 2004
    Location
    LA, CA
    Posts
    1,059
    Gathering header information file(s) from server(s)
    Server: Red Hat Linux 3 - i386 - Base
    retrygrab() failed for:
    http://mirror.dulug.duke.edu/pub/yum...rs/header.info
    Executing failover method
    failover: out of servers to try
    Error getting file http://mirror.dulug.duke.edu/pub/yum...rs/header.info
    [Errno 4] IOError: HTTP Error 404: Not Found

    I run centos3.3

  4. #4
    Join Date
    Aug 2004
    Location
    Houston, TX
    Posts
    1,396
    what is in your /etc/yum.conf
    Eleven2 Web Hosting - World-Wide Hosting, Done Right!
    Shared Hosting | Reseller Hosting | Dedicated | Virtual Premium Servers
    Server Locations in: Dallas | Los Angeles | Singapore | Amsterdam

  5. #5
    Join Date
    Oct 2004
    Location
    LA, CA
    Posts
    1,059
    [main]
    exclude=courier* apache* mod_ssl* httpd* perl mysql* php* spamassassin* kernel*$
    cachedir=/var/cache/yum
    debuglevel=2
    logfile=/var/log/yum.log
    pkgpolicy=newest
    distroverpkg=redhat-release
    tolerant=1
    exactarch=1

    [base]
    name=Red Hat Linux $releasever - $basearch - Base
    baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/$releasever/$bas$


    [updates]
    name=Red Hat Linux $releasever - Updates
    baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/updates/$release$

  6. #6
    Join Date
    Feb 2003
    Location
    North Hollywood, CA
    Posts
    2,554
    maybe I'm seeing this wrong, but http://mirror.dulug.duke.edu/pub/yum-repository/redhat/ shows red hat 7.3 and 9.

    Why not use centos repos?
    Remote Hands and Your Local Tech for the Los Angeles area.

    (310) 573-8050 - LinkedIn

  7. #7
    Join Date
    Jun 2003
    Location
    UK
    Posts
    6,601
    Try this one which is off a 3.8 box

    [main]
    exclude=mod_ssl* httpd* perl mysql* php* spamassassin* kernel* exim* courier* ap
    ache*
    cachedir=/var/cache/yum
    debuglevel=2
    logfile=/var/log/yum.log
    pkgpolicy=newest
    distroverpkg=redhat-release
    tolerant=1
    exactarch=1
    diskspacecheck=1
    retries=2

    [system-base]
    name=CentOS-$releasever - $basearch - Base
    baseurl=http://syspackages.sourcedns.com/packages/mirrors/centos-3/3/os/$basearc
    h/
    gpgcheck=1

    [system-updates-released]
    name=CentOS-$releasever - $basearch - Released Updates
    baseurl=http://syspackages.sourcedns.com/packages/mirrors/centos-3/3/updates/$ba
    search/
    gpgcheck=1

    [system-addons]
    name=CentOS-$releasever - $basearch - Addons
    baseurl=http://syspackages.sourcedns.com/packages/mirrors/centos-3/3/addons/$bas
    earch/
    gpgcheck=1

    [system-extras]
    name=CentOS-$releasever - $basearch - Extras
    baseurl=http://syspackages.sourcedns.com/packages/mirrors/centos-3/3/extras/$bas
    earch/
    gpgcheck=1
    Russ Foster - Industry Curmudgeon

  8. #8
    Join Date
    Oct 2004
    Location
    LA, CA
    Posts
    1,059
    Jeremy: All I did was install a yum I found...

    I tried a2b2's thing but I got this error:

    yum install subversion
    Traceback (most recent call last):
    File "/usr/bin/yum", line 30, in ?
    yummain.main(sys.argv[1:])
    File "/usr/share/yum/yummain.py", line 163, in main
    (log, errorlog, filelog, conf, cmds) = parseCmdArgs(args)
    File "/usr/share/yum/yummain.py", line 75, in parseCmdArgs
    conf=yumconf(configfile=yumconffile)
    File "/usr/share/yum/config.py", line 48, in __init__
    self.cfg.read(configfile)
    File "/usr/lib/python2.2/ConfigParser.py", line 233, in read
    self.__read(fp, filename)
    File "/usr/lib/python2.2/ConfigParser.py", line 472, in __read
    raise e
    ConfigParser.ParsingError: File contains parsing errors: /etc/yum.conf
    [line 3]: 'ache*\r\n'
    [line 17]: 'h/\r\n'
    [line 23]: 'search/\r\n'
    [line 29]: 'earch/\r\n'
    [line 35]: 'earch/\r\n'

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •