wiki:Software/UpgradeLinux
Last modified 5 years ago Last modified on 03/24/14 23:26:33

Considerations around upgrading Raptor on Linux

Upgrading Raptor on linux should be a relatively painless procedure.

This page shows the list of files installed by the various Raptor components:

  • the files that are "system" files (the ones in bold on that page) are likely to be overwritten on upgrade. On linux, RPM will copy your original file to $filename.rpmsave before overwriting your version.
  • the files that are "your" files (the ones not in bold) are never going to be overwritten unless otherwise specified on the release notes for a particular veresion. If there is a newer version of the file avilable, on linux, you will see $filename.rpmnew in your conf directory.

In either case, see below for recommendations on how to proceed.

Merging .rpmsave files

When you encounter a .rpmsave file, it means that the default version of the file has been updated, and the installer has overwritten your version of the file - but your modified version of the old version of the file has been saved as the .rpmsave file for your reference.

The best way to deal with this is to examine the changes you've made in your .rpmsave file, and re-make the changes in the new version of the file.

Merging .rpmnew files

When you encounter a .rpmnew file, it means that the default version of the file has been updated, but that since you have modified the file since installation the installer will not overwrite it so that you don't lose your changes.

The best way to deal with this is to re-make the changes you've made in your file into the .rpmnew version of the file, then move the .rpmnew file over the existing one. Thus you end up with the new version of the file, but with your modifications.