Fail to remove app

Bug #1642257 reported by Renato Araujo Oliveira Filho
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
Expired
Undecided
Unassigned

Bug Description

Trying to remove my 'ubuntu-calendar-app' give the following error:

2016-11-16T08:59:06-03:00 ERROR cannot remove snap file "ubuntu-calendar-app", will retry in 3 mins: umount: /snap/ubuntu-calendar-app/x1: not mounted

After some help from zyga I got this logs:

[snap changes]
186 Error 2016-11-16T11:54:03Z 2016-11-16T11:58:26Z Remove "ubuntu-calendar-app" snap
187 Done 2016-11-16T11:58:30Z 2016-11-16T11:58:48Z Remove "ubuntu-calendar-app" snap
188 Done 2016-11-16T11:59:05Z 2016-11-16T12:00:44Z Remove "ubuntu-calendar-app" snap
189 Done 2016-11-16T12:01:50Z 2016-11-16T12:01:51Z Enable "ubuntu-calendar-app" snap
190 Error 2016-11-16T12:01:58Z 2016-11-16T12:01:59Z Remove "ubuntu-calendar-app" snap
191 Error 2016-11-16T12:02:12Z 2016-11-16T12:02:12Z Remove "ubuntu-calendar-app" snap
192 Done 2016-11-16T12:02:38Z 2016-11-16T12:02:38Z Enable "ubuntu-calendar-app" snap
193 Error 2016-11-16T12:02:42Z 2016-11-16T12:02:43Z Remove "ubuntu-calendar-app" snap
194 Error 2016-11-16T12:02:53Z 2016-11-16T12:02:53Z Remove "ubuntu-calendar-app" snap
195 Error 2016-11-16T12:02:55Z 2016-11-16T12:02:55Z Remove "ubuntu-calendar-app" snap
196 Error 2016-11-16T12:02:56Z 2016-11-16T12:02:56Z Remove "ubuntu-calendar-app" snap
197 Done 2016-11-16T12:03:12Z 2016-11-16T12:03:12Z Enable "ubuntu-calendar-app" snap
198 Done 2016-11-16T12:05:51Z 2016-11-16T12:05:53Z Install "ubuntu-calendar-app" snap from file "/tmp/q9HQdDACCClxLPygNaevTTWXaOpIh0VX_10.snap"
199 Error 2016-11-16T12:06:02Z 2016-11-16T12:09:09Z Remove "ubuntu-calendar-app" snap
200 Done 2016-11-16T12:09:22Z 2016-11-16T12:09:22Z Enable "ubuntu-calendar-app" snap

[snap change 186]
Status Spawn Ready Summary
Undone 2016-11-16T11:54:03Z 2016-11-16T11:58:26Z Stop snap "ubuntu-calendar-app" services
Done 2016-11-16T11:54:03Z 2016-11-16T11:58:26Z Make snap "ubuntu-calendar-app" unavailable to the system
Error 2016-11-16T11:54:03Z 2016-11-16T11:58:26Z Remove security profile for snap "ubuntu-calendar-app" (x1)
Done 2016-11-16T11:54:03Z 2016-11-16T11:58:26Z Remove data for snap "ubuntu-calendar-app" (x1)
Hold 2016-11-16T11:54:03Z 2016-11-16T11:58:26Z Remove snap "ubuntu-calendar-app" (x1) from the system
Hold 2016-11-16T11:54:03Z 2016-11-16T11:58:26Z Discard interface connections for snap "ubuntu-calendar-app" (x1)

......................................................................
Remove security profile for snap "ubuntu-calendar-app" (x1)

2016-11-16T08:58:26-03:00 ERROR cannot find installed snap "ubuntu-calendar-app" at revision x1

......................................................................
Remove snap "ubuntu-calendar-app" (x1) from the system

2016-11-16T08:54:04-03:00 ERROR cannot remove snap file "ubuntu-calendar-app", will retry in 3 mins: umount: /snap/ubuntu-calendar-app/x1: not mounted
2016-11-16T08:57:04-03:00 ERROR cannot remove snap file "ubuntu-calendar-app", will retry in 3 mins: umount: /snap/ubuntu-calendar-app/x1: not mounted

[systemctl status snap-ubuntu\x2dcalendar\x2dapp-x1.mount]
● snap-ubuntu\x2dcalendar\x2dapp-x1.mount - Mount unit for ubuntu-calendar-app
   Loaded: loaded (/etc/systemd/system/snap-ubuntu\x2dcalendar\x2dapp-x1.mount; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since qua 2016-11-16 08:56:02 BRT; 1h 3min ago
    Where: /snap/ubuntu-calendar-app/x1
     What: /var/lib/snapd/snaps/ubuntu-calendar-app_x1.snap

nov 16 08:56:02 snappy systemd[1]: Mounting Mount unit for ubuntu-calendar-app...
nov 16 08:56:02 snappy mount[294]: mount: /var/lib/snapd/snaps/ubuntu-calendar-app_x1.snap is not a block device (maybe try `-o loop'?)
nov 16 08:56:02 snappy systemd[1]: snap-ubuntu\x2dcalendar\x2dapp-x1.mount: Mount process exited, code=exited status=32
nov 16 08:56:02 snappy systemd[1]: Failed to mount Mount unit for ubuntu-calendar-app.
nov 16 08:56:02 snappy systemd[1]: snap-ubuntu\x2dcalendar\x2dapp-x1.mount: Unit entered failed
state.

[ls -la /var/lib/snapd/snaps]
-rw------- 1 root root 0 nov 11 20:07 ubuntu-calendar-app_x1.snap

Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

Just got it again.

At the moment that I finish the snap package installation, I forced a hw reset.

Revision history for this message
Michael Vogt (mvo) wrote :

What version of snapd are you using?
$ snap list snapd

Changed in snappy:
status: New → Incomplete
Revision history for this message
Michael Vogt (mvo) wrote :

Ups, sorry:
$ apt list snapd
of course.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Snappy because there has been no activity for 60 days.]

Changed in snappy:
status: Incomplete → Expired
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.