|
64.
|
|
|
![](/@@/translation-newline)
The refresh command prints pending refreshes of the calling snap and can hold ![](/@@/translation-newline)
back disruptive refreshes of other snaps, such as refreshes of the kernel or ![](/@@/translation-newline)
base snaps that can trigger a restart. This command can be used from the ![](/@@/translation-newline)
gate-auto-refresh hook which is only run during auto-refresh.
![](/@@/translation-newline)
Snap can query pending refreshes with:
$ snapctl refresh --pending
pending: ready
channel: stable
version: 2
revision: 2
base: false
restart: false
![](/@@/translation-newline)
The 'pending' flag can be "ready", "none" or "inhibited". It is set to "none" ![](/@@/translation-newline)
when a snap has no pending refreshes. It is set to "ready" when there are ![](/@@/translation-newline)
pending refreshes and to ”inhibited” when pending refreshes are being ![](/@@/translation-newline)
held back because more or more snap applications are running with the ![](/@@/translation-newline)
“refresh app awareness” feature enabled.
![](/@@/translation-newline)
The "base" and "restart" flags indicate whether the base snap is going to be ![](/@@/translation-newline)
updated and/or if a restart will occur, both of which are disruptive. A base ![](/@@/translation-newline)
snap update can temporarily disrupt the starting of applications or hooks from ![](/@@/translation-newline)
the snap.
![](/@@/translation-newline)
To tell snapd to proceed with pending refreshes:
$ snapctl refresh --pending --proceed
![](/@@/translation-newline)
Note, a snap using --proceed cannot assume that the updates will occur as they ![](/@@/translation-newline)
might be held back by other snaps.
![](/@@/translation-newline)
To hold refresh for up to 90 days for the calling snap:
$ snapctl refresh --pending --hold
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
overlord/hookstate/ctlcmd/refresh.go:56
|
|
65.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_snap_op.go:81
|
|
66.
|
|
|
![](/@@/translation-newline)
The remodel command changes the model assertion of the device, either to a new ![](/@@/translation-newline)
revision or a full new model.
![](/@@/translation-newline)
In the process it applies any implied changes to the device: new required ![](/@@/translation-newline)
snaps, new kernel or gadget etc.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_remodel.go:33
|
|
67.
|
|
|
![](/@@/translation-newline)
The remove command removes the named snap instance from the system.
![](/@@/translation-newline)
By default all the snap revisions are removed, including their data and the ![](/@@/translation-newline)
common data directory. When a --revision option is passed only the specified ![](/@@/translation-newline)
revision is removed.
![](/@@/translation-newline)
Unless automatic snapshots are disabled, a snapshot of all data for the snap is ![](/@@/translation-newline)
saved upon removal, which is then available for future restoration with snap ![](/@@/translation-newline)
restore. The --purge option disables automatically creating snapshots.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_snap_op.go:69
|
|
68.
|
|
|
![](/@@/translation-newline)
The remove-quota command removes the given quota group.
![](/@@/translation-newline)
Currently, only quota groups with no sub-groups can be removed. In order to ![](/@@/translation-newline)
remove a quota group with sub-groups, the sub-groups must first be removed until ![](/@@/translation-newline)
there are no sub-groups for the group, then the group itself can be removed.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_quota.go:51
|
|
69.
|
|
|
![](/@@/translation-newline)
The remove-user command removes a local system user.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
![](/@@/translation-newline)
Команда remove-user удаляет пользователя в локальной системе.
|
|
Translated and reviewed by
vofka
|
|
|
|
Located in
cmd/snap/cmd_remove_user.go:32
|
|
70.
|
|
|
![](/@@/translation-newline)
The repair command shows the details about one or multiple repairs.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
![](/@@/translation-newline)
Команда repair отображает сведения об одном или нескольких восстановлениях.
|
|
Translated and reviewed by
Eugene Roskin
|
|
|
|
Located in
cmd/snap/cmd_repair_repairs.go:58
|
|
71.
|
|
|
![](/@@/translation-newline)
The repairs command lists all processed repairs for this device.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
![](/@@/translation-newline)
Команда repair, отображает список всех произведённых восстановлений для этого устройства.
|
|
Translated and reviewed by
Eugene Roskin
|
|
|
|
Located in
cmd/snap/cmd_repair_repairs.go:82
|
|
72.
|
|
|
![](/@@/translation-newline)
The restart command restarts the given services of the snap. If executed from the ![](/@@/translation-newline)
"configure" hook, the services will be restarted after the hook finishes.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
overlord/hookstate/ctlcmd/restart.go:30
|
|
73.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_services.go:71
|