Wumple.com

2007/01/20

Fedora Core 6 Upgrade (Part 3: UPS monitoring and yum updates)

Filed under: — Stormwind @ 2:01 am

Welcome to part three in the series about our upgrade of wumple.com to Fedora Core 6 from Fedora Core 2.  This upgrade was precipitated by the closing of the Fedora Legacy project and thus there is no hope of security updates for FC2.

Part 3 features apcupsd UPS monitoring and yum and system updates.

apcupsd UPS monitoring:

apcupsd had been upgraded by the install, but the configuration file had changed locations to /etc/apcupsd/apcupsd.conf and the old file renamed to /etc/apcupsd.conf.rpmsave. 

It was easy to move the relevant configuration options over to the new config file: UPSNAME, UPSCABLE, UPSTYPE, and UPSDEVICE.  This was followed by a "/sbin/chkconfig apcupsd on" to enable the daemon on system boot, and "/etc/rc.d/init.d/apcupsd" to start the process.

Coincidentally enough, our home office experienced several brief power outages the next day due to the ice and snow Austin and much of Texas experienced last week.

yum and Updates:

The first "yum update" (after removing old packages) found 444 packages that needed updated, for a total download of almost 1GB!  Needless to say, it took a while for yum to download and upgrade those packages.

Several old packages from past Red Hat Linux and Fedora Linux installs were not removed or upgraded during the FC6 upgrade.  "yum update" would choke when analyzing dependencies for upgrade or finding conflicts since these old packages depended on packages that needed upgraded or conflicted when old and new packages owned the same file.  Removing these old packages ("rpm -e packagename" for beginners) took care of this problem.

An ancient version of bdflush, an old system process that wrote pending buffers to disk, was still left on the machine from an old install.  This caused repeated "process `update’ used the obsolete bdflush system call" warnings in /var/log/messages.  Removing the bdflush package ("rpm -e bdflush") eliminated the warning since it uninstalled the package and the obsolete process.

Several other old obsolete packages were left around on the system (some from Red Hat 6 days!) so I removed as many as I could find.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

|| RSS 2.0 || Comments RSS 2.0 || XHTML || Powered by WordPress ||