Snap提供パッケージ
Snap Wiki
Snap is a software packaging and deployment system developed by Canonical for operating systems that use the Linux kernel and the systemd init system. The packages, called snaps, and the tool for using them, snapd, work across a range of Linux distributions and allow upstream software developers to distribute their applications directly to users. Snaps are self-contained applications running in a sandbox with mediated access to the host system. Snap was originally released for cloud applicatio Th...
18.04, snap
gnome機能拡張がsnap上で動作するシステムアプリには対応していないようなので、正規のパッケージに置換えます。
snap上で動作しているアプリの確認:
$ snap list
以下のアプリをアンインストールします。
Snap packages installed by default in Ubuntu 18.04 LTS are:
gnome-calculator
gnome-characters
gnome-logs
gnome-system-monitor
Which can be found using the command sudo snap list
. To remove default Snap apps use:
$ sudo snap remove gnome-calculator gnome-characters gnome-logs gnome-system-monitor
次に公式パッケージをインストール
Then install their .deb counterparts with:
$ sudo apt install gnome-calculator gnome-characters gnome-logs gnome-system-monitor
snapによる関連アプリもアンインストールします。
Additionaly, you can uninstall the whole Snapd ecosystem from your computer with:
sudo apt purge snapd squashfs-tools gnome-software-plugin-snap
備考)旧バージョンパッケージの取扱い
Snap confinement
Snap confinement
https://snapcraft.io/docs/snap-confinement
Strict
Used by the majority of snaps. Strictly confined snaps run in complete isolation, up to a minimal access level that’s deemed always safe. Consequently, strictly confined snaps can not access your files, network, processes or any other system resource without requesting specific access via an interface (see below ).
Classic
Allows access to your system’s resources in much the same way traditional packages do. To safeguard against abuse, publishing a classic snap requires manual approval , and installation requires the --classic
command line argument.
Devmode
A special mode for snap creators and developers. A devmode snap runs as a strictly confined snap with full access to system resources, and produces debug output to identify unspecified interfaces. Installation requires the --devmode
command line argument. Devmode snaps cannot be released to the stable channel, do not appear in search results, and do not automatically refresh.
Process for reviewing classic confinement snaps
Snapによるサービス一覧
$ sudo snap services
Service Startup Current Notes
microk8s.daemon-apiserver-kicker disabled inactive -
microk8s.daemon-apiserver-proxy disabled inactive -
microk8s.daemon-cluster-agent disabled inactive -
microk8s.daemon-containerd disabled inactive -
microk8s.daemon-etcd disabled inactive -
microk8s.daemon-flanneld disabled inactive -
microk8s.daemon-k8s-dqlite disabled inactive -
microk8s.daemon-kubelite disabled inactive -
multipass.multipassd enabled active -
snapd-desktop-integration.snapd-desktop-integration enabled - user
サービスの再起動
$ sudo snap restart multipass.multipassd
Selecting a snap channel
https://microk8s.io/docs/setting-snap-channel
パッケージバージョン履歴確認
$ snap info microk8s
.....
.....
channels:
1.25/stable: v1.25.2 2022-09-29 (4055) 174MB classic
1.25/candidate: v1.25.2 2022-09-29 (4055) 174MB classic
1.25/beta: v1.25.2 2022-09-29 (4055) 174MB classic
1.25/edge: v1.25.2 2022-09-29 (4055) 174MB classic
latest/stable: v1.25.0 2022-09-07 (3827) 174MB classic
latest/candidate: v1.25.1 2022-09-17 (3930) 174MB classic
latest/beta: v1.25.2 2022-09-22 (3943) 174MB classic
latest/edge: v1.25.2 2022-10-06 (4066) 175MB classic
dqlite/stable: –
dqlite/candidate: –
.....
.....
チャネルを指定してインストール
$ sudo snap install microk8s --classic --channel=1.25/stable
snap提供アップデートパッケージの確認
$ sudo snap refresh --list
上記コマンドでリストアップしたパッケージ名を指定してアップデート
$ sudo snap refresh PACKAGE_NAME
パッケージ名を指定しない場合には全パッケージがアップデートされます。
$ sudo snap refresh
How to close the Snap Store to allow Snapd to update it
メモリ消費量が多いためsnap-store
プロセスを停止
$ killall snap-store
$ sudo snap refresh