Comment 7 for bug 1318833

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote : Re: [Bug 1318833] Re: duplicity backup fails in 14.04

Go to https://launchpad.net/duplicity/+download and download the latest
duplicity. 0.6.13 is old and on a deprecated branch.

Before you run setup.py, run "sudo apt-get purge duplicity" to get rid of
the older version.

Then run "tar xf duplicity-0.7.06.tar.gz; cd duplicity-0.7.06; sudo python
setup.py" to install the new version.

On Sun, Feb 7, 2016 at 6:21 AM, Olivier <email address hidden> wrote:

> I'm affected as well, but the workaround in comment #2 does not work for
> me.
> duplicity 0.6.23-1ubuntu4.1
> deja-dup 30.0-0ubuntu4
>
> I had this issue first when backuping a rather big directory (1.5Go). I
> deleted this backup and set up a new one (different directory, size
> ~500Mo), then it has been worked well for few weeks. The issue appeared
> again recently. I haven't found a way to make it work yet.
>
> --
> You received this bug notification because you are subscribed to
> duplicity in Ubuntu.
> https://bugs.launchpad.net/bugs/1318833
>
> Title:
> duplicity backup fails in 14.04
>
> Status in duplicity package in Ubuntu:
> Confirmed
>
> Bug description:
> I have an automatic backup system setup running through a script in
> anacron. After upgrading to 14.04 duplicity fails with the following error
> (when run from termina)
> Traceback (most recent call last):
> File "/usr/bin/duplicity", line 1494, in <module>
> with_tempdir(main)
> File "/usr/bin/duplicity", line 1488, in with_tempdir
> fn()
> File "/usr/bin/duplicity", line 1337, in main
> do_backup(action)
> File "/usr/bin/duplicity", line 1458, in do_backup
> full_backup(col_stats)
> File "/usr/bin/duplicity", line 542, in full_backup
> globals.backend)
> File "/usr/bin/duplicity", line 403, in write_multivol
> globals.gpg_profile, globals.volsize)
> File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 327, in
> GPGWriteFile
> bytes_to_go = data_size - get_current_size()
> File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 320, in
> get_current_size
> return os.stat(filename).st_size
> OSError: [Errno 2] No such file or directory:
> '/tmp/duplicity-Hy90rz-tempdir/mktemp-SB_XJ9-2'
>
> I am running 14.04 fully updated and
> duplicity:
> Installed: 0.6.23-1ubuntu4
> Candidate: 0.6.23-1ubuntu4
> Version table:
> *** 0.6.23-1ubuntu4 0
> 500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
> 100 /var/lib/dpkg/status
>
> Any help?
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/duplicity/+bug/1318833/+subscriptions
>