snap-store fails to install - Ubuntu 21.10

Bug #1979830 reported by Eugene Odeluga
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snap-store-desktop
New
Undecided
Unassigned

Bug Description

The snap-store snap fails to re-install after being accidentally uninstalled

These are the commands and their outputs used when attempting to install and troubleshoot the application installation issue.

$ sudo snap install snap-store

Run configure hook of "snap-store" snap if present

- Run configure hook of "snap-store" snap if present (run hook "configure": <exceeded maximum runtime of 5m0s>)

$ sudo snap changes

ID Status Spawn Ready Summary
2 Done today at 17:41 BST today at 17:42 BST Install "snapcraft" snap from "stable/ubuntu-21.10" channel
3 Done today at 17:41 BST today at 17:41 BST Initialise device
4 Error today at 17:45 BST today at 17:52 BST Install "snap-store" snap

$ journalctl -x --since "2022-06-24 18:05" | grep snap

Jun 24 18:06:17 my-computer sudo[102777]: eodeluga : TTY=pts/2 ; PWD=/home/eodeluga/ ; USER=root ; COMMAND=/usr/bin/snap install snap-store
Jun 24 18:06:17 my-computer snapd[100191]: api_snaps.go:317: Installing snap "snap-store" revision unset
Jun 24 18:06:19 my-computer systemd[1]: Mounting Mount unit for snap-store, revision 558...
░░ Subject: A start job for unit snap-snap\x2dstore-558.mount has begun execution
░░ A start job for unit snap-snap\x2dstore-558.mount has begun execution.
Jun 24 18:06:19 my-computer systemd[1]: Mounted Mount unit for snap-store, revision 558.
░░ Subject: A start job for unit snap-snap\x2dstore-558.mount has finished successfully
░░ A start job for unit snap-snap\x2dstore-558.mount has finished successfully.
Jun 24 18:06:19 my-computer audit[102923]: AVC apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap-update-ns.snap-store" pid=102923 comm="apparmor_parser"
Jun 24 18:06:19 my-computer kernel: audit: type=1400 audit(1656090379.506:74): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap-update-ns.snap-store" pid=102923 comm="apparmor_parser"
Jun 24 18:06:19 my-computer audit[102924]: AVC apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.snap-store.hook.configure" pid=102924 comm="apparmor_parser"
Jun 24 18:06:19 my-computer kernel: audit: type=1400 audit(1656090379.566:75): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.snap-store.hook.configure" pid=102924 comm="apparmor_parser"
Jun 24 18:06:19 my-computer audit[102925]: AVC apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.snap-store.snap-store" pid=102925 comm="apparmor_parser"
Jun 24 18:06:19 my-computer kernel: audit: type=1400 audit(1656090379.702:76): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.snap-store.snap-store" pid=102925 comm="apparmor_parser"
Jun 24 18:06:19 my-computer audit[102926]: AVC apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.snap-store.ubuntu-software" pid=102926 comm="apparmor_parser"
Jun 24 18:06:19 my-computer kernel: audit: type=1400 audit(1656090379.742:77): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.snap-store.ubuntu-software" pid=102926 comm="apparmor_parser"
Jun 24 18:06:19 my-computer audit[102927]: AVC apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.snap-store.ubuntu-software-local-file" pid=102927 comm="apparmor_parser"
Jun 24 18:06:19 my-computer kernel: audit: type=1400 audit(1656090379.830:78): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.snap-store.ubuntu-software-local-file" pid=102927 comm="apparmor_parser"
Jun 24 18:06:22 my-computer audit[103063]: AVC apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/snap/snapd/16010/usr/lib/snapd/snap-confine" pid=103063 comm="apparmor_parser"
Jun 24 18:06:22 my-computer audit[103063]: AVC apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/snap/snapd/16010/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=103063 comm="apparmor_parser"
Jun 24 18:06:22 my-computer kernel: audit: type=1400 audit(1656090382.038:79): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/snap/snapd/16010/usr/lib/snapd/snap-confine" pid=103063 comm="apparmor_parser"
Jun 24 18:06:22 my-computer kernel: audit: type=1400 audit(1656090382.038:80): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/snap/snapd/16010/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=103063 comm="apparmor_parser"
Jun 24 18:06:22 my-computer audit[103066]: AVC apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.snap-store.hook.configure" pid=103066 comm="apparmor_parser"
Jun 24 18:06:22 my-computer kernel: audit: type=1400 audit(1656090382.310:81): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.snap-store.hook.configure" pid=103066 comm="apparmor_parser"
Jun 24 18:06:23 my-computer audit[103068]: AVC apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.snap-store.snap-store" pid=103068 comm="apparmor_parser"
Jun 24 18:06:23 my-computer kernel: audit: type=1400 audit(1656090383.222:82): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.snap-store.snap-store" pid=103068 comm="apparmor_parser"
Jun 24 18:06:23 my-computer audit[103065]: AVC apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap-update-ns.snap-store" pid=103065 comm="apparmor_parser"
Jun 24 18:06:23 my-computer kernel: audit: type=1400 audit(1656090383.238:83): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap-update-ns.snap-store" pid=103065 comm="apparmor_parser"
Jun 24 18:06:24 my-computer audit[103069]: AVC apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.snap-store.ubuntu-software" pid=103069 comm="apparmor_parser"
Jun 24 18:06:24 my-computer audit[103070]: AVC apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.snap-store.ubuntu-software-local-file" pid=103070 comm="apparmor_parser"
Jun 24 18:06:24 my-computer systemd[1]: Started snap.snap-store.hook.configure.672a8510-142d-4919-81ca-593ccc86176a.scope.
░░ Subject: A start job for unit snap.snap-store.hook.configure.672a8510-142d-4919-81ca-593ccc86176a.scope has finished successfully
░░ A start job for unit snap.snap-store.hook.configure.672a8510-142d-4919-81ca-593ccc86176a.scope has finished successfully.
Jun 24 18:06:24 my-computer systemd[1]: tmp-snap.rootfs_1jc6DJ.mount: Deactivated successfully.
░░ The unit tmp-snap.rootfs_1jc6DJ.mount has successfully entered the 'dead' state.
Jun 24 18:06:24 my-computer systemd[1653]: tmp-snap.rootfs_1jc6DJ.mount: Deactivated successfully.
Jun 24 18:11:24 my-computer snapd[100191]: taskrunner.go:271: [change 5 "Run configure hook of \"snap-store\" snap if present" task] failed: run hook "configure": <exceeded maximum runtime of 5m0s>
Jun 24 18:11:24 my-computer systemd[1]: snap.snap-store.hook.configure.672a8510-142d-4919-81ca-593ccc86176a.scope: Deactivated successfully.
░░ The unit snap.snap-store.hook.configure.672a8510-142d-4919-81ca-593ccc86176a.scope has successfully entered the 'dead' state.
Jun 24 18:11:24 my-computer audit[103252]: AVC apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/snap/snapd/16010/usr/lib/snapd/snap-confine" pid=103252 comm="apparmor_parser"
Jun 24 18:11:24 my-computer audit[103252]: AVC apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/snap/snapd/16010/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=103252 comm="apparmor_parser"
Jun 24 18:11:24 my-computer kernel: audit: type=1400 audit(1656090684.607:86): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/snap/snapd/16010/usr/lib/snapd/snap-confine" pid=103252 comm="apparmor_parser"
Jun 24 18:11:24 my-computer kernel: audit: type=1400 audit(1656090684.607:87): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/snap/snapd/16010/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=103252 comm="apparmor_parser"
Jun 24 18:11:25 my-computer audit[103254]: AVC apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.snap-store" pid=103254 comm="apparmor_parser"
Jun 24 18:11:25 my-computer kernel: audit: type=1400 audit(1656090685.727:88): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.snap-store" pid=103254 comm="apparmor_parser"
Jun 24 18:11:25 my-computer audit[103256]: AVC apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap.snap-store.hook.configure" pid=103256 comm="apparmor_parser"
Jun 24 18:11:25 my-computer kernel: audit: type=1400 audit(1656090685.747:89): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap.snap-store.hook.configure" pid=103256 comm="apparmor_parser"
Jun 24 18:11:25 my-computer audit[103257]: AVC apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap.snap-store.snap-store" pid=103257 comm="apparmor_parser"
Jun 24 18:11:25 my-computer kernel: audit: type=1400 audit(1656090685.755:90): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap.snap-store.snap-store" pid=103257 comm="apparmor_parser"
Jun 24 18:11:25 my-computer audit[103258]: AVC apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap.snap-store.ubuntu-software" pid=103258 comm="apparmor_parser"
Jun 24 18:11:25 my-computer kernel: audit: type=1400 audit(1656090685.771:91): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap.snap-store.ubuntu-software" pid=103258 comm="apparmor_parser"
Jun 24 18:11:25 my-computer audit[103259]: AVC apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap.snap-store.ubuntu-software-local-file" pid=103259 comm="apparmor_parser"
Jun 24 18:11:25 my-computer kernel: audit: type=1400 audit(1656090685.783:92): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap.snap-store.ubuntu-software-local-file" pid=103259 comm="apparmor_parser"
Jun 24 18:11:27 my-computer systemd[1]: snap-snap\x2dstore-558.mount: Deactivated successfully.
░░ The unit snap-snap\x2dstore-558.mount has successfully entered the 'dead' state.
Jun 24 18:11:27 my-computer systemd[1653]: snap-snap\x2dstore-558.mount: Deactivated successfully.
Jun 24 18:11:28 my-computer snapd[100191]: handlers.go:661: Reported install problem for "snap-store" as

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.