Project

General

Profile

Actions

Feature #7157

closed

Add duplicity (Encrypted bandwidth-efficient backup using the rsync algorithm)

Added by Predrag Zečević almost 5 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
OI-Userland
Target version:
Start date:
2016-07-01
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

Hi,

I have tried to get duplicity (http://duplicity.nongnu.org/index.html) working on /hipster:
  1. Had to install prerequisite package:
    pfexec pkg install -v library/librsync
    
  2. Got latest duplicity downloaded:
    wget https://code.launchpad.net/duplicity/0.7-series/0.7.07.1/+download/duplicity-0.7.07.1.tar.gz
    tar xf duplicity-0.7.07.1.tar.gz
    cd duplicity-0.7.07.1
    pfexec /usr/bin/python2.7 setup.py install --prefix=/opt/SFW
    
  3. Fixed python call (to use python2.7):
    pfexec vim /opt/SFW/bin/duplicity
    
  4. Calling produces error:
    $ duplicity -V
    Traceback (most recent call last):
      File "/opt/SFW/bin/duplicity", line 45, in <module>
        from lockfile import LockFile as FileLock
    ImportError: No module named lockfile
    

    Looked after that error on google and in most cases some "python-lockfile", or "py27-lockfile", etc package was fix.
    Searched around and could not find it in OI (/hipster). Is it complicated to add one (e.g. python lockfile)?
    From the other side, https://pypi.python.org/pypi/lockfile suggests that it is obsoleted and one has to use https://pypi.python.org/pypi/fasteners or http://docs.openstack.org/developer/oslo.concurrency/
    • Fastener is already there:
      $ pfexec /usr/bin/pip-2.7 install fasteners
      Requirement already satisfied (use --upgrade to upgrade): fasteners in /usr/lib/python2.7/site-packages
      
    • Installing oslo.concurenty is as simple as:
      pfexec /usr/bin/pip-2.7 install oslo.concurrency
      
    • Even tried to add lockfile:
      $ pfexec /usr/bin/pip-2.7 install lockfile
      

      but neither does help... Somehow I am lost here.

BTW, tried also with default python - no changes...

Maybe someone else knows how to get this done properly?

Regards.

Actions

Also available in: Atom PDF