ubuntu@autopkgtest:~$ sudo apt install snapd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
snapd
0 upgraded, 1 newly installed, 0 to remove and 76 not upgraded.
Need to get 9706 kB of archives.
After this operation, 57.9 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 snapd amd64 2.25 [9706 kB]
Fetched 9706 kB in 7s (1282 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "es_ES.UTF-8",
LC_MONETARY = "es_ES.UTF-8",
LC_ADDRESS = "es_ES.UTF-8",
LC_TELEPHONE = "es_ES.UTF-8",
LC_NAME = "es_ES.UTF-8",
LC_MEASUREMENT = "es_ES.UTF-8",
LC_IDENTIFICATION = "es_ES.UTF-8",
LC_NUMERIC = "es_ES.UTF-8",
LC_PAPER = "es_ES.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously unselected package snapd.
(Reading database ... 83125 files and directories currently installed.)
Preparing to unpack .../archives/snapd_2.25_amd64.deb ...
Unpacking snapd (2.25) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up snapd (2.25) ...
ubuntu@autopkgtest:~$ snap version
snap 2.25
snapd 2.25
series 16
ubuntu 16.04
kernel 4.4.0-67-generic
ubuntu@autopkgtest:~$ sudo snap install test-snapd-tools
2017-06-02T16:38:10+02:00 INFO cannot auto connect core:core-support-plug to core:core-support: (slot auto-connection), existing connection state "core:core-support-plug core:core-support" in the way
2017-06-02T16:38:11+02:00 INFO cannot auto connect core:core-support-plug to core:core-support: (slot auto-connection), existing connection state "core:core-support-plug core:core-support" in the way
test-snapd-tools 1.0 from 'canonical' installed
ubuntu@autopkgtest:~$ snap version
snap 2.25
snapd 2.25
series 16
ubuntu 16.04
kernel 4.4.0-67-generic
ubuntu@autopkgtest:~$ snap list
Name Version Rev Developer Notes
core 16-2 1689 canonical -
test-snapd-tools 1.0 6 canonical -
ubuntu@autopkgtest:~$ snap info core
name: core
summary: "snapd runtime environment"
publisher: canonical
contact: snappy-canonical-storeaccount@canonical.com
description: |
The core runtime environment for snapd
type: core
tracking: stable
installed: 16-2 (1689) 83MB -
refreshed: 2017-04-11 14:28:54 +0200 CEST
channels:
latest/stable: 16-2 (1689) 83MB -
latest/candidate: 16-2 (1804) 83MB -
latest/beta: 16-2.26.4 (2085) 83MB -
latest/edge: 16-2.26.4 (2092) 83MB -
ubuntu@autopkgtest:~$ sudo dpkg -i snapd_2.26.3_amd64.deb snap-confine_2.26.3_amd64.deb
(Reading database ... 83168 files and directories currently installed.)
Preparing to unpack snapd_2.26.3_amd64.deb ...
Warning: Stopping snapd.service, but it can still be activated by:
snapd.socket
Unpacking snapd (2.26.3) over (2.25) ...
Selecting previously unselected package snap-confine.
Preparing to unpack snap-confine_2.26.3_amd64.deb ...
Unpacking snap-confine (2.26.3) ...
Setting up snapd (2.26.3) ...
Installing new version of config file /etc/apparmor.d/usr.lib.snapd.snap-confine.real ...
Setting up snap-confine (2.26.3) ...
Processing triggers for man-db (2.7.5-1) ...
ubuntu@autopkgtest:~$ snap version
snap 2.26.3+git433.gdd00077
snapd 2.26.3+git433.gdd00077
series 16
ubuntu 16.04
kernel 4.4.0-67-generic
ubuntu@autopkgtest:~$ snap snap changes
error: unknown command "snap", see "snap --help"
ubuntu@autopkgtest:~$ snap changes
ID Status Spawn Ready Summary
1 Done 2017-06-02T14:37:44Z 2017-06-02T14:37:44Z Initialize system state
2 Done 2017-06-02T14:37:56Z 2017-06-02T14:38:14Z Install "test-snapd-tools" snap
ubuntu@autopkgtest:~$ snap set core refresh.schedule=Sun@12:00-14:00
error: access denied (try with sudo)
ubuntu@autopkgtest:~$ sudo snap set core refresh.schedule=Sun@12:00-14:00
error: cannot perform the following tasks:
- Run configure hook of "core" snap (run hook "configure": error: error running snapctl: cannot get snap cookies: no state entry for key)