Package: debmirror
Version: 20070123
Severity: normal

My debmirror cron job broke because the ftp.msu.edu mirror is down. Ok,
so I change it to use kernel.org. Then it began failing every time I ran
it, like this:

[EMAIL PROTECTED]:~>debmirror --dist=unstable,testing 
--arch=amd64,i386,mips,mipsel,s390 --ignore-release-gpg --nosource --pdiff=none 
--host=ftp.nl.debian.org /srv/mirror/debian -v  
Mirroring to /srv/mirror/debian from ftp://[EMAIL PROTECTED]//debian/
Arches: amd64,i386,mips,mipsel,s390
Dists: unstable,testing
Sections: main,contrib,non-free,main/debian-installer
Will clean up AFTER mirroring.
Pdiff mode: none.
Attempting to get lock, this might take 2 minutes before it fails.
Get Release files.
[0%] Keeping: dists/unstable/Release
[0%] Keeping: dists/unstable/Release.gpg
[0%] Keeping: dists/testing/Release
[0%] Keeping: dists/testing/Release.gpg
Get Packages and Sources files and other miscellany.
dists/testing/contrib/binary-amd64/Packages needs fetch
[ 98%] Getting: dists/testing/contrib/binary-amd64/Packages failed:Failed to 
open file.

dists/testing/contrib/binary-amd64/Packages failed md5sum check, removing
dists/testing/contrib/binary-amd64/Packages failed md5sum check
dists/testing/contrib/binary-i386/Packages needs fetch
[ 99%] Getting: dists/testing/contrib/binary-i386/Packages failed:Failed to 
open file.

dists/testing/contrib/binary-i386/Packages failed md5sum check, removing
dists/testing/contrib/binary-i386/Packages failed md5sum check
dists/testing/contrib/binary-mips/Packages needs fetch
[ 99%] Getting: dists/testing/contrib/binary-mips/Packages failed:Failed to 
open file.

...

Failed to download some Package, Sources or Release files!
WARNING: releasing 1 pending lock...
zsh: exit 9     debmirror --dist=unstable,testing 
--arch=amd64,i386,mips,mipsel,s390      -v

Weirdly, if I told it to mirror to /tmp/mirror, it downloaded these files fine.

Eventually I noticed that there was a /srv/mirror/debian/.temp/ that contained
Packages files and stuff. After removing this, the problem went away.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-1-686 (SMP w/1 CPU core)
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 debmirror depends on:
ii  bzip2                         1.0.3-7    high-quality block-sorting file co
ii  libcompress-zlib-perl         2.005-3    Perl module for creation and manip
ii  libdigest-sha1-perl           2.11-2     NIST SHA-1 message digest algorith
ii  liblockfile-simple-perl       0.2.5-7    Simple advisory file locking
ii  libwww-perl                   5.805-1    WWW client/server library for Perl
ii  perl [libdigest-md5-perl]     5.8.8-7    Larry Wall's Practical Extraction 
ii  perl-modules [libnet-perl]    5.8.8-7    Core Perl modules
ii  rsync                         2.6.9-5    fast remote file copy program (lik

Versions of packages debmirror recommends:
ii  ed                            0.7-1      The classic unix line editor
ii  gnupg                         1.4.6-2    GNU privacy guard - a free PGP rep
ii  patch                         2.5.9-4    Apply a diff file to an original

-- no debconf information

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to