即使在卸载 Firefox 后,也阻止 Ubuntu 更新程序对 Firefox 英语语言包唠叨

Jam*_*ece 5 updates firefox

我已经运行了sudo apt purge firefox,我已经浏览了所有的 /.config 文件等,并且软件更新程序每天仍然询问我是否要安装“Firefox 英语语言包”。

我没有安装 Firefox。如何阻止更新程序要求更新不存在的程序上的某些内容?

的输出dpkg -l | grep firefox

ii  firefox-locale-en                          88.0+build2-0ubuntu0.18.04.2        amd64        English language pack for Firefox
Run Code Online (Sandbox Code Playgroud)

Arc*_*ahi 8

您可以使用以下命令删除 Firefox 的英语语言包

sudo apt remove firefox-locale-en 
Run Code Online (Sandbox Code Playgroud)

然后它不会出现在更新中。

  • @JamesReece 因为“清除”不会卸载依赖项。语言包是一个单独的包,作为主 Firefox 包的依赖项安装。要卸载软件包及其依赖项,请使用 `sudo apt-get remove <packagename> --autoremove`(您也可以添加 `--purge` 参数来清除而不是删除)。或者在删除包后使用 `sudo apt-get autoremove` 删除所有不再被任何包使用的依赖项。 (3认同)