Upgrading to FC4 and impressions of FC4 (tummy.com, ltd. Journal Entry)
tummy.com: we do linux

Tuesday June 14, 2005 at 11:56
Subject: Upgrading to FC4 and impressions of FC4
Keywords: Fedora Core 4, Tech, Upgrade, Yum
Posted by: Kevin Fenzi

Related entries:
   Qemu Kernel Accelerator for Fedora Core 4 by Scott Kleihege, Wednesday August 17, 2005 at 17:48

I upgraded my laptop last night from Fedora Core 3 to the newly released Fedora Core 4 via yum. Here's some information about the upgrade and thoughts on the release:

My laptop is my main machine which I use probibly 16 hours a day on most days. With Fedora Core 4 coming out, I decided to upgrade and check things out.

Of course since my laptop is my main machine, I made a backup before anything else. Always a good idea before any major changes to software. As it turns out I didn't need to restore anything, but it was nice to know I could recover if I needed to.

I pulled down the cd iso images and burned them to cd on another machine, then rebooted the laptop on the first disk. As usual for any of the recent Fedora releases, you are given a chance to test the install media before doing the install or upgrade with them. For some reason the cd I burned tested bad. I checked the sha1sum on the image files I had and they were all correct. So, it might have been a media problem or the burner in my other machine messing up for some reason, or possibly it's a bug in the media test. There have been problems with that function on the installer for some time now.

So, then I decided to pull down the dvd image and try that, however before I could finish pulling it down, I noticed that there was some information on how to use the 'yum' tool to do an upgrade without having to worry about the cd/dvd, so I elected to give that a try.

The following page http://fedoraproject.org/wiki/YumUpgradeFaq gives you information about how to use yum to upgrade your FC3 machine to FC4. It's pretty simple. I decided that most of the mirrors would be lagged pretty badly with people downloading the new release, so I took the cd images I had down and setup a local yum repository for the base FC4 packages.

  • mount each cd image in turn: 'mount -o loop FC4-i386-disc1.iso /mnt/cdrom'
  • copy the files to a dir that a web server can reach: 'cp -a /mnt/cdrom/Fedora/RPMS/* /var/www/html/fc4/'
  • install and run the createrepo utility to make the repository metadata: 'createrepo /var/www/html/fc4/'
  • use a web browser to make sure you can reach the files via http.

Then you upgrade your fedora-release file: 'rpm -Uvh fedora-release*'

Then you run yum 'yum -y upgrade'

I ran into a small problem here, because I have the Xfce Terminal package installed, and it was requiring the FC3 dbus packages. This wouldn't have been a issue if I had been able to get a build of it done for fedora-extras before the release, but I haven't. So, in this case I just removed the package, did the upgrade and then rebuild and re-installed it.

Per the above link I did have to upgrade the kernel and remove all the old FC3 kernels.

The update took a while to run. All the base packages were pretty quick, but I had some packages from fedora-extras (which appears to have NO mirrors) and freshrpms. Those were slow likely due to people trying to download the new release from those sites.

I then installed the kernel from Mhenslers site: suspend2 enabled Fedora Core kernels

After a quick reboot, most things came up fine. Terminal was easy to rebuild and re-install. I ran into a few problems with suspend/hibernate. First the new kernel no longer has /proc/acpi/sleep anymore. So, I switched to using /sys/power/state and that worked. Suspend to disk and several other of my acpi scripts failed to work at all due to selinux. For now I just disabled it and will look into fixing the policy later.

All my Xfce packages upgraded just fine from fedora-extras. Everything else that I had setup just worked. This is one of the smoothest upgrades I have ever done.

For me, there isn't too much thats obviously diffrent. Xfce looks the same. :) firefox is pretty much the same (and all my extensions still work!). Openoffice.org is a newer version (the 2.0 beta) and looks fine. XEmacs works fine and updated from fedora-extras with no problems. The bootup seems a bit faster, but I haven't clocked it.

The split out the xscreensaver package into several packages. The base package now just blanks the screen. If you want the pretty (and potentially offensive) graphical screensavers you need xscreensaver-extras and xscreensaver-extras-gl.

Overall a very smooth and nice looking release.
(Post Reply)

Comment
Author: The Matt
Subject: Yum Upgrade
Thanks for the pointer to the Yum Upgrade of FC4. I might try that at home...although looking at it, it seems to be a bit much for me. One question about xscreensaver, how big is it (resource-wise) with just the blank? I switched to xlockmore+xautolock a while back because I was tired of the size of xscreensaver. Since I only use blank, I might move back if it's small.
Comment
Author: kevin
Subject: xscreensaver and fc4
xscreensaver seems pretty low resource wise if you just do the blanking screensaver. The GL ones in particular are very cpu intensive, especially if you don't have hardware accel.

I have acpid do a 'xscreensaver -trottle' and 'xscreensaver -lock' on lid close, and on open a 'xscreensaver -unthrottle' so it shows the pretty screensavers again.

Also, I have a script running a 'xscreensaver -watch' and on lock it forgets all my ssh keys and on unlock it prompts for my ssh passphrase to readd the ssh keys to ssh-agent.

Works pretty well for me.

Comment
Charles
Subject: Terminal RPMS
Noticed in a couple of posts that you had built an RPM for Terminal. Are they available? If so, where? I just updated to Xfce (based on your review) and I really liked konsole... and want to see if I want to make the change to terminal. I try to only use RPMs (eventhough I don't build them).

Charles

Comment
Author: kevin
Subject: Terminal and exo in extras

Noticed in a couple of posts that you had built an RPM for Terminal. Are they available? If so, where? I just updated to Xfce (based on your review) and I really liked konsole... and want to see if I want to make the change to terminal. I try to only use RPMs (eventhough I don't build them).

Terminal (and exo which it needs) are now available for Fedora Core 4 via fedora-extras. That should be enabled by default in fc4, so you should just be able to do:

yum -y install Terminal

and it should download and install Terminal and exo for you. ;)