H-Sphere Documentation Sysadmin Guide

For more information contact us at info@psoft.net

Updating RedHat With Apt-Get

 

As the up2date utility for RedHat automatic update has become a paid service by RedHat, you may use the free apt-get utility instead.

APT-RPM is a port of Debian's apt tools to a RPM based distribution (Red Hat, Conectiva, SuSE etc). apt-get is an advanced package management utility front-end which allows you to easily perform package installation, upgrading and removal. Dependencies are automatically handled, so if you try to install a package that needs others to be installed, it will download all needed packages and install them. More information on apt-get you may find here, or here.

Prior to updating your RedHat packages with apt-get, make sure to exclude the following services from the apt-get configuration:

  • postgresql, postgresql-server, postgresql-libs on CP and user postgresql boxes;
  • apache and apache-related packages on H-Sphere CP, WEB and MAIL boxes;
  • proftpd and related packages on H-Sphere WEB boxes;
  • qmail, vpopmail, ezmlm and related packages on H-sphere MAIL boxes.
  • bind and related packages on H-Sphere nameserver boxes.

To exclude packages, modify the corresponding part of your /etc/apt/apt.conf file, similar to this:

// Completely ignore the following packages (not regexp)
// Ignore { };
Ignore { "bind-utils" };
// Do not try to update the following packages
// Hold { };
 Hold { "postgresql*"; "apache*"; "proftp*"; "qmail*"; "vpopmail*"; "ezmlm*"; "sendmail*"; "bind*"; }

If you have accidentally upgraded your RedHat without excluding these packages, you need to downgrade bind as suggested here and downgrade postgresql following these instructions.



Home   Products   Services   Partners   Support   News   Contact   Forum
© Copyright 1998-2003. Positive Software Corporation.
All rights reserved.