pub fn run(yes: bool, dry_run: bool) -> Result<(), Error>Expand description
Runs the autoremove operation, identifying and removing packages that were installed as dependencies but are no longer required by any other package.
ยงErrors
Returns an error if the package list cannot be retrieved or uninstallation fails.