Subject: Bug#4387: mirror doesn't provide do_unlinks as executable

From: [email-masked] (Martin Schulze)
Date: Tue, 3 Sep 96 11:04 MET DST

Package: mirror
Version: 2.8-6

If you configure your mirror to be careful with deletes (e.g.
max_delete=20%) you might get the following messages:

NEED TO unlink /pub/buzz-fixes/disks-i386/1996_7_14/kernel-headers-2.0.6-0.all.deb
NEED TO unlink /pub/buzz-fixes/disks-i386/1996_7_14/kernel-image-2.0.6-0.i386.deb
NEED TO rmdir /pub/buzz-fixes/disks-i386/1996_7_14

The original mirror program provides a tool do_unlinks through which
you can pipe such a mail if you wish to remove those files/directories.

The Debian mirror package only provides this script as an example.
I would appreciate movin it into the /usr/lib/mirror direcotory
and linking it to /usr/bin/do_unliks.

Thanks,

	Joey

---

From: [email-masked]
Date: Tue, 3 Sep 96 07:26 EDT

Martin> Package: mirror 
  Martin> Version: 2.8-6
[...]
  Martin> The Debian mirror package only provides this script as an example.
  Martin> I would appreciate movin it into the /usr/lib/mirror direcotory and
  Martin> linking it to /usr/bin/do_unliks.

No, because you need to first edit do_deletes locally to adapt the $del_only
variable to your site. Or change your $max_delete_files setting.

I close this bug.

--
Dirk Eddelb"uttel                             http://qed.econ.queensu.ca/~edd

---

From: Chris Fearnley <[email-masked]>
Date: Mon, 9 Sep 1996 15:47:15 -0400 (EDT)

[email-masked] wrote:'
>variable to your site. Or change your $max_delete_files setting.

Could reasonable defaults be provided?  If not, then certainly there
are more trivial questions asked by postinst scripts?

-- 
Christopher J. Fearnley            |    Linux/Internet Consulting
[email-masked], [email-masked]       |    UNIX SIG Leader at PACS
http://www.netaxs.com/~cjf         |    (Philadelphia Area Computer Society)
ftp://ftp.netaxs.com/people/cjf    |    Design Science Revolutionary
"Dare to be Naive" -- Bucky Fuller |    Explorer in Universe

---

From: [email-masked]
Date: Mon, 9 Sep 96 17:27 EDT

Dirk> No, because you need to first edit do_deletes locally to adapt the
  Dirk> $del_only variable to your site. Or change your $max_delete_files
  Dirk> setting.

  Chris>  Could reasonable defaults be provided?  If not, then certainly
  Chris> there are more trivial questions asked by postinst scripts?

I will not, as mirror maintainer, change this. IMHO doo_deletes is not
important enough to warrant questions in the postinst. The mirror package
requires local finetuning. Life's too short to take care of everything.