spamassassin-users March 2011 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: Re: Another Spamassassin upgrade problem

Re: Another Spamassassin upgrade problem

From: Martin Gregorie <martin_at_nospam>
Date: Sat Mar 19 2011 - 10:11:55 GMT

On Sat, 2011-03-19 at 07:36 +0100, Karsten Bräckelmann wrote:
> On Fri, 2011-03-18 at 23:28 -0700, Marc Perkel wrote:
> > Upgraded from Fedora 12 to Fedora 14 and getting this error message:
> >
I've had problems with Fedora version upgrades and no longer do them
because IME they're more trouble than they are worth: in too many cases
they've fallen over part way through and left enough of a mess than I've
had to do a clean install to recover from it.

Now I just do the clean install. There are ways of making that easier
and speeding it up:
- put /home in a separate partition, i.e. use a custom partitioning
  scheme and keep a record of it in case your disk dies.
- symlink /usr/local and /user/java to directories in /home
- keep copies of hand-modified files from /etc someplace in /home
- write a script that is run after the clean install to:
  - put the symlinks back
  - run yum to install packages that aren't part of the standard distro
  - rebuild the username and group lists

Now installing a new version of Fedora involves:
- start the clean install by reformatting all partitions except /home
- after the install finishes, run "yum upgrade" and reboot
- run the script
- check, configure and restart your usual service collections

With the above in place a clean install is relatively painless and
fairly fast: the install and initial "yum upgrade" run is likely to be
faster than the distro upgrade and will take longer than configuring and
firing up your usual service collection.

I know this is off topic for SA, but I thought it was worth describing
since its an approach that should work for any Linux distro and for
similar OSen such as BSD.