Public bug reported:

I try to do a backup onto a network location (ssh://192.168.1.61 - I can
successfully connect to this location via ssh). The backup completes the
scan phase, then dies with error messages like this:

Failed to read /tmp/duplicity-xdksj47v-tempdir/mktemp-_5khubio-2:
(<class 'EOFError'>, EOFError('Compressed file ended before the end-of-
stream marker was reached'), <traceback object at 0x7f5f660da740>)

While the backup is running, we can see a duplicity* directory under
/tmp:

$ ll /tmp/duplicity-i6olpr17-tempdir/
total 16
drwx------  2 scohen scohen  4096 Apr 24 12:52 ./
drwxrwxrwt 26 root   root   12288 Apr 24 12:52 ../
-rw-------  1 scohen scohen     0 Apr 24 12:52 mkstemp-cx21bs8l-1

However, note that this is not the directory mentioned in the failure
message.

A scan of the directory after the failure reveals no files like
/tmp/dupl*

Why is it trying to read files that do not exist?

$ lsb_release -rd
Description:    Ubuntu 22.04 LTS
Release:        22.04

$ apt-cache policy duplicity
duplicity:
  Installed: 0.8.21-1build1
  Candidate: 0.8.21-1build1
  Version table:
 *** 0.8.21-1build1 500
        500 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        100 /var/lib/dpkg/status

** Affects: duplicity (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1970124

Title:
  duplicity backup fails with obscure error message Ubuntu 22.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/duplicity/+bug/1970124/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to