Find the answer to your Linux question:
Results 1 to 6 of 6
I have FC 5 on my toshiba laptop and need to upgrade the kernel in order to download the driver for my wireless card: I got this msg when I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    11

    yum cannot find a mirror


    I have FC 5 on my toshiba laptop and need to upgrade the kernel in order to download the driver for my wireless card:

    I got this msg when I initially try to execute yum:

    [root@localhost ]# yum upgrade kernel
    Loading "installonlyn" plugin
    Setting up Upgrade Process
    Setting up repositories
    core
    Cannot find a valid baseurl for repo: core
    Error : Cannot find a valid baseurl for repo: core

    I resolve this problem by going to the repos directory and uncommenting the lines baseurl....in the fedora repo files.

    now when I execute yum I get this error:
    loading "installonlyn" plugin
    setting up repositories
    core
    http://download.fedora.redhat.com/pu...ata/repomd.xml:
    [Errono 4] IOError: <urlopen error (-2, 'Name or service not known')> Trying other mirror.
    Cannot open/read repomd.xml file for repository: core
    failure: repodata/repomd.xml from core: [Errono 256] No more mirrors to try.
    Error: failure: repodata/repomd.xml from core: [Errono 256] No more
    mirrors to try.


    Does anyone has a solution for this kind of problem?
    I will appreciate whatever help I can get.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    post the contents of fedora-core.repo file.






    Casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Jan 2007
    Posts
    11
    This is the contents of fedora-core.repo:

    [core]
    name=Fedora Core $releaserver - $basearch
    baseurl=http://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

    [core-debuginfo]
    name=Fedora Core $releasever - $basearch -Debug
    baseurl=http://fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

    [core-source]
    name=Fedora Core $releasever - Source
    baseurl=http://fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY


    This the contents of yum.conf
    [main]
    cachedir=/var/cache/yum
    keepcache=0
    debuglevel=2
    logfile=/var/log/yum.log
    pkgpolicy=newest
    distroverpkg=redhat-release
    tolerant=1
    exactarch=1
    obsoletes=1
    gpgcheck=1
    plugings=1
    metadata_expire=1800

    # PUT YOUR REPOS HERE OR IN separate files named filed.repo
    #in /etc/yum.repos.d

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    is your internet connection working fine? repo file is correct.
    execute this
    Code:
    yum -y clean all





    Casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Just Joined!
    Join Date
    Jan 2007
    Posts
    11
    I have internet connection and I've already tried yum clean all and yum clean packages cmd and got the same error

  7. #6
    Just Joined!
    Join Date
    Jan 2007
    Posts
    11
    my internet connection is only working when I physically connect my laptop to the router. It doesnot detect my wireless card.

Posting Permissions

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