root@server ~ # snap help refresh Usage: snap refresh [refresh-OPTIONS] [<snap>...] The refresh command updates the specified snaps, or all snaps in the system if none are specified. With no further options, the snaps are refreshed to the current revision of the channel they're tracking, preserving their confinement options. All available channels of a snap are listed in its 'snap info' output. When --revision is used, a later refresh will typically undo the revision override. Hold (--hold) is used to postpone snap refresh updates for all snaps when no snaps are specified, or for the specified snaps. When no snaps are specified --hold is only effective on auto-refreshes and will not block either general refresh requests from 'snap refresh' or specific snap requests from 'snap refresh target-snap'. When snaps are specified --hold is effective on both their auto-refreshes and general refresh requests from 'snap refresh'. However, specific snap requests from 'snap refresh target-snap' remain unblocked and will proceed. [refresh command options] --color=[auto|never|always] Use a little bit of color to highlight some things. (default: auto) --unicode=[auto|never|always] Use a little bit of Unicode to improve legibility. (default: auto) --abs-time Display absolute times (in RFC 3339 format). Otherwise, display relative times up to 60 days, then YYYY-MM-DD. --no-wait Do not wait for the operation to finish but just print the change id. --channel= Use this channel instead of stable --edge Install from the edge channel --beta Install from the beta channel --candidate Install from the candidate channel --stable Install from the stable channel --devmode Put snap in development mode and disable security confinement --jailmode Put snap in enforced confinement mode --classic Put snap in classic mode and disable security confinement --amend Allow refresh attempt on snap unknown to the store --revision= Refresh to the given revision --cohort= Refresh the snap into the given cohort --leave-cohort Refresh the snap out of its cohort --list Show the new versions of snaps that would be updated with the next refresh --time Show auto refresh information but do not perform a refresh --ignore-validation Ignore validation by other snaps blocking the refresh --transaction=[all-snaps|per-snap] Have one transaction per-snap or one for all the specified snaps (default: per-snap) --hold= Hold refreshes for a specified duration (or forever, if no value is specified) --unhold Remove refresh hold
Notifications
Clear all
Sep 11, 2024 12:25 pm