Score:1

Not able to install 'slack' through snap

kh flag

While installing slack from snap store using the command line (sudo snap install slack --classic), I get the following errors. Please help me resolve this.

  error: cannot perform the following tasks:
 - Setup snap "slack" (49) security profiles (cannot setup profiles for snap "slack": cannot load apparmor profiles: exit status 1

 apparmor_parser output: AppArmor parser error for
 /var/lib/snapd/apparmor/profiles/snap-update-ns.slack in
 /var/lib/snapd/apparmor/profiles/snap-update-ns.slack at line 8: Could
 not open 'tunables/global' 


AppArmor parser error for
 /var/lib/snapd/apparmor/profiles/snap.slack.slack in
 /var/lib/snapd/apparmor/profiles/snap.slack.slack at line 2: Could not
 open 'tunables/global' )
Ujjwal avatar
kh flag
Ubuntu 20.04.3 LTS 64-bit
Score:0
au flag

There is a problem with AppArmor. Since AppArmor is installed by default, you need to remove and reinstall its profiles:

sudo apt purge apparmor-profiles
sudo apt install apparmor-profiles

Then you can snap install the slack again.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.