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 ??


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.

  • does it have any drawbacks, if you stop a snap install in-the-middle? – rubo77 Jul 30 '19 at 10:00
  • There should be no side effects other than not installing the snap in question. – Kyle Jul 30 '19 at 15:01

This is a known bug, but you can zircumvent it with CTRL + Z (pause in background) and then kill the process with:

kill -kill $(pgrep snap -la|grep -v /usr/lib/snapd/snapd|cut -d\  -f1)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.