pkgs_to_mmin1
Extract mirror-master details from mirror package files
Usage
pkgs_to_mmin [-y
last_ok]
[-n
last_notok]
[packages]
package
Overview
pkgs_to_mmin is a utility perl script which reads mirror package files and for each package found outputs details as one line of text in the form:
filename:packagename last_ok last_notok
Options
-
-y last_ok -
where last_ok is an integer (default 8).
-
-n last_notok -
where last_notok is an integer (default 8).
Examples
- pkgs_to_mmin -y 20 /etc/mirror/packages/debian-dists
-
lists
mirror-masterdetail lines for all themirrorpackages in debian-dists with last_ok reset to 20.
- cmdin=pkgs_to_mmin /etc/mirror/late/* | grep ":patch"
-
is a line in a
mirror-mastercontrol file. When run,pkgs_to_mminmakes detail lines for all packages found in /etc/mirror/late/,grepselects only lines with :patch whichmirrorthen runs. A following line would use grep -v. Keep unsuitable package files in another directory. For large archives use a separate directory for each time of daymirror-masterstarts.
Releases
7 releases since Debian 2.1 (Slink); the text changed 2 times.
-n since Debian 3.0 (Woody);
-y since Debian 3.0 (Woody).