Welcome! » Log In » Create A New Profile

rdiff-backup suse 9.0 ?

Posted by Anonymous 
rdiff-backup suse 9.0 ?
March 10, 2004 07:44PM
Hi,

rdiff-backup is working great on older suse linux versions,
but I can't install it on the current release (9.0):

# rpm -Uvh rdiff-backup-0.12.6-1.i386.rpm
error: Failed dependencies:
python < 2.3 is needed by rdiff-backup-0.12.6-1
librsync.so.1 is needed by rdiff-backup-0.12.6-1

But:

# rpm -qa | grep python
python-xml-2.3-43
python-2.3-52

So the python here is too *new* ?!? :)

# rpm -qa | grep rsync
rsync-2.5.6-193
librsync-0.9.6-65

Librsync is installed, but it doesn't have a "librsync.so.1" file
like in previous versions:

# rpm -ql librsync
/usr/bin/rdiff
/usr/include/librsync-config.h
/usr/include/librsync.h
/usr/lib/librsync.a
/usr/lib/librsync.la
/usr/share/man/man1/rdiff.1.gz
/usr/share/man/man3/librsync.3.gz

I also tried with the librsync available from
http://rdiff-backup.stanford.edu/ , but it can't be installed
too, because there is a too new "popt" library... :)
(available = /usr/lib/libpopt.so.1.0.0, required =
/usr/lib/libpopt.so.0.0.0)

Force-installing the rpm gives:
# rdiff-backup
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 21, in ?
import rdiff_backup.Main
ImportError: No module named rdiff_backup.Main

Last thing I tried:
/usr/local/src/rdiff-backup-0.12.6 # python setup.py build
Traceback (most recent call last):
File "setup.py", line 4, in ?
from distutils.core import setup, Extension
ImportError: No module named distutils.core

Help please :-) If you'd like to make some tries
directely on the server, I can setup a shell for you.

Thanks & regards,
Olivier

--
_______________________________________________________
Olivier Müller - PGP key ID: 0x0E84D2EA - Switzerland
E-Mail: http://omx.ch/mail/ - AIM/iChat: swix3k
rdiff-backup suse 9.0 ?
March 10, 2004 08:57PM
Hi,

rdiff-backup is working great on older suse linux versions,
but I can't install it on the current release (9.0):

# rpm -Uvh rdiff-backup-0.12.6-1.i386.rpm
error: Failed dependencies:
python < 2.3 is needed by rdiff-backup-0.12.6-1
librsync.so.1 is needed by rdiff-backup-0.12.6-1

But:

# rpm -qa | grep python
python-xml-2.3-43
python-2.3-52

So the python here is too *new* ?!? :)

# rpm -qa | grep rsync
rsync-2.5.6-193
librsync-0.9.6-65

Librsync is installed, but it doesn't have a "librsync.so.1" file
like in previous versions:

# rpm -ql librsync
/usr/bin/rdiff
/usr/include/librsync-config.h
/usr/include/librsync.h
/usr/lib/librsync.a
/usr/lib/librsync.la
/usr/share/man/man1/rdiff.1.gz
/usr/share/man/man3/librsync.3.gz

I also tried with the librsync available from
http://rdiff-backup.stanford.edu/ , but it can't be installed
too, because there is a too new "popt" library... :)
(available = /usr/lib/libpopt.so.1.0.0, required =
/usr/lib/libpopt.so.0.0.0)

Force-installing the rpm gives:
# rdiff-backup
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 21, in ?
import rdiff_backup.Main
ImportError: No module named rdiff_backup.Main

Last thing I tried:
/usr/local/src/rdiff-backup-0.12.6 # python setup.py build
Traceback (most recent call last):
File "setup.py", line 4, in ?
from distutils.core import setup, Extension
ImportError: No module named distutils.core

Help please :-) If you'd like to make some tries
directely on the server, I can setup a shell for you.

Thanks & regards,
Olivier
--
_______________________________________________________
Olivier Müller - PGP key ID: 0x0E84D2EA - Switzerland
E-Mail: http://omx.ch/mail/ - AIM/iChat: swix3k
rdiff-backup suse 9.0 ?
March 13, 2004 02:48AM
Olivier Mueller wrote:
[quote]
Force-installing the rpm gives:
# rdiff-backup
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 21, in ?
import rdiff_backup.Main
ImportError: No module named rdiff_backup.Main

[/quote]
you can make that go away by editing /usr/bin/rdiff-backup to have the
correct path to python on the first line.
it probably needs to be /usr/bin/python2.3

dave
Sorry, only registered users may post in this forum.

Click here to login