remove_orphans
Remove orphaned packages to free up disk space on Arch Linux. Preview changes with dry-run mode and exclude specific packages from removal.
Instructions
Remove all orphaned packages to free up disk space. Supports dry-run mode to preview changes and package exclusion. Only works on Arch Linux. Requires sudo access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview what would be removed without actually removing. Default: true | |
| exclude | No | List of package names to exclude from removal |
Input Schema (JSON Schema)
{
"properties": {
"dry_run": {
"default": true,
"description": "Preview what would be removed without actually removing. Default: true",
"type": "boolean"
},
"exclude": {
"description": "List of package names to exclude from removal",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [],
"type": "object"
}