Find the answer to your Linux question:
Results 1 to 2 of 2
Hi everyone! I installed Fedora 14 (specifically 2.6.35.12-88.fc14.i686) last 31Mar on my pentium desktop. Recently, I always get the Errno 256 problem whenever I download or request for updates thru ...
  1. #1
    Just Joined!
    Join Date
    Apr 2011
    Posts
    6

    Errno 256 No more mirrors to try

    Hi everyone!

    I installed Fedora 14 (specifically 2.6.35.12-88.fc14.i686) last 31Mar on my pentium desktop. Recently, I always get the Errno 256 problem whenever I download or request for updates thru either yum or at the system's Add/Remove Software, as follows:

    System->Administration->ADD/REMOVE SOFTWARE:

    Errors were encountered while downloading packages.
    libgssglue-devel-0.1-8.fc12.i686: failure: Packages/libgssglue-devel-0.1-8.fc12.i686.rpm from fedora: [Errno 256] No more mirrors to try.
    nfs-utils-lib-devel-1.1.5-3.fc14.i686: failure: nfs-utils-lib-devel-1.1.5-3.fc14.i686.rpm from updates: [Errno 256] No more mirrors to try.
    beesu-2.7-3.fc14.i686: failure: beesu-2.7-3.fc14.i686.rpm from updates: [Errno 256] No more mirrors to try.
    system-config-nfs-docs-1.0.9-1.fc14.noarch: failure: Packages/system-config-nfs-docs-1.0.9-1.fc14.noarch.rpm from fedora: [Errno 256] No more mirrors to try.
    nfs4-acl-tools-0.3.3-6.fc13.i686: failure: Packages/nfs4-acl-tools-0.3.3-6.fc13.i686.rpm from fedora: [Errno 256] No more mirrors to try.

    I've tried breezing threads on different Linux foras but could not find a replica of my problem. There are some common follow-up feedback and thus I am posting them right now for completeness:

    In SYSTEM --> ADMINISTRATION --> SOFTWARE SOURCES
    Enabled the following: Fedora 14 - i386 and Fedora 14 - i386 - Updates

    And at the Bash terminal:

    [root selco]# vi -r /etc/yum.repos.d/fedora-updates.repo
    E305: No swap file found for /etc/yum.repos.d/fedora-updates.repo

    [root selco]# vi -r /etc/yum.repos.d/fedora.repo
    E305: No swap file found for /etc/yum.repos.d/fedora.repo

    [root selco]# yum update
    Loaded plugins: langpacks, presto, refresh-packagekit
    Adding en_US to language list
    Setting up Update Process
    No Packages marked for Update

    #vi /etc/yum.conf

    [main]
    cachedir=/var/cache/yum/$basearch/$releasever
    keepcache=0
    debuglevel=2
    logfile=/var/log/yum.log
    exactarch=1
    obsoletes=1
    gpgcheck=1
    plugins=1
    installonly_limit=3
    color=never

    # PUT YOUR REPOS HERE OR IN separate files named file.repo
    "/etc/yum.conf" 24L, 825C

    Could anyone please tell what and how to solve this problem !

  2. #2
    Linux Guru
    Join Date
    May 2011
    Posts
    1,843
    i hate fedora mirrors. try this (as root):

    0. first of all, make sure you can see this repo:
    Code:
    host download.fedora.redhat.com
    You should see "blah has address blah". In case your system cannto find the host command, it is part of the bind-utils package.

    1. back up your old repo files
    Code:
    cd /etc/yum.repos.d/
    mkdir DISABLED
    mv *.repo ./DISABLED/
    2. create a "test" repo file
    Code:
    cat ->  fedora14.repo
    [fedora14]
    name=Fedora $releasever - $basearch
    failovermethod=priority
    baseurl=h*t*t*p://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
    [CTRL]+[D]   (<--- press this key combo to finish typing and save the file)
    Remove the asterisks from the baseurl above to make the URL legit. Not sure about the path to the gpgkey file, make sure it exists on your system in /etc/pki/rpm-gpg/ or wherever.

    3. see if you can see your new repo
    Code:
    yum repolist
    4. test it
    Code:
    yum list available
    Note: you can always put things back they way they were with:
    Code:
    rm -f /etc/yum.repos.d/fedora14.repo
    mv /etc/yum.repos.d/*.repo /etc/yum.repos.d/
    hth

Posting Permissions

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