Bug#831322: debmirror consistently failing on unlink step for files in dep11 directory

2016-08-22 Thread Martin Dorey
Not the same file every day and a second run immediately after the first 
failure succeeds for me, on the three occurrences that I've noticed so far, 
making it just a minor issue for me.  It might have been happening to me every 
day for a while but any earlier failures will have been obscured by the 
excessive logging I added when I was experiencing 
https://bugs.launchpad.net/ubuntu/+source/debmirror/+bug/1562118.



Bug#831322: debmirror consistently failing on unlink step for files in dep11 directory

2016-07-14 Thread Richard Landster
Package: debmirror
Version: 1.2.25
Severity: important

Dear Maintainer,

Recently, debmirror has started failing consistently in the
cleanup_unknown_files function. In this function debmirror tries to
unlink a file and failing, dies. The error messages I am seeing are these:

unlink .temp/dists/stretch/non-free/dep11/.nfs000ef9ef04ce:
Device or resource busy at /usr/bin/debmirror line 2714.
WARNING: releasing 1 pending lock...
unlink .temp/dists/xenial-proposed/main/dep11/.nfs0015269104d5:
Device or resource busy at /usr/bin/debmirror line 2714.
WARNING: releasing 1 pending lock...

The strange thing is that the failure *only* happens when it tries to
delete a file in the dep11 directory and in no other part. This makes me
think it is not NFS-related, but has something to do with the dep11 directory.


-- System Information:
Debian Release: 8.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages debmirror depends on:
ii  bzip2   1.0.6-7+b3
pn  libdigest-md5-perl  
pn  liblockfile-simple-perl 
pn  libnet-inet6glue-perl   
ii  libwww-perl 6.08-1
ii  perl [libdigest-sha-perl]   5.20.2-3+deb8u4
ii  perl-modules [libnet-perl]  5.20.2-3+deb8u4
ii  rsync   3.1.1-3

Versions of packages debmirror recommends:
pn  ed 
ii  gpgv   1.4.18-7+deb8u1
ii  patch  2.7.5-1

Versions of packages debmirror suggests:
ii  gnupg  1.4.18-7+deb8u1