[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#2629: mirror -- doesn't report failures



Package: mirror
Status: install ok installed
Section: net
Maintainer: Dirk Eddelbuettel <edd@qed.econ.queensu.ca>
Version: 2.8-3

As far as I can tell, if the mirror program fails to get all of
the packages it determines are necessary, it still returns a
status of 0.  Thus, mirror-master doesn't start it again and
will not allow it to be started again for the specified
minimum amount of time for sucessful runs.

Mirror needs to keep a flag on whether any fetches failed and return
an error code if so.

Here are some output clips...

===== begin 'mirror' output =====
---> RETR elm-2.4pl25-2.deb
200 PORT command successful.
Failure on 'RETR elm-2.4pl25-2.deb' command
Failed to get elm-2.4pl25-2.deb:
Failed to get file

disconnecting from ftp.debian.org
---> QUIT
All done, Exiting
====== end 'mirror' output ======

===== begin 'mirror-master' output =====
31608: ftp.debian.org:debian-unstable-mail terminated[0]
upd: ftp.debian.org:debian-unstable-mail 827993115 0 l 31608
ftp.debian.org:debian-unstable-mail 828007352 0 u 31608
====== end 'mirror-master' output ======

                                        Brian
                               ( bcwhite@verisim.com )

-------------------------------------------------------------------------------
    In theory, theory and practice are the same.  In practice, they're not.




Reply to: