[ubuntu]停用 Ubuntu 擾人的更新和升級通知

停用 Ubuntu 擾人的更新和升級通知


1. GUI

  1. 開啟 update-manager
  2. 切到更新 update 的頁籤。
  3. 停用更新通知:將 Automatically check for updates 一欄更改成 Never
  4. 停用升級通知:將 Notify me of a new Ubuntu version 一欄更改成 Never


2. Console

2.1. 停用更新通知。

[ jonny@trusty ~ ]
$ sudo vi /etc/apt/apt.conf.d/10periodic [Enter]
#APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "0";

2.2. 停用升級通知。

[ jonny@trusty ~ ]
$ sudo vi /etc/update-manager/release-upgrades [Enter]

# Default behavior for the release upgrader.

# Default prompting behavior, valid options:
#  never  - Never check for a new release.
#  normal - Check to see if a new release is available.  If more than one new
#           release is found, the release upgrader will attempt to upgrade to
#           the release that immediately succeeds the currently-running
#           release.
#  lts    - Check to see if a new LTS release is available.  The upgrader
#           will attempt to upgrade to the first LTS release available after
#           the currently-running one.  Note that this option should not be
#           used if the currently-running release is not itself an LTS
#           release, since in that case the upgrader won't be able to
#           determine if a newer release is available.


[ jonny@trusty ~ ]
$ sudo apt-get remove update-manager-core [Enter]


本篇發表於 Linux系統。將永久鏈結加入書籤。