Skip to main content
remove deletes the record of an uninstalled installation and its log. It ends that installation’s log (deleting the installer blob or its organization ends all of them), and it frees the alias. An installation that still has blobs is uninstalled first.

Synopsis

What it does

The command sends the platform’s remove once, without confirmation. The platform answers with the lines it would act on, naming the record and the log the remove deletes, and their digest. Without --yes, the CLI prints the lines and ends with refused: pass --yes to remove and exit 1:
With --yes it sends the call without confirmation as above and prints the lines it answers the same way. It then sends the call again with their digest as confirmed, all in one run, so it confirms what this run printed, never the lines of an earlier run without --yes. The record is removed, and the command’s own last line is removed the record of reports and its log. There is nothing to follow, because nothing is left to write a log to:
When the lines have changed between the two calls, nothing is removed: the platform answers plan_changed, and the command prints the new lines and ends with refused: the plan changed while it was confirmed; nothing was removed, exit 1 (PLAN_CHANGED). A record that is not uninstalled is refused on the first call, with or without --yes: the command prints the problem, fails with INSTALLATION_NOT_UNINSTALLED, and its hint is the uninstall to run first, blobhub installer uninstall reports --installer acme-corp/installed-apps --yes.

Errors

Every code above, with its remediation, is in Error codes.

See also