device-mapper: remove ioctl on loop0p5 failed: Device or resource busy
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Snapcraft |
Undecided
|
Unassigned | ||
| | goget-ubuntu-touch (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
Today I tried to get an image with ubuntu-
$ sudo ubuntu-device-flash core 15.04 --channel edge --developer-mode -o ubuntu-
[sudo] password for elopio:
Determining oem configuration
Starting download of generic-amd64
41.70 KB / 41.70 KB [======
Done
Starting download of icon for package
38.97 KB / 38.97 KB [======
Done
Fetching information from server...
Downloading and setting up...
error while executing external command kpartx -ds ubuntu-
loop deleted : /dev/loop0
$ apt-cache policy ubuntu-device-flash
ubuntu-
Instalita: 0.30-0ubuntu1
Kandidato: 0.30-0ubuntu1
Version table:
*** 0.30-0ubuntu1 0
500 http://
100 /var/lib/
0.29-0ubuntu3 0
500 http://
| Launchpad Janitor (janitor) wrote : | #1 |
| Changed in goget-ubuntu-touch (Ubuntu): | |
| status: | New → Confirmed |
| Leo Arias (elopio) wrote : | #2 |
Also affects snapcraft, which gets in this situation after running snapcraft run.
| Leo Arias (elopio) wrote : | #3 |
To retry I do:
sudo losetup -d /dev/loop0
sudo dmsetup remove_all
sudo kpartx -d /dev/loop0
| Leo Arias (elopio) wrote : | #4 |
| Changed in snapcraft: | |
| status: | New → Invalid |


Status changed to 'Confirmed' because the bug affects multiple users.