| 1 |
=head1 NAME |
| 2 |
|
| 3 |
botch-clean-repository - clean errors in a repository by removing transitively uninstallable or compilable packages |
| 4 |
|
| 5 |
=head1 SYNOPSIS |
| 6 |
|
| 7 |
=over |
| 8 |
|
| 9 |
=item B<botch-clean-repository> [options] I<Packages> I<Sources> |
| 10 |
|
| 11 |
=back |
| 12 |
|
| 13 |
=head1 DESCRIPTION |
| 14 |
|
| 15 |
given a repository of binary packages and source packages, clean up that |
| 16 |
repository by removing packages that can't be compiled or installed and |
| 17 |
packages which don't have an associated binary or source package and packages |
| 18 |
which do not match the specified architecture. |
| 19 |
|
| 20 |
This effectively creates a self contained repository of maximal size. |
| 21 |
|
| 22 |
=head1 OPTIONS |
| 23 |
|
| 24 |
=over 4 |
| 25 |
|
| 26 |
=item B<--version> |
| 27 |
|
| 28 |
show program's version and exit |
| 29 |
|
| 30 |
=item B<-h, --help> |
| 31 |
|
| 32 |
show this help message and exit |
| 33 |
|
| 34 |
=item B<-v, --verbose> |
| 35 |
|
| 36 |
print additional information |
| 37 |
|
| 38 |
=item B<--quiet> |
| 39 |
|
| 40 |
do no print any messages |
| 41 |
|
| 42 |
=item B<--reqsrcarchall> |
| 43 |
|
| 44 |
require source packages for arch:all binary packages |
| 45 |
|
| 46 |
=item B<--addsrcarchall> |
| 47 |
|
| 48 |
add source packages which only build arch:all binary packages |
| 49 |
|
| 50 |
=item B<--deb-drop-b-d-indep> |
| 51 |
|
| 52 |
Drop Build-Depends-Indep dependencies |
| 53 |
|
| 54 |
=item B<--deb-drop-b-d-arch> |
| 55 |
|
| 56 |
Drop Build-Depends-Arch dependencies |
| 57 |
|
| 58 |
=item B<--allowsrcmismatch> |
| 59 |
|
| 60 |
If a binary package is without a source package but there is a source package |
| 61 |
of same name but different version, match this binary package to that source |
| 62 |
package. |
| 63 |
|
| 64 |
=item B<--progress> |
| 65 |
|
| 66 |
print progress bars |
| 67 |
|
| 68 |
=item B<-o, --outfile=>I<FILE> |
| 69 |
|
| 70 |
Set the output file I<FILE> |
| 71 |
|
| 72 |
=item B<--deb-native-arch=>I<ARCH> |
| 73 |
|
| 74 |
Native architecture I<ARCH> |
| 75 |
|
| 76 |
=item B<--deb-host-arch=>I<arch> |
| 77 |
|
| 78 |
Host architecture I<arch>. Defaults to native architecture. |
| 79 |
|
| 80 |
=item B<--deb-foreign-archs=>I<archs> |
| 81 |
|
| 82 |
Comma-separated foreign architectures in addition to native and host |
| 83 |
architectures. |
| 84 |
|
| 85 |
=item B<--deb-ignore-essential> |
| 86 |
|
| 87 |
By default, installing any binary package requires the coinstallation set of |
| 88 |
all binary packages marked as Essential:yes to be installed as well. This |
| 89 |
option drops this requirement. |
| 90 |
|
| 91 |
=back |
| 92 |
|
| 93 |
=head1 EXAMPLE |
| 94 |
|
| 95 |
Clean up a repository: |
| 96 |
|
| 97 |
botch-clean-repository --deb-native-arch=amd64 packages sources > packages-clean |
| 98 |
botch-bin2src --deb-native-arch=amd64 packages-clean sources > sources-clean |
| 99 |
|
| 100 |
=head1 BUGS |
| 101 |
|
| 102 |
See L<http://bugs.debian.org/botch>. |
| 103 |
|
| 104 |
=head1 SEE ALSO |
| 105 |
|
| 106 |
Debian doc-base Manual F</usr/share/doc/botch/wiki/Home.html> |
| 107 |
|
| 108 |
=head1 AUTHOR |
| 109 |
|
| 110 |
This man page was written by Johannes Schauer. Botch is written by Johannes |
| 111 |
Schauer and Pietro Abate. |
| 112 |
|
| 113 |
=head1 COPYRIGHT |
| 114 |
|
| 115 |
Copyright 2012-2014 Johannes Schauer, Pietro Abate |
| 116 |
|
| 117 |
This program is free software: you can redistribute it and/or modify it under |
| 118 |
the terms of the GNU Lesser General Public License as published by the Free |
| 119 |
Software Foundation, either version 3 of the License, or (at your option) any |
| 120 |
later version. A special linking exception to the GNU Lesser General Public |
| 121 |
License applies to this library, see the COPYING file for more information. |
| 122 |
|