From 34d29a9d9961f4ba481828385364fa7c9a6fb2dc Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 8 Apr 2002 09:13:27 +0000 Subject: Added bit about installed RPMs under Redhat git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@37 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/FAQ.html | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/rdiff-backup/FAQ.html b/rdiff-backup/FAQ.html index 4228908..27b246f 100644 --- a/rdiff-backup/FAQ.html +++ b/rdiff-backup/FAQ.html @@ -18,6 +18,8 @@ syntax". What's happening?
  • Does rdiff-backup run under Windows?
  • My backup set contains some files that I just realized I don't want/need backed up. How do I remove them from the backup volume to save space?
  • + +
  • How do I install the RPMs on Redhat linux system?
  • FAQ

    @@ -141,6 +143,32 @@ rm /backup/rdiff-backup-data/increments/usr/local.*.dir +

    + +

  • How do I install the RPMs on a Redhat linux system? + +

    The problem is that the default version of python for Redhat 7.x is +1.5.x, and rdiff-backup requires python >= 2.2. Redhat/rawhide +provides python 2.2 RPMs, but they are packaged under the "python2" +name. + +

    So, if you are running Redhat 7.x: + +

      +
    1. Make sure the python2 >= 2.2 package is installed, +leaving python 1.5 the way it is +
    2. Install the rdiff-backup RPM, using --nodeps if it only complains + about python 2.2 missing. +
    3. Edit the first line of /usr/bin/rdiff-backup so it says
      +#!/usr/bin/env python2
      +
      +so "python2" gets run instead of "python". +
    + +

    You can also upgrade using a non-Redhat python 2.2 RPM and avoid +the above steps (this is what I did). Because of all the dependencies +it is usually easier to use source RPMs for this. +

  • @@ -148,7 +176,7 @@ rm /backup/rdiff-backup-data/increments/usr/local.*.dir Ben Escoto
    <bescoto@stanford.edu>
    -Last modified: Sun Mar 24 13:10:18 PST 2002 +Last modified: Sun Apr 7 12:04:13 PDT 2002 -- cgit v1.2.1