[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] Upgrade/rollback difficulties
From: |
edgar . soldin |
Subject: |
Re: [Duplicity-talk] Upgrade/rollback difficulties |
Date: |
Tue, 04 Nov 2014 21:25:53 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
On 04.11.2014 21:16, Russell Clemings wrote:
> That worked great on the second (python 2.6) server, thanks.
>
> On the first (python 2.4.3) server I get:
>
> File "/usr/local/src/duplicity-0.6.23/duplicity/progress.py", line 128
> class ProgressTracker():
> SyntaxError: invalid syntax
>
> I see a bug report (but no details) that suggests duplicity-0.6.23 won't work
> with python 2.4:
>
> https://bugs.launchpad.net/duplicity/+bug/1264847
>
> The README still says "Python v2.4 or later."
probably an oversight. sorry, but 2.4 is ancient by now and i see nobody going
to fix the now deprecated 0.6 line.
> Suggestions?
yes.. simply compile/install a local python 2.6 or later, not 3.. download the
tar.gz, read the INSTALL. it boils down to
configure --prefix=/usr/local/python-2.x
make install
when it complains about missing dependencies try to find out which package of
your distro provides them and install, rerun
> This is what works for me:
> duplicity 0.6.21
> Python 2.4.3
> boto.Version '1.9b'
>
> This gives me the error noted above:
> duplicity 0.6.23
> Python 2.4.3
> boto.Version '2.0'
>
as i wrote.. latest is 0.6.25 and i suggest you use it if you value your data.
alternatively run verify after each backup or at least periodically.
..ede/duply.net