FreeBSD Manual Pages
POUDRIERE-PKGCLEAN(8) System Manager's Manual POUDRIERE-PKGCLEAN(8) NAME poudriere pkgclean -- cleanup old or unwanted packages SYNOPSIS poudriere pkgclean subcommand [options] poudriere pkgclean [options] origin [origin2 [...]] DESCRIPTION This command is used to delete all packages not specified to build. By default packages not listed will be deleted; Listed packages, and their dependencies, will be kept. If -C is specified then packages listed on the command line will be deleted rather than kept. Their orphaned dependencies will not be deleted. A second run with a full list of wanted packages is needed to cleanup orphaned dependencies. Either a subcommand or a list of port origins must be supplied. SUBCOMMANDS -A Remove all packages. -a Keep all known ports in the tree. -f file Absolute path to a file which contains the list of ports to keep. Ports must be specified in the form category/port and shell-style comments are allowed. Mul- tiple -f file arguments may be specified at once. OPTIONS -C Delete the listed packages rather than keep them. This can be used to delete specific packages that need to be rebuilt while keeping them in the port list file. -r can be specified to delete reverse dependencies as well. -J number This argument specifies how many number jobs will run in parallel for gathering package information. -j name Jail to use for the packages to inspect. -N Do not build package repository when done cleaning. -n Dry run, do not actually delete anything. -O overlay Specify an extra ports tree to use as an overlay. Multi- ple -O overlay arguments may be specified to stack them. These overlays should be setup with poudriere-ports(8). -p tree Specifies which ports tree to use. (Default: "default") -r When -C is specified then all reverse dependencies will be deleted as well. This can be used to later force rebuild anything depending on the listed packages. -R Also clean restricted packages. -u Force rebuilding and signing the repo, even if no change was made. -v This will show more information during the build. Specify twice to enable debug output. -y Assume yes, do not confirm and just delete the files. -z set SET to use for the packages to inspect. SEE ALSO poudriere(8), poudriere-bulk(8), poudriere-distclean(8), poudriere-image(8), poudriere-jail(8), poudriere-logclean(8), poudriere-ports(8), poudriere-queue(8), poudriere-status(8), poudriere-testport(8), poudriere-version(8) AUTHORS Baptiste Daroussin <bapt@FreeBSD.org> Bryan Drewery <bdrewery@FreeBSD.org> FreeBSD Ports 14.quarterly June 6, 2022 POUDRIERE-PKGCLEAN(8)
NAME | SYNOPSIS | DESCRIPTION | SUBCOMMANDS | OPTIONS | SEE ALSO | AUTHORS
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=poudriere-pkgclean&sektion=8&manpath=FreeBSD+Ports+14.3.quarterly>