repair
Clean up packages in the local package database that were left by incomplete installs, uninstalls, or updates.
Installed packages are not changed by repair. repair only performs cleanup; it does not resume an interrupted install or update.
Usage
foton repair [OPTIONS] [<PACKAGE>...]
Arguments
<PACKAGE>
Package names, optionally with an exact version as <package-name>@<version>.
If not specified, every package that needs cleanup will be cleaned up.
Options
--no-confirm
Skip interactive confirmation prompts
--warnings-as-errors
Treat warnings as errors, causing the command to fail if any warning is emitted
Examples
foton repair
foton repair <package-name>
foton repair <package-name>@<version>
Notes
- Installed packages are not changed by
repair. - If a selected package is already in a consistent state,
fotonreports that there is nothing to do. - If cleanup cannot be completed, the package may remain in the local package
database so that you can retry
repairlater.