sudo snap abort <change-id> won't abort snap install process before downloading full package

Bug #1621805 reported by keshavbhatt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
Fix Released
Undecided
Unassigned

Bug Description

I gave "sudo snap install game-2048" , then i aborted it with "sudo snap abort 179"
where 179 is change id for the process.

So, abort usually should stop download process at the moment when it was passed to snap, but it didn't did that until the full package was downloaded.

snap install downloads the package in /tmp and i seen three 63mb game-2048 snaps there which were downloaded fully by snap.

It is a serious bug in snap and should be rectified very soon !!

I tested those 63mb snap packages and they installed correctly and game-2048 ran very well that mean they are were downloaded fully by snap ,so it is confirmed that snap ignored abort command or did what should not be expected by a user.

Tags: snap snapd snappy
Revision history for this message
keshavbhatt (keshavnrj) wrote :
affects: snappy → snap (Ubuntu)
affects: snap (Ubuntu) → snappy
Revision history for this message
keshavbhatt (keshavnrj) wrote :

you can see snap downloaded 3 game-2048 snaps even after i requested abort the install process

all are 63mb in size and all are fully downloaded, i installed them and tested them.

summary: - sudo snap abort change id wont abort snap install process before
+ sudo snap abort <change-id> won't abort snap install process before
downloading full package
keshavbhatt (keshavnrj)
description: updated
Revision history for this message
John Lenton (chipaca) wrote :

This should now be fixed, as we have a cancellable context tied to the download.

Changed in snappy:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.