summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-04-08 09:13:27 +0000
committerben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-04-08 09:13:27 +0000
commit34d29a9d9961f4ba481828385364fa7c9a6fb2dc (patch)
treeb69898d0df6ad711454225bc3b1ed99d32d7bf95
parent5798dbb1ce4b3f4d1fd1b9916a18aac03fa91942 (diff)
downloadrdiff-backup-34d29a9d9961f4ba481828385364fa7c9a6fb2dc.tar.gz
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
-rw-r--r--rdiff-backup/FAQ.html30
1 files changed, 29 insertions, 1 deletions
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?</a></li>
<li><a href="#windows">Does rdiff-backup run under Windows?</a></li>
<li><a href="#remove_dir">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?</li>
+
+<li><a href="#redhat">How do I install the RPMs on Redhat linux system?</a></li>
</ol>
<h2>FAQ</h2>
@@ -141,6 +143,32 @@ rm /backup/rdiff-backup-data/increments/usr/local.*.dir</pre>
</li>
+<P>
+<a name="redhat">
+<li><strong>How do I install the RPMs on a Redhat linux system?</strong>
+
+<P>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.
+
+<P>So, if you are running Redhat 7.x:
+
+<ol>
+<li>Make sure the python2 >= 2.2 package is installed,
+leaving python 1.5 the way it is
+<li>Install the rdiff-backup RPM, using --nodeps if it only complains
+ about python 2.2 missing.
+<li>Edit the first line of /usr/bin/rdiff-backup so it says<pre>
+#!/usr/bin/env python2
+</pre>
+so "python2" gets run instead of "python".
+</ol>
+
+<P>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.
+</li>
</ol>
@@ -148,7 +176,7 @@ rm /backup/rdiff-backup-data/increments/usr/local.*.dir</pre>
<a href="http://www.stanford.edu/~bescoto">Ben Escoto</a> <address><a href="mailto:bescoto@stanford.edu">&lt;bescoto@stanford.edu&gt;</a></address>
<!-- Created: Fri Sep 7 15:34:45 PDT 2001 -->
<!-- hhmts start -->
-Last modified: Sun Mar 24 13:10:18 PST 2002
+Last modified: Sun Apr 7 12:04:13 PDT 2002
<!-- hhmts end -->
</body>
</html>