1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111 | ubuntu@autopkgtest:~$ ls
snap-confine_2.26.3_amd64.deb snapd_2.26.3_amd64.deb
ubuntu@autopkgtest:~$ sudo apt update
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [251 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [3000 B]
Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [155 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources [5672 B]
Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [544 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [7772 B]
Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [471 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [8928 B]
Fetched 1549 kB in 2s (674 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
76 packages can be upgraded. Run 'apt list --upgradable' to see them.
ubuntu@autopkgtest:~$ sudo apt install -y 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 (1247 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:~$ sudo snap install hello-world
2017-06-02T16:50:36+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:50:37+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
hello-world 6.3 from 'canonical' installed
ubuntu@autopkgtest:~$ snap list
Name Version Rev Developer Notes
core 16-2 1689 canonical -
hello-world 6.3 27 canonical -
ubuntu@autopkgtest:~$ snap version
snap 2.25
snapd 2.25
series 16
ubuntu 16.04
kernel 4.4.0-67-generic
ubuntu@autopkgtest:~$ apt-cache policy snapd
snapd:
Installed: 2.25
Candidate: 2.25
Version table:
*** 2.25 500
500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
100 /var/lib/dpkg/status
2.0.2 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
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.dirty
snapd 2.26.3+git433.gdd00077.dirty
series 16
ubuntu 16.04
kernel 4.4.0-67-generic
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
ubuntu@autopkgtest:~$ snap changes
ID Status Spawn Ready Summary
1 Done 2017-06-02T14:50:06Z 2017-06-02T14:50:06Z Initialize system state
2 Done 2017-06-02T14:50:17Z 2017-06-02T14:50:40Z Install "hello-world" snap
3 Done 2017-06-02T14:51:29Z 2017-06-02T14:51:29Z Change configuration of "core" snap
ubuntu@autopkgtest:~$ sudo snap set core refresh.schedule=Sun@12:00-14:00
ubuntu@autopkgtest:~$ snap changes
ID Status Spawn Ready Summary
1 Done 2017-06-02T14:50:06Z 2017-06-02T14:50:06Z Initialize system state
2 Done 2017-06-02T14:50:17Z 2017-06-02T14:50:40Z Install "hello-world" snap
3 Done 2017-06-02T14:51:29Z 2017-06-02T14:51:29Z Change configuration of "core" snap
4 Done 2017-06-02T14:51:51Z 2017-06-02T14:51:52Z Change configuration of "core" snap
|