Mustakim

1 day ago
‹ chat status

Profile

Name:
Mustakim
Location:
,
Birthday:
11/20/1981
Status:
Single
Job / Career:
Government

Stats

Posts:
199
Post Reads:
11,874
Photos:
6
Last Online:
1 day ago
Technorati:
blog reactions

Users Chatting

View All »

My Friends

11 min ago
16 min ago
1 hour ago
2 hours ago
3 hours ago
4 hours ago
5 hours ago
5 hours ago

Subscribe

Computing & Technology > Upgrade Fedora 7 to Fedora 9

  Upgrade Fedora 7 to Fedora 9

I have a Fedora 7 DVD, got from Linuxcd.org . I really exited when read about Fedora will release a code name rawhide in less then 4 week.
Fedora 9 will release but it is time to feel it. This time to upgrade. Now I got an idea to upgrade from 7 to 9. Normally, distro nation will upgrade from 8 to 9, but I want to make something different. Ok, this is my way.. Let's talk about it

1. Open a Terminal.
2. Become root:
su -

3. Install the yum-priorities package:
yum -y install yum-priorities

4. Fix the yum-priorities configuration, by opening up a file:
nano /etc/yum/pluginconf.d/priorities.conf

5. The contents of that file look like:

[main]
enabled = 1

6. You need to add the line check_obsoletes = 1 to the bottom of the file, so that it looks like:

[main]
enabled = 1
check_obsoletes = 1

7. And then save the file and close it How to save? enter ctrl+X --> y --> enter. Double check whether it has enter or not.

8. Let’s upgrade Moonshine ( Fedora 7 ) or Moonshine (fedora 9) to Rawhide ( Fedora 9 ) 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

9. Its easy to tell that this machine is indeed using Moonshine ( Fedora 7 ), so let’s upgrade!
Step 1 - Modify the yum repo files

10. 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 -
# gedit /etc/yum.repos.d/fedora.repo

11. 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-9&arch=$basearch

12. What changed? Well, the $releasever value is the current value for our version of fedora, in this case 7. By changing it to 9, it’ll load the correct repositories for Rawhide (F9) instead of Moonshine (F7). Or if you interest to fedora 8, just change to 8. Save the file, and now we’re ready to move onto the next step.

11. Here are the steps you need to do the upgrade from Fedora 7 to Fedora 9:

a. yum update
b. yum clean all
c. I repeated yum clean all many time to make sure everything got clean.
d. Run the following command to update the yum repo on your box:

# rpm -Uhv http://mirror.anl.gov/pub/fedora/linux/releases/test/9-Beta/Fedora/i386/os/Packages/fedora-release-notes-8.90-1.noarch.rpm http://mirror.anl.gov/pub/fedora/linux/releases/test/9-Beta/Fedora/i386/os/Packages/fedora-release-8.92-1.noarch.rpm

If you use fedora 7 and don't interest to fedora 9 and want to keep in touch with fedora 8, use this command:

# rpm -Uhv http://mirror.anl.gov/pub/fedora/linux/releases/8/Fedora/i386/os/Packages/fedora-release-8-3.noarch.rpm http://mirror.anl.gov/pub/fedora/linux/releases/8/Fedora/i386/os/Packages/fedora-release-notes-8.0.0-3.noarch.rpm

12. Next do a "yum upgrade" at terminal console as a root

13. In my case the total set of packages it needed to download was 1.2G so it took about an hour to download and install. Now it was time for a reboot.
The reboot went so fast I almost didn't believe it rebooted. This was the smoothest upgrade I have had so far.

This is not important, but surely must keep it.

1. The NOKEY warning is not really a problem. It won't prevent you from doing anything. (The yum error, though, will usually prevent you from installing software.) If you'd like to resolve it, do the following command to get the correct key for the site you're downloading from:

2. You must be root to do any of this.


rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*


rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY


rpm --import http://freshrpms.net/RPM-GPG-KEY-freshrpms


rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt


rpm --import http://atrpms.net/RPM-GPG-KEY.atrpms


rpm --import http://newrpms.sunsite.dk/gpg-pubkey-newrpms.txt


rpm --import http://apt.sw.be/dries/RPM-GPG-KEY.dries.txt


rpm --import http://www.jpackage.org/jpackage.asc
* kde-redhat:

rpm --import http://kde-redhat.sourceforge.net/gpg-pubkey-ff6382fa-3e1ab2ca


rpm --import http://ccrma.stanford.edu/planetccrma/RPM-GPG-KEY.planetccrma.txt





posted on Apr 18, 2008 11:40 AM ()

Comments:

Goodness, Must! Where are you? You're never off this long! I'm starting to worry!
comment by sunlight on Apr 23, 2008 5:22 PM ()
I worried about you every day in between also!
reply by sunlight on Apr 25, 2008 4:30 AM ()
wow.. it's been 3 days and you start to worried about me..
reply by mustakim on Apr 24, 2008 9:35 PM ()
I don't get it... You are at the top of the Favorite List and have more than 2,000 visits and you write stuff that is undecipherable! Maybe I should start writing in another language, too.
comment by sunlight on Apr 20, 2008 3:00 AM ()
lol.. I have no idea because all the visitor are anonymous
reply by mustakim on Apr 21, 2008 3:09 AM ()
Sorry, I don't speak computerese.
comment by nittineedles on Apr 18, 2008 3:28 PM ()
nah.. maybe you should learn
reply by mustakim on Apr 21, 2008 3:10 AM ()

Comment on this article   


199 articles found   [ Previous Article ]  [ Next Article ]  [ First ]  [ Last ]