$ sudo snap remove maas error: cannot perform the following tasks: - Disconnect maas:maas-cli from maas-cli:maas-cli (cannot update mount namespace of snap "maas": cannot update preserved namespace of snap "maas": ----- common.go:60: DEBUG: locking mount namespace of snap "maas" common.go:81: DEBUG: freezing processes of snap "maas" change.go:363: DEBUG: umount "/snap/maas/5171/maas-cli/lib" UMOUNT_NOFOLLOW (error: no such file or directory) update.go:85: cannot change mount namespace according to change unmount (/snap/maas-cli/13/lib /snap/maas/5171/maas-cli/lib none bind,ro 0 0): no such file or directory change.go:353: DEBUG: mount --make-rprivate "/snap/maas/5171" (error: <nil>) change.go:363: DEBUG: umount "/snap/maas/5171" UMOUNT_NOFOLLOW|MNT_DETACH (error: <nil>) change.go:408: DEBUG: remove "/snap/maas/5171" (error: remove /snap/maas/5171: device or resource busy) change.go:433: DEBUG: cannot remove busy mount point "/snap/maas/5171" change.go:353: DEBUG: mount --make-rprivate "/root" (error: <nil>) change.go:363: DEBUG: umount "/root" UMOUNT_NOFOLLOW|MNT_DETACH (error: <nil>) change.go:408: DEBUG: remove "/root" (error: remove /root: read-only file system) common.go:89: DEBUG: unlocking mount namespace of snap "maas" common.go:91: DEBUG: thawing processes of snap "maas" cannot update snap namespace: read-only file system
$ sudo snap remove maas maas/5171/ maas-cli/ lib" UMOUNT_NOFOLLOW (error: no such file or directory) maas-cli/ 13/lib /snap/maas/ 5171/maas- cli/lib none bind,ro 0 0): no such file or directory NOFOLLOW| MNT_DETACH (error: <nil>) NOFOLLOW| MNT_DETACH (error: <nil>)
error: cannot perform the following tasks:
- Disconnect maas:maas-cli from maas-cli:maas-cli (cannot update mount namespace of snap "maas": cannot update preserved namespace of snap "maas":
-----
common.go:60: DEBUG: locking mount namespace of snap "maas"
common.go:81: DEBUG: freezing processes of snap "maas"
change.go:363: DEBUG: umount "/snap/
update.go:85: cannot change mount namespace according to change unmount (/snap/
change.go:353: DEBUG: mount --make-rprivate "/snap/maas/5171" (error: <nil>)
change.go:363: DEBUG: umount "/snap/maas/5171" UMOUNT_
change.go:408: DEBUG: remove "/snap/maas/5171" (error: remove /snap/maas/5171: device or resource busy)
change.go:433: DEBUG: cannot remove busy mount point "/snap/maas/5171"
change.go:353: DEBUG: mount --make-rprivate "/root" (error: <nil>)
change.go:363: DEBUG: umount "/root" UMOUNT_
change.go:408: DEBUG: remove "/root" (error: remove /root: read-only file system)
common.go:89: DEBUG: unlocking mount namespace of snap "maas"
common.go:91: DEBUG: thawing processes of snap "maas"
cannot update snap namespace: read-only file system