GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
POUDRIERE-PKGCLEAN(8) FreeBSD System Manager's Manual POUDRIERE-PKGCLEAN(8)

poudriere pkgcleancleanup old or unwanted packages

poudriere pkgclean subcommand [options]

poudriere pkgclean [options] origin [origin2 [...]]

This command is used to delete all packages not specified to build. By default packages 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.

Remove all packages.
Keep all known ports in the tree.
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. Multiple -f file arguments may be specified at once.

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.
number
This argument specifies how many number jobs will run in parallel for gathering package information.
name
Jail to use for the packages to inspect.
Do not build package repository when done cleaning.
Dry run, do not actually delete anything.
overlay
Specify an extra ports tree to use as an overlay. Multiple -O overlay arguments may be specified to stack them.

These overlays should be setup with poudriere-ports(8).

tree
Specifies which ports tree to use. (Default: “default”)
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.
Also clean restricted packages.
Force rebuilding and signing the repo, even if no change was made.
This will show more information during the build. Specify twice to enable debug output.
Assume yes, do not confirm and just delete the files.
set
SET to use for the packages to inspect.

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)

Baptiste Daroussin ⟨bapt@FreeBSD.org⟩
Bryan Drewery ⟨bdrewery@FreeBSD.org⟩

June 6, 2022 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.