From 36f4224f84d1a89e8c6eb31ac226799f78f06514 Mon Sep 17 00:00:00 2001 From: zyimm Date: Mon, 16 Jan 2023 09:14:59 +0800 Subject: [PATCH] =?UTF-8?q?:art=20apt=20=E6=9B=BF=E4=BB=A3=20apt-get?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _posts/Linux/ubuntu/clear-invalid-package.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_posts/Linux/ubuntu/clear-invalid-package.md b/_posts/Linux/ubuntu/clear-invalid-package.md index dbc911d..8a26948 100644 --- a/_posts/Linux/ubuntu/clear-invalid-package.md +++ b/_posts/Linux/ubuntu/clear-invalid-package.md @@ -11,8 +11,8 @@ tags: Ubuntu > 命令如下: ```shell # root 账号无需加上sudo -sudo apt-get purge $(dpkg -l|grep ^rc|awk '{ print $2 }') -sudo apt-get purge $(dpkg -l|grep iF|awk '{ print $2 }') +sudo apt purge $(dpkg -l|grep ^rc|awk '{ print $2 }') +sudo apt purge $(dpkg -l|grep iF|awk '{ print $2 }') ``` > 注解: