Archive for the tag 'upgrade'

Werewolf (Fedora 8) Upgrade in 3 Easy Steps Using 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

What changed? Well, the $releasever value is the current value for our version of fedora, in this case 7. By changing it to 8, it’ll load the correct repositories for Werewolf (F8) instead of Moonshine (F7). Save the file, and now we’re ready to move onto the next step.

Step 1 (Alternate)

Since posting this, I’ve learned that another option is available. To update the repositories, its possible to install an rpm to accomplish the same as above and it won’t require Step 3.

Choose your mirror from http://mirrors.fedoraproject.org. I picked University of Oregon’s site because it was close to me.

# rpm -Uvh \
ftp://ftp.osuosl.org/pub/fedora/linux/releases/8/Everything/i386/os/Packages/fedora-release-*.rpm

Your ftp/http line here may be different, that is fine. This command installs the updated repositories for Werewolf ( Fedora 8 )

Step 2 - Upgrade

In this step, we just need to run (as root):

# yum update
fedora               100% |===============| 2.1 kB   00:00
primary.sqlite.bz2   100% |===============| 4.9 MB   00:03
Setting up Update Process
Resolving Dependencies
.. snip ..

A few prompts will appear, after the repository data is loaded, a list of several hundred megs (possibly a gigabyte or more) of packages will be ready to install. This is the moment of truth.

Transaction Summary
============================
Install     88 Package(s)
Update     836 Package(s)
Remove       1 Package(s)

Total download size: 1.0 G
Is this ok [y/N]:

Start the download of over 800 packages (in my case) and install and update your system. If you feel a bit of trepidation, I concur. Its still exciting though, isn’t it?

Is this ok [y/N]: y

Now aren’t you excited! In about 30-45 minutes, you’ll have a newly upgraded Werewolf ( Fedora 8 ).

Downloading Packages:
orca-2.20.0.1-1. 100% |=========================| 1.5 MB    00:01
.. snip ..

Step 3 - Cleanup and Reboot

Welcome to your new Werewolf. Treat it wisely. First things first though, we need to clean up our editing from step 1:

# vim /etc/yum.repos.d/fedora.repo

Find the first line that starts:

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-8&arch=$basearch

and change it:

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch

Save the file, or if you prefer, copy the backup you made over the modified repo file.

In addition, there are some items that aren’t in Fedora 8 the same way they were in Fedora 7. For these, read this guide. I didn’t have these problems myself, ymmv.

To get the newly updated kernel and all the new goodness of Werewolf, a reboot is necessary. Enjoy your new Lycanthrope on the flip side.

Cheers,

Herlo

Thoughts on the Fedora Upgrade - Part 1

So its been a whole two days since I upgraded to Werewolf. I love it! Most everything works out of the box (OOTB), wireless, bluetooth, even suspend/resume seem to be possible for the first time!

But one of the oddities I encountered while upgrading was the names of the packages. Mind you, this is just my twisted mind being interested in some of the funny odd or strange package names I found while the yum upgrade was taking place.

So here’s the list anyway, with a short description of each. Enjoy:

  • gwenhywfar - A multi-platform helper library for networking and security applications and libraries.
  • meanwhile - Lotus Sametime session functionality.
  • neon - An HTTP and WebDAV client library.
  • coolkey - Linux Driver support for the CoolKey and CAC products.
  • rarian - Designed as a replacement for scrollkeeper; A documentation meta-data library.
  • openjade - An implementation of the ISO/IEC 10179:1996 standard DSSSL.
  • sox - (Sound eXchange) is a sound file format converter.
  • cadaver - A command-line WebDAV client.
  • booty - Small python library for use with bootloader configuration.
  • orca - A flexible, extensible, and powerful assistive technology.
  • zenity - Lets you display Gtk+ dialog boxes from the command line and through shell scripts.
  • eog - Eye of GNOME (EOG) is an image viewer.
  • gok - Enables users to control their computer without relying on a standard keyboard or mouse, leveraging GNOME’s accessibility framework
  • devilspie - A window-matching utility.*

This information was gathered using the command ‘rpm -qi <packagename>’.  This provided enough information to help understand at least the basics of each of these packages and whether to consider using them in the future.

The packages in italics above are packages that I consider interesting, and I plan to attempt to blog about each of them in turn as part of my POW series.

The devilspie package has a * which means that I’ve used this program before.  I quite enjoyed using the Devil’s Pie, and plan to take a look at it again in Fedora 8 as the previous package had some real limitations and lacked needed flexibility.

Please watch for the upcoming articles on these utilities.  Also, if there are packages that you found interesting during your upgrade, please comment and let me know what they are so I can learn and possibly use them as well.

Cheers,

Herlo

Upgraded! Fedora 8 (Werewolf) is installed!

And so the saga continues!

Transaction Summary
=============================================================================
Install     98 Package(s)
Update    1092 Package(s)
Remove       2 Package(s)

Total download size: 1.3 G
Is this ok [y/N]: y

Resulted in:

$ cat /etc/*release
Fedora release 8 (Werewolf)
Fedora release 8 (Werewolf)
Fedora release 8 (Werewolf)

I did have a few problems, mostly things that were from non-fedora repositories. Once I cleared those up, all went well. Fedora 8 is beautiful.

A couple things to note. My ATI drivers seemed to stay in place and as horrible as ever for dual displays. I’m going to be trying xrandr as soon as I can find the open ATI drivers. Another is that I love to use vlc, but its in the livna repository and currently requires python 2.4, but Werewolf uses python 2.5. I guess I’ll have to get the src.rpm and rebuild it with python 2.5 as the requirement. I also noted that my mouse pad is currently not working, I’ll have to find out why the synaptics drivers stopped working.

Update: I’ve decided it might be useful to at least include a couple cool pictures of the new theme, so here you go.

fedora8-background.png fedora8-gimp.png fedora8-rsyslogviewer.png

Cheers,

Clint

Upgrading to werewolf

Wish me luck. I’ve decided to take the plunge and upgrade to werewolf tonight. After reading Max Spevack’s post about how to upgrade to Fedora 8, this post from Will Woods stating that Rawhide is now ready to go and of course the current code freeze for this Thursday’s release, I think its time to upgrade.

In fact, I plan for Fedora 9 to do this much earlier so I can help test the release. I post here and now to make sure that commit to helping the Fedora Project squash bugs for Fedora 9. I’ll accomplish this by installing it at Test 1 and actually report bugs as I find them.

Wish me luck with this upgrade and my future endeavors. I think its a good cause and a great way to get further involved with the community.

Cheers,

Herlo