snap install <package> always fails with "cannot find installed snap 'core' at revision 1689"

Asked by John Green

I have a fresh install of Ubuntu 16.04 LTS running in a VirtualBox VM. Whenever I try to install a package using

sudo snap install <package>

I get the following error:
error: cannot perform the following tasks:
- Setup snap "core" (1689) security profiles (cannot find installed snap "core" at revision 1689)

If I run 'sudo snap version', I get the following:
snap 2.25
snapd 2.25
series 16
ubuntu 16.04
kernel 4.8.0-54-generic

Even trying to install core ("sudo snap install core") results in the same error message as above.

I'm at my wits end trying to figure out what the problem is.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu snapd Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

For diagnostic purposes please provide the output of the commands

uname -a
lsb_release -crid
sudo dpkg --audit
dpkg -l | grep snap
snap list

Revision history for this message
John Green (croptop) said :
#2

Per your request:

john@ARM:~$ uname -a
Linux ARM 4.8.0-54-generic #57~16.04.1-Ubuntu SMP Wed May 24 16:22:28 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

john@ARM:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial

sudo dpkg --audit
did not output anything

john@ARM:~$ dpkg -l |grep snap
ii libsnapd-glib1:amd64 1.2-0ubuntu1.1~xenial amd64 GLib snapd library
ii libsnappy1v5:amd64 1.1.3-2 amd64 fast compression/decompression library
rc snap-confine 2.25 amd64 Transitional package for snapd
ii snapd 2.25 amd64 Tool to interact with Ubuntu Core Snappy.
ii snapd-login-service 1.2-0ubuntu1.1~xenial amd64 Daemon to allow non-root access to snapd

john@ARM:~$ snap list
No snaps are installed yet. Try "snap install hello-world".

Thank you for your help with this. It is much appreciated.

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

You could try reinstaling snapd, and if that does not help you might create a bug report.

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

Maybe your problem is related to Bug #1689332

Revision history for this message
John Green (croptop) said :
#5

I have tried reinstalling snapd multiple times but I get the same error. I will take a look at the bug report that you reference.

Revision history for this message
Launchpad Janitor (janitor) said :
#6

This question was expired because it remained in the 'Open' state without activity for the last 15 days.