Repository configuration for older Fedora releases.
FedoraForum.org - Fedora Support Forums and Community
Page 1 of 3 1 2 3 LastLast
Results 1 to 15 of 35
  1. #1
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    15,895
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Repository configuration for older Fedora releases.

    June 12, 2011. It appears that quite a few of the alternative repositories that I've suggested in the posts below are no longer functional. Rather than flog a dead horse I'm closing this thread and strongly suggest that you use a supported release of Fedora.

    Note: The Fedora releases here, Fedora Core 1 through Fedora 12, are no longer supported or maintained, so they do not receive bug fixes or security updates. We do not recommend using these releases any more. To obtain the latest, supported version of Fedora, please refer to the main download page, http://get.fedoraproject.org.

    For more information about Fedora's support cycle see the life cycle page, http://fedoraproject.org/wiki/LifeCycle
    .
    It has occurred to me that this guide may be mis-interpreted as a guide on how to install any software you want to install for older releases of Fedora. It isn't. It is about being able to use yum for these older versions when the original repositories are long since closed. If you want the latest and greatest software packages you will likely need to update to a current release of Fedora.
    I've spent the last day or so installing every Fedora release since Fedora Core 1, excluding Fedora 11, on a computer I had laying around. My goal was to figure out how to get yum to work despite the fact that the stock repositories are long gone in most cases.

    I was motivated by the fact that the yum questions are never ending here at Fedora Forum and the question of how to make yum work for these older versions of Fedora seem to be quite common. The usual response is to install the newest and greatest Fedora. That's fine, but there are cases where this is just not possible. I'll outline separately what I've done for each release.

    Thank you to forum members Stoat and Pablo Two. Their response in another thread to a member who was asking how to make yum work for an older version of Fedora was what got me thinking about this so I took a que from them and expanded on it

    Here's what I've got so far:

    Fedora Core 1 (Yarrow)
    This version of Fedora uses a file called /etc/yum.conf (as they all do) but the repository configuration is done in this file, unlike later versions of Fedora where there are separate .repo files in /etc/yum.repos.d. The stock /etc/yum.conf looks like this:
    Code:
    [main]
    cachedir=/var/cache/yum
    debuglevel=2
    logfile=/var/log/yum.log
    pkgpolicy=newest
    distroverpkg=fedora-release
    tolerant=1
    exactarch=1
     
    [base]
    name=Fedora Core $releasever - $basearch - Base
    #baseurl=http://fedora.redhat.com/releases/fedora-core-$releasever
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/core/$releasever/$basearch/os/
     
    [updates-released]
    name=Fedora Core $releasever - $basearch - Released Updates
    #baseurl=http://fedora.redhat.com/updates/released/fedora-core-$releasever
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/core/updates/1/i386/
     
    #[updates-testing]
    #name=Fedora Core $releasever - $basearch - Unreleased Updates
    #baseurl=http://fedora.redhat.com/updates/testing/fedora-core-$releasever
    Under the section [base], comment out the baseurl line and add the line that I've highlighted in red. Do the same for the baseurl line under the [updates-released] section. Once done, try the command yum check-update. It should work just fine.

    You will only get one update, however, you should be able to install any software that is available through these repositories. You could consider adding other repositories if you need additional software.




    Fedora Core 2 (Tettnang)
    This version of Fedora uses a file called /etc/yum.conf (as they all do) but the repository configuration is done in this file, unlike later versions of Fedora where there are separate .repo files in /etc/yum.repos.d. The stock /etc/yum.conf looks like this:
    [main]
    cachedir=/var/cache/yum
    debuglevel=2
    logfile=/var/log/yum.log
    pkgpolicy=newest
    distroverpkg=redhat-release
    tolerant=1
    exactarch=1
    retries=20

    [base]
    name=Fedora Core $releasever - $basearch - Base
    baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/

    [updates-released]
    name=Fedora Core $releasever - $basearch - Released Updates
    baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/

    #[updates-testing]
    #name=Fedora Core $releasever - $basearch - Unreleased Updates
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/

    #[development]
    #name=Fedora Core $releasever - Development Tree
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/
    To make the changes to this file and get yum working start by commenting out the first baseurl line, the one two lines below [base], by putting a hash mark (#) in front of the line and then replace it with this line,
    Code:
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/core/$releasever/$basearch/os/
    Now, for the second section, comment out the second baseurl line, the one two lines below [updates-released], by putting a hash mark (#) in front of the line and then replace it with this line,
    Code:
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/core/updates/2/i386/
    Save the file and exit whatever text editor you were using. Now try the command yum check-update. It should work and there should be no errors. It worked for me and I was able to fully update my Fedora Core 2 system.

    If there are errors check for typos. Also, try the urls in your web browser. If the url works there it should work for yum. If it doesn't work in the browser there may be a temporary availability issue. Try again later.

    You will only get one update, however, you should be able to install any software that is available through these repositories. You could consider adding other repositories if you need additional software.
    Last edited by glennzo; 24th December 2009 at 12:10 PM.
    Glenn
    The Bassinator

  2. #2
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    15,895
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Fedora Core 3 (Heidelberg)

    From this release forward we'll be working with the files in the folder /etc/yum.repos.d. Fedora Core 3 has 2 files in that folder that we're interested in, fedora.repo and fedora-updates.repo.

    Open the file /etc/yum.repos.d/fedora.repo with your favorite text editor. Comment out the first baseurl line, the one that is two lines below [base]. Then add this line above it.
    Code:
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/core/$releasever/$basearch/os/
    The edited file should look like this
    Code:
    [base]
    name=Fedora Core $releasever - $basearch - Base
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/core/$releasever/$basearch/os/
    #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=0
    Save and exit.

    Open the file /etc/yum.repos.d/fedora-updates.repo with your favorite text editor. Comment out the first baseurl line, the one two lines below [updates-released] and add this line above it.
    Code:
    baseurl=http://ftp-stud.hs-esslingen.de/pub/Mirrors/archive.fedoraproject.org/fedora/linux/core/updates/3/i386/
    The edited file should look like this
    Code:
    [updates-released]
    name=Fedora Core $releasever - $basearch - Released Updates
    baseurl=http://ftp-stud.hs-esslingen.de/pub/Mirrors/archive.fedoraproject.org/fedora/linux/core/updates/3/i386/
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
    #mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
    enabled=1
    gpgcheck=0
    Once you make the changes to these two files yum should magically begin working. Yum update should work. You will be able to update your Fedora Core 3 system in accordance with the last updates available in these repositories. There will be no further updates. You will also be able to install any additional software that these repositories provide.

    Fedora Core 4 (Stentz)

    Working with three files in the folder /etc/yum.repos.d. Open the file /etc/yum.repos.d/fedora.repo. Comment out the baseurl line two lines below [base]. Then add the following line above it.
    Code:
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/core/$releasever/$basearch/os/
    The edited file should look like this
    Code:
    [base]
    name=Fedora Core $releasever - $basearch - Base
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/core/$releasever/$basearch/os/
    #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
    Save and exit the editor.


    Open the file /etc/yum.repos.d/fedora-updates.repo. Comment out the baseurl line that is two lines below [updates-released]. Then add the following line above it.
    Code:
    baseurl=http://ftp-stud.hs-esslingen.de/pub/Mirrors/archive.fedoraproject.org/fedora/linux/core/updates/4/i386/
    The edited file should look like this.
    Code:
    [updates-released]
    name=Fedora Core $releasever - $basearch - Released Updates
    baseurl=http://ftp-stud.hs-esslingen.de/pub/Mirrors/archive.fedoraproject.org/fedora/linux/core/updates/4/i386/
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
    #mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
    Save and exit the editor.

    Open the file /etc.yum.repos.d/fedora-extras.repo. Comment out the baseurl line that is two lines below [extras]. Then add the following line above it.
    Code:
    baseurl=http://archive.kernel.org/fedora-archive/extras/4/i386/
    The edited file should look like this.
    Code:
    [extras]
    name=Fedora Extras $releasever - $basearch
    baseurl=http://archive.kernel.org/fedora-archive/extras/4/i386/
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
    #mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-$releasever
    enabled=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
    gpgcheck=1
    Save and exit the editor. Now try the command yum check-update. It should work and you should be able to update your Fedora Core 4 system in accordance with the last updates available in these repositories. There will be no further updates. You will also be able to install any additional software that these repositories provide.
    Glenn
    The Bassinator

  3. #3
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    15,895
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Fedora Core 5 (Bordeaux)

    Again we're working with three files for this release, all found in the /etc/yum.repos.d folder.
    Code:
    fedora-core.repo
    fedora-updates.repo
    fedora-extras.repo
    Open the file /etc/yum.repos.d/fedora-core.repo with your favorite text editor. Comment out the baseurl line that is two lines below [core]. Then add the following line above it.
    Code:
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/core/$releasever/$basearch/os/
    The file should now look like this.
    Code:
    [core]
    name=Fedora Core $releasever - $basearch
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/core/$releasever/$basearch/os/
    #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
    
    [core-debuginfo]
    name=Fedora Core $releasever - $basearch - Debug
    baseurl=http://download.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://download.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
    Save and exit the editor.

    Next, open the file /etc/yum.repos.d/fedora-updates.repo with your favorite text editor. Comment out the baseurl line that is below [updates] and add the following line above it.
    Code:
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/core/updates/$releasever/$basearch/
    The edited file should look like this
    Code:
    [updates]
    name=Fedora Core $releasever - $basearch - Updates
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/core/updates/$releasever/$basearch/
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
    #mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
    
    [updates-debuginfo]
    name=Fedora Core $releasever - $basearch - Updates - Debug
    baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/debug/
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
    
    [updates-source]
    name=Fedora Core $releasever - Updates Source
    baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/SRPMS/
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
    Save and edit the editor.

    Finally, open the file /etc/yum.repos.d/fedora-extras.repo with your favorite text editor. Comment out the baseurl line that is below [extras] and add the following line above it.
    Code:
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/extras/$releasever/$basearch/
    Save and exit the editor. That's it. Now try the command yum check-update. It should work and you should be able to yum update your Fedora Core 5 system in accordance with the last updates available in these repositories. There will be no further updates. You will also be able to install any additional software that these repositories provide.

    Fedora Core 6 (Zod)

    Again we're working with three files for this release, all found in the /etc/yum.repos.d folder.
    Code:
    fedora-core.repo
    fedora-updates.repo
    fedora-extras.repo
    Open the file /etc/yum.repos.d/fedora-core.repo with your favorite text editor. Comment out the baseurl line that is two lines below [core]. Then add the following line above it.
    Code:
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/core/$releasever/$basearch/os/
    The file should now look like this
    Code:
    [core]
    name=Fedora Core $releasever - $basearch
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/core/$releasever/$basearch/os/
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/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
    
    [core-debuginfo]
    name=Fedora Core $releasever - $basearch - Debug
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
    mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-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
    
    [core-source]
    name=Fedora Core $releasever - Source
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
    mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-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
    Save and edit the editor.

    Next, open the file /etc/yum.repos.d/fedora-updates.repo with your favorite text editor. Comment out the baseurl line that is below [updates] and add the following line above it.
    Code:
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/core/updates/$releasever/$basearch/
    Save and edit the editor. The file should now look like this
    Code:
    [updates]
    name=Fedora Core $releasever - $basearch - Updates
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/core/updates/$releasever/$basearch/
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
    #mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc$releasever&arch=$basearch
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
    
    [updates-debuginfo]
    name=Fedora Core $releasever - $basearch - Updates - Debug
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/debug/
    mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-fc$releasever&arch=$basearch
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
    
    [updates-source]
    name=Fedora Core $releasever - Updates Source
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/SRPMS/
    mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-fc$releasever&arch=$basearch
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
    Finally, open the file /etc/yum.repos.d/fedora-extras.repo with your favorite text editor. Comment out the baseurl line that is below [extras] and add the following line above it.
    Code:
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/extras/$releasever/$basearch/
    Save and edit the editor. The edited file should look like this
    Code:
    [extras]
    name=Fedora Extras $releasever - $basearch
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/extras/$releasever/$basearch/
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
    #mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-$releasever&arch=$basearch
    enabled=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
    gpgcheck=1
    
    [extras-debuginfo]
    name=Fedora Extras $releasever - $basearch - Debug
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/debug/
    mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-debug-$releasever&arch=$basearch
    enabled=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
    gpgcheck=1
    
    [extras-source]
    name=Fedora Extras $releasever - Source
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/SRPMS/
    mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-source-$releasever&arch=$basearch
    enabled=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
    gpgcheck=1
    Save and exit the editor. That's it. Now try the command yum check-update. It should work and you should be able to yum update your Fedora Core 6 system in accordance with the last updates available in these repositories. There will be no further updates. You will also be able to install any additional software that these repositories provide.
    Last edited by glennzo; 11th September 2009 at 02:02 PM.
    Glenn
    The Bassinator

  4. #4
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    15,895
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Fedora 7 (Moonshine)
    We're working with just two files for this release, both found in the /etc/yum.repos.d folder.
    Code:
    fedora.repo
    fedora-updates.repo
    Open the file /etc/yum.repos.d/fedora.repo with your favorite text editor. Comment out the baseurl line that is two lines below [fedora]. Then add the following line above it.
    Code:
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/releases/$releasever/Fedora/$basearch/os/
    Next, open the file /etc/yum.repos.d/fedora-updates.repo with the text editor. Comment out the baseurl line that is below [updates] and add the following line above it.
    Code:
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/updates/$releasever/$basearch/
    Save and exit the editor. That's it. Now try the command yum check-update. It should work and you should be able to yum update your Fedora 7 system in accordance with the last updates available in these repositories. There will be no further updates. You will also be able to install any additional software that these repositories provide.

    It does appear that Livna still has a lot of software for Fedora 7. See http://www.mjmwired.net for setting up Livna.
    It does appear that FreshRPMs is also available for Fedora 7. http://ayo.freshrpms.net/

    Fedora 8 (Werewolf)
    We're working with just three files for this release, one of which doesn't exist until you run the first round of updates. They are all found in the /etc/yum.repos.d folder.
    Code:
    fedora.repo
    fedora-updates.repo
    fedora-updates-newkey.repo
    Open the file /etc/yum.repos.d/fedora.repo with your favorite text editor. Comment out the baseurl line that is two lines below [fedora]. Then add the following line above it.
    Code:
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/releases/$releasever/Fedora/$basearch/os/
    Next, open the file /etc/yum.repos.d/fedora-updates.repo with the text editor. Comment out the baseurl line that is below [updates] and add the following line above it.
    Code:
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/updates/$releasever/$basearch/
    The fedora-updates-newkey repository file does not exist by default on a new installation of Fedora 8. It is created during the first round of updates. Once that round of updates if finished make the following change. Open the file /etc/yum.repos.d/fedora-updates-newkey.repo. Comment out the existing baseurl line and add the following.
    Code:
    baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/updates/$releasever/$basearch.newkey/
    Save and exit the editor. That's it. Now try the command yum check-update. It should work and you should be able to yum update your Fedora 8 system in accordance with the last updates available in these repositories. There will be no further updates. You will also be able to install any additional software that these repositories provide.

    Fedora 9 (Sulphur)

    There are no changes needed to the repositories for Fedora 9 at this time. The stock repos are still working so you should be able to get a basic install with the last released updates.

    March 29, 2010
    Still, all repositories seem to be working as designed, fedora, updates and updates-newkey.


    Fedora 10 (Cambridge)
    As of today, March 7, 2011, the Fedora 10 repositories appear to still be working. You can also add the RPMFusion repositories for F10 if desired.

    Fedora 11 (Leonidas)
    Based on a check today, May 6, 2011, it appears that the Fedora 11 repositories are still fully functional. Checked with a Fedora 11 install within VirtualBox. If you need the RPMFusion repositories I've found them to be available. Run the following code.
    There will be one round of updates for a newly installed system. This release is End Of Life.


    Fedora 12 (Constantine)
    Fedora 12 was released mid-November 2009. This makes Fedora 10 EOL around mid-December 2009 according to Fedora's EOL policy.

    I think I'm done here for now. As far as I can tell, you should be able to update any version of Fedora at least once with a minimum of work in terms of making changes to the repo files. If you want to take this further, do a little research on third party repositories, figure out how to add them to your system, and you will be able to install additional software provided by these third party repos.

    I'm opening this thread to all members of the forum. Please don't use it to ask questions about yum, but feel free to tell me about any errors that I may have made or, by all means, tell us about how you are running an EOL release and how you handle your own repositories.
    Last edited by glennzo; 1st August 2010 at 10:08 AM.
    Glenn
    The Bassinator

  5. #5
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    15,895
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Using the DVD ISO file as a local repository.

    Using the information found here, http://www.city-fan.org/tips/SubsetRepositoriesFedora10, I've been able to use the DVD ISO file, not the disk itself, as a local repository for a Fedora 10 system. You will need to have a few GB of free space on the target drive for this to work. What I'll do here is simply outline the steps that I've followed to get this working while referring to that article. Some of the content here has been copied/pasted from the link.

    You can use sudo, su -c or log in to the terminal as root to run these commands. All paths are relative to the actual path names that I used on my system. You can deviate from these paths as much as you want but you need to be consistent with the path names throughout this operation.

    Create the folder that the ISO file will be copied to.
    Code:
    su -c 'mkdir -p /media/sata500gb/distros/f10/os/i386/iso/'
    Copy the actual ISO file to the newly created destination folder. Remember to adjust the source path to match the actual location of the ISO file, be it on a hard disk somewhere, a networked location or the actual install DVD. If you look closely you can see that my source file is in a separate folder on the same drive that I'm copying to.
    Code:
    su -c 'cp /media/sata500gb/iso/fedora10/Fedora-10-i386-DVD.iso /media/sata500gb/distros/f10/os/i386/iso/'
    Create a mount point so that the ISO images can be loopback-mounted:
    Code:
    su -c 'mkdir /media/sata500gb/distros/f10/os/i386/dvd/'
    Edit /etc/fstab and an entry for the DVD image to get it mounted at boot time:
    Code:
    /media/sata500gb/distros/f10/os/i386/iso/Fedora-10-i386-DVD.iso /media/sata500gb/distros/f10/os/i386/dvd iso9660 _netdev,ro,loop,fscontext=system_u:object_r:public_content_t:s0 0 0
    It should now be possible to mount the ISO image(s) by issuing the command:
    Code:
    su -c 'service netfs start'
    Now create a .repo file in the /etc/yum.repos/d folder. I named mine fedora-dvd.repo.
    Code:
    su -c 'gedit /etc/yum.repos.d/fedora-dvd.repo'
    Add content to the file. The following is the exact content of my file. Yours will of course need to follow the path name that you've been using.
    Code:
    [fedora-local]
    name=Fedora $releasever - $basearch (local)
    baseurl=file:///media/SATA500GB/distros/f$releasever/os/$basearch/dvd
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
    metadata_expire=-1
    cost=500
    You should now be able to test your setup by installing some package. Packages on the media will be shown as coming from fedora-local and other packages will be shown as coming from fedora.

    The command yum repolist now shows fedora-local as well as the usual repos.
    repo id repo name status
    fedora-local Fedora 10 - i386 (local) enabled: 2,220
    repof10 RepoF10 10 - i386 - repof10 enabled: 11,416
    rpmfusion-free RPM Fusion for Fedora 10 - Free enabled: 324
    rpmfusion-free-updates RPM Fusion for Fedora 10 - Free - Updates enabled: 709
    rpmfusion-nonfree RPM Fusion for Fedora 10 - Nonfree enabled: 142
    rpmfusion-nonfree-updates RPM Fusion for Fedora 10 - Nonfree - Updates enabled: 517
    updates Fedora 10 - i386 - Updates enabled: 5,160
    repolist: 20,488
    The command yum list available | grep fedora-local now shows many packages available from the local repo. The list is long so here's the last few shown.
    Code:
    xmlrpc-c.i386                    1.14.8-2.fc10         fedora-local             
    xmlrpc3-client.noarch            3.0-2.9.fc10          fedora-local             
    xmlrpc3-common.noarch            3.0-2.9.fc10          fedora-local             
    xom.noarch                       1.0-3.5.fc10          fedora-local             
    xorg-x11-fonts-75dpi.noarch      7.2-6.fc9             fedora-local             
    xorg-x11-util-macros.i386        1.1.6-2.fc10          fedora-local             
    xorg-x11-xtrans-devel.i386       1.2.1-2.fc10          fedora-local             
    xpp2.noarch                      2.1.10-6.2.fc10       fedora-local             
    xpp3.noarch                      1.1.3.8-1.2.fc10      fedora-local             
    xrestop.i386                     0.4-5.fc10            fedora-local             
    zisofs-tools.i386                1.0.8-3.fc9           fedora-local             
    zsh.i386                         4.3.4-8.fc9           fedora-local
    I don't take any credit for this local repository method. All I've tried to do here is to outline my success with this method on my system for the benefit of others. The result of a few minutes work is potentially a great savings in bandwidth usage and time. If this is something that is of interest to you you are probably best off going directly to the linked page and following along there.
    Last edited by glennzo; 4th June 2009 at 09:50 PM.
    Glenn
    The Bassinator

  6. #6
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    15,895
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Reserved for future use.
    Glenn
    The Bassinator

  7. #7
    mikemike86 Guest
    You sir, have just saved me from all sorts of ballache. x

  8. #8
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    15,895
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mikemike86
    You sir, have just saved me from all sorts of ballache. x
    Yeah, I know. I enjoyed the challenge of trying to figure this stuff out. I maintain that there is no reason that someone can't use older versions of Fedora is they choose to.
    Glenn
    The Bassinator

  9. #9
    mikemike86 Guest
    Well I can't update my version of FC6 due to software licenses, I'm sure there are plenty of others in the same boat.

    Thanks again

  10. #10
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    15,895
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You're welcome. I guess you can only go just so far with the older releases..... Then you probably need to upgrade.
    Glenn
    The Bassinator

  11. #11
    mikemike86 Guest
    Well I'm still struggling to update PHP to >5.2, which is what the original task was. I though I'd be able to 'yum update php' once yum was working. I was wrong

  12. #12
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    15,895
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Found something here, http://rpm.pbone.net/. If what you are looking for is there you could manually download it or add the repository and use yum. I'm betting that there will be dependency errors....
    Glenn
    The Bassinator

  13. #13
    mikemike86 Guest
    i've given up, i'm updating

  14. #14
    Join Date
    Jun 2006
    Posts
    7,544
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mikemike86

    Well I'm still struggling to update PHP to >5.2, which is what the original task was. I though I'd be able to 'yum update php' once yum was working. I was wrong
    That's right. Here is the version of that in the Fedora Core 6 updates archive...Updating to the final versions of packages in the updates archives is probably all anyone could hope for with the obsolete Fedora versions. If it's not too late already, you might be able to compile a later version of that package from source. But that also might drive you straightly and swiftly into madness.
    Last edited by stoat; 25th May 2009 at 02:56 AM.

  15. #15
    mikemike86 Guest
    Sounds above my head. Plesk has decided it doesn't want to play ball now either and won't even let me access any of my access data (obviously I still have root). Time for a re-image me thinks.

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Replies: 57
    Last Post: 31st May 2017, 08:25 PM
  2. Replies: 3
    Last Post: 24th August 2008, 07:52 PM
  3. Different Fedora 8 releases?
    By daviddoria in forum Using Fedora
    Replies: 5
    Last Post: 28th March 2008, 01:54 AM
  4. Replies: 9
    Last Post: 19th May 2007, 04:28 AM
  5. error in configuration of Yum repository.
    By traveller in forum Installation, Upgrades and Live Media
    Replies: 3
    Last Post: 10th December 2005, 04:53 AM

Tags for this Thread

Posting Permissions

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