Attempting upgrade to Fedora 8

Discussion in 'Linux Virtual Machine' started by jimcoyle, Nov 11, 2007.

  1. jimcoyle

    jimcoyle Hunter

    Messages:
    158
    I'm trying to follow the instructions below that I found, but I can't seem to edit the file mentioned. Moving the cursor and/or using the delete key does nothing to alter the file - it's almost like it's a read-only file. What am I doing wrong? Here's the instructions:

    Werewolf (Fedora 8) Upgrade in 3 Easy Steps Using yum
    Posted on November 10, 2007 under Fedora, Install, Releases, Tech, Tools, Yum
    Recently, there was a request in one of my comments on this post. The request was for an easy way to upgrade from Fedora 7 to Fedora 8. So I took this on as a bit of a challenge. I feel pretty comfortable with yum and I thought it would be a good and easy task.
    A bit of warning here, make sure your current Moonshine ( Fedora 7 ) release is update by running yum update. Also, it is recommended that backups be made of files being modified. If you don’t backup the file, it may be impossible to fix in the future. YOU HAVE BEEN WARNED
    Let’s upgrade Moonshine ( Fedora 7 ) to Werewolf ( Fedora 8 ) in three easy steps:
    First things first, lets print out some version info:
    $ cat /etc/*release
    Fedora release 7 (Moonshine)
    Fedora release 7 (Moonshine)
    $ uname -r
    2.6.23.1-21.fc7
    Its easy to tell that this machine is indeed using Moonshine ( Fedora 7 ), so let’s upgrade!
    Step 1 - Modify the yum repo files
    Located in /etc/yum.repos.d directory are where the yum repository files are stored. We need to modify one line so that yum will know where to look:
    $ su -
    # vim /etc/yum.repos.d/fedora.repo
    Find the first line that starts:
    mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
    and change it:
    mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-8&arch=$basearch
     

Share This Page