我希望删除chromium
如下内容:
root@mordor:~#
root@mordor:~# snap info chromium
name: chromium
summary: Chromium web browser, open-source version of Chrome
publisher: Canonical✓
store-url: https://snapcraft.io/chromium
contact: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bugs?field.tag=snap
license: unset
description: |
An open-source browser project that aims to build a safer, faster, and more
stable way for all Internet users to experience the web.
commands:
- chromium.chromedriver
- chromium
snap-id: XKEcBqPM06H1Z7zGOdG5fbICuf8NWK5R
tracking: latest/stable
refresh-date: 3 days ago, at 22:33 PDT
channels:
latest/stable: 100.0.4896.75 2022-04-07 (1957) 137MB -
latest/candidate: 100.0.4896.75 2022-04-06 (1957) 137MB -
latest/beta: 101.0.4951.15 2022-04-01 (1952) 139MB -
latest/edge: 101.0.4951.15 2022-03-31 (1952) 139MB -
installed: 100.0.4896.75 (1957) 137MB -
root@mordor:~#
root@mordor:~# uname -a
Linux mordor 5.11.0-49-generic #55-Ubuntu SMP Wed Jan 12 17:36:34 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
root@mordor:~#
root@mordor:~# sudo snap remove chromium
error: cannot perform the following tasks:
- Save data of snap "chromium" in automatic snapshot set #9 (cannot create archive:
tar: common/chromium: file changed as we read it)
root@mordor:~#
root@mordor:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.04
Release: 21.04
Codename: hirsute
root@mordor:~#
但陷入了上面的循环。
答案1
您可以尝试清除 snap 包,但请注意,它将删除所有配置和您的个人设置,包括您的书签和存储的数据。所以我建议您先备份您的个人资料。
然后正如评论中提到的那样:
sudo snap remove --purge chromium