![在 Linux Mint 20 中卸载应用程序时使用“*”不起作用](https://linux22.com/image/176359/%E5%9C%A8%20Linux%20Mint%2020%20%E4%B8%AD%E5%8D%B8%E8%BD%BD%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E6%97%B6%E4%BD%BF%E7%94%A8%E2%80%9C*%E2%80%9D%E4%B8%8D%E8%B5%B7%E4%BD%9C%E7%94%A8.png)
例如,我安装了不同的 LibreOffice 产品,我想删除它们。我试过:
sudo apt purge libreoffice*
在卸载 LibreOffice 的所有内容(Base、Calc、Draw 等)之前,此方法有效,但现在不起作用。它给出了这些错误:
$ sudo apt purge libreoffice* Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libreoffice*
(LibreOffice已安装,可以正常打开!)
$ sudo apt purge libreoffice/* Reading package lists... Done Building dependency tree Reading state information... Done Package 'libreoffice' is not installed, so not removed Selected version '1:6.4.4-0ubuntu0.20.04.1' (Ubuntu:20.04/focal-updates [amd64]) for 'libreoffice' 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt purge libreoffice\* Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libreoffice*
使用基于 Ubuntu 20.04 LTS 的 Linux Mint 20