Ubuntu – How to stop a snap package downloading

snap

When I start installing a snap package, and cancel after that, I get back to the command prompt, but when I see the process that are consuming the bandwidth, I can see that snapd is still downloading the snap. I tried the command snap abort id_of_operation but it doesn't give anything, the command snap changes shows that the operation has been aborted, but snapd is still downloading.

So, is there a way to stop the downloading ??

Best Answer

Not right now, though once the download has completed, snapd will abort the operation as requested.

Note that the client is supposed to abort the operation when you ctrl+c it-- this is a known bug.

Update: This bug was fixed in snapd v2.20.1.

Related Question