From 7c60369c164b359209f3a1d6c40b58a5dbac62bb Mon Sep 17 00:00:00 2001 From: zyimm Date: Sun, 9 Jul 2023 11:46:05 +0800 Subject: [PATCH] =?UTF-8?q?:art:=E5=AE=8C=E5=96=84ubuntu=20snap=20?= =?UTF-8?q?=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _posts/Linux/ubuntu/update-snap.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/_posts/Linux/ubuntu/update-snap.md b/_posts/Linux/ubuntu/update-snap.md index 9b85cb6..fc02368 100644 --- a/_posts/Linux/ubuntu/update-snap.md +++ b/_posts/Linux/ubuntu/update-snap.md @@ -12,11 +12,9 @@ tags: Ubuntu 解决办法如下: ```sh # root 账号无需加上sudo - sudo killall snap-store sudo snap refresh snap-store - ``` @@ -36,9 +34,8 @@ snap refresh --hold firefox ### 通过 --unhold 参数重新启用自动更新 -``` +```sh snap refresh --unhold - # 同理恢复某个软件更新,如火狐 snap refresh --unhold firefox ``` \ No newline at end of file