logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

botch-clean-repository - clean errors in a repository by removing transitively uninstallable or

Author

       This man page was written by Johannes Schauer. Botch is written by Johannes Schauer and Pietro Abate.

Bugs

Description

       given  a repository of binary packages and source packages, clean up that repository by removing packages
       that can't be compiled or installed and packages which don't have an associated binary or source  package
       and packages which do not match the specified architecture.

       This effectively creates a self contained repository of maximal size.

Example

       Clean up a repository:

        botch-clean-repository --deb-native-arch=amd64 packages sources > packages-clean
        botch-bin2src --deb-native-arch=amd64 packages-clean sources > sources-clean

Name

       botch-clean-repository - clean errors in a repository by removing transitively uninstallable or
       compilable packages

Options

--version
           show program's version and exit

       -h,--help
           show this help message and exit

       -v,--verbose
           print additional information

       --quiet
           do no print any messages

       --reqsrcarchall
           require source packages for arch:all binary packages

       --addsrcarchall
           add source packages which only build arch:all binary packages

       --deb-drop-b-d-indep
           Drop Build-Depends-Indep dependencies

       --deb-drop-b-d-arch
           Drop Build-Depends-Arch dependencies

       --allowsrcmismatch
           If  a  binary  package  is  without  a  source package but there is a source package of same name but
           different version, match this binary package to that source package.

       --progress
           print progress bars

       -o,--outfile=FILE
           Set the output file FILE--deb-native-arch=ARCH
           Native architecture ARCH--deb-host-arch=arch
           Host architecture arch. Defaults to native architecture.

       --deb-foreign-archs=archs
           Comma-separated foreign architectures in addition to native and host architectures.

       --deb-ignore-essential
           By default, installing any binary package requires the coinstallation  set  of  all  binary  packages
           marked as Essential:yes to be installed as well. This option drops this requirement.

See Also

       Debian doc-base Manual /usr/share/doc/botch/wiki/Home.html

Synopsis

botch-clean-repository [options] PackagesSources

See Also