snap code has install-snap change in progress ubuntu 20.04 code example
Example: install snap change in progress ubuntu
$ snap changes
...
123 Doing 2018-04-28T10:40:11Z - Install "foo" snap
...
$ sudo snap abort [ID]
$ snap changes
...
123 Doing 2018-04-28T10:40:11Z - Install "foo" snap
...
$ sudo snap abort [ID]