Dar*_*rks 12 update-manager 18.04
乌班图18.04。每次我运行一个apt-get upgrade周期时,完成后都会弹出一个“软件更新程序”GUI。它似乎没有给这个过程添加任何东西,而且很烦人,所以我希望它停止存在。
我该如何让它消失?我找不到它的任何设置。
san*_*lio 11
尝试两种可能的选择:
从“设置” -> “通知” -> “软件更新程序”中禁用 。请注意,还有 具有相同设置的“设置” -> “通知” -> “Ubuntu 软件”,我不确定它是否会产生相同的行为。
在命令行中,gsettings set com.ubuntu.update-notifier no-show-notifications true. 您还可以通过 GUI 来设置它,非常有用dconf-editor(如果没有,您可以安装它)。
删除更新通知程序
sudo apt-get remove update-notifier
Run Code Online (Sandbox Code Playgroud)
请注意,这只会删除执行系统更新的图形方式。您仍然可以使用命令或 Synaptic 进行升级。
想要禁用/删除更新管理器:
打开终端 (Ctrl+Alt+T) 并运行以下命令以禁用 Ubuntu 系统上的 Update Manager 自动通知:
gconftool -s --type bool /apps/update-notifier/auto_launch false
Run Code Online (Sandbox Code Playgroud)
要重新启用 Update Manager 自动通知,请运行以下命令:
gconftool -s --type bool /apps/update-notifier/auto_launch true
Run Code Online (Sandbox Code Playgroud)
如果您希望完全删除 Update Manager 软件包,请运行以下命令:
sudo apt-get remove update-manager
Run Code Online (Sandbox Code Playgroud)
要再次恢复它,请运行:
sudo apt-get install update-manager
Run Code Online (Sandbox Code Playgroud)
卸载 update-manager 要从 Ubuntu 中仅删除 update-manager 软件包本身,请在终端上执行:
sudo apt-get remove update-manager
Run Code Online (Sandbox Code Playgroud)
卸载 update-manager 及其依赖包
从 Ubuntu 中删除不再需要的 update-manager 包和任何其他依赖包。
sudo apt-get autoremove update-manager
Run Code Online (Sandbox Code Playgroud)
清除更新管理器
如果您还想从 Ubuntu 中删除更新管理器的配置和/或数据文件,那么这将起作用:
sudo apt-get purge update-manager
Run Code Online (Sandbox Code Playgroud)
要从 Ubuntu 中删除 update-manager 的配置和/或数据文件及其依赖项,然后执行:
sudo apt-get autoremove --purge update-manager
Run Code Online (Sandbox Code Playgroud)
请注意,不建议禁用 Ubuntu 更新管理器。定期更新Ubuntu系统非常重要。
| 归档时间: |
|
| 查看次数: |
14025 次 |
| 最近记录: |