Your message dated Sat, 29 Nov 2025 14:41:57 +1000
with message-id <[email protected]>
and subject line duplicity ancient bug housecleaning
has caused the Debian Bug report #606182,
regarding duplicity should fail gracefully on empty GPG signature file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
606182: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606182
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: duplicity
Version: 0.6.08b-1+b1
Severity: minor

Here's what I get with an empty remote GPG file (probably resulting of out of 
quota), when trying to resync the local cache :

...
Fetching .../duplicity-inc.20101225T001425Z.to.20101226T001506Z.manifest.gpg to 
/tmp/duplicity-mqzqB7-tempdir/mktemp-f0fGqJ-7'
State = sftp, Before = 'quit'
Removing still remembered temporary file 
/tmp/duplicity-mqzqB7-tempdir/mkstemp-xGZcgl-1
Removing still remembered temporary file 
/tmp/duplicity-mqzqB7-tempdir/mktemp-f0fGqJ-7
GPG error detail: Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1251, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1244, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1145, in main
    sync_archive()
  File "/usr/bin/duplicity", line 959, in sync_archive
    copy_to_local(fn)
  File "/usr/bin/duplicity", line 915, in copy_to_local
    globals.archive_dir.append(loc_name).name)
  File "/usr/bin/duplicity", line 841, in copy_raw
    data = src_iter.next(block_size).data
  File "/usr/bin/duplicity", line 900, in next
    self.fileobj.close()
  File "/usr/lib/python2.6/dist-packages/duplicity/dup_temp.py", line 210, in 
close
    assert not self.fileobj.close()
  File "/usr/lib/python2.6/dist-packages/duplicity/gpg.py", line 198, in close
    self.gpg_failed()
  File "/usr/lib/python2.6/dist-packages/duplicity/gpg.py", line 165, in 
gpg_failed
    raise GPGError, msg
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: decrypt_message failed: eof
===== End GnuPG log =====


GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: decrypt_message failed: eof
===== End GnuPG log =====

Of course, by listing the cache one can find the culprit 0 size file :
duplicity-inc.20101225T001425Z.to.20101226T001506Z.manifest.gpg

But I guess it wouldn't be so hard to have a check against empty files and 
manage the failing backup/restore then.

Hope this helps.

Best regards,

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: armel (armv5tel)

Kernel: Linux 2.6.32-5-kirkwood
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages duplicity depends on:
ii  gnupg                   1.4.10-4         GNU privacy guard - a free PGP rep
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  librsync1               0.9.7-7          rsync remote-delta algorithm libra
ii  python                  2.6.6-3+squeeze6 interactive high-level object-orie
ii  python-central          0.6.16+nmu1      register and build utility for Pyt
ii  python-pexpect          2.3-1            Python module for automating inter

duplicity recommends no packages.

Versions of packages duplicity suggests:
pn  ncftp                         <none>     (no description available)
pn  python-boto                   <none>     (no description available)

-- no debconf information




--- End Message ---
--- Begin Message ---
as far as i can tell these 10+ year old bugs are closable,
because they're either no longer relevant (pretty different OS environment),
or never received the requested moreinfo followup,
or were not directly related to duplicity itself (ie. applied
to various dependencies), 
or were fixed at some point in the past 10+ years without me noting.

regards
az


-- 
Alexander Zangerl + GPG Key 2FCCF66BB963BD5F + https://snafu.priv.at/
Es ist nichts so absurd, daß Gläubige es nicht glaubten. 
Oder Beamte täten. -- Arno Schmidt

Attachment: signature.asc
Description: Digital Signature


--- End Message ---

Reply via email to