When I run apt update and apt upgrade on my system, I get this message:

 News about significant security updates, features and services will    
 appear here to raise awareness and perhaps tease /r/Linux ;)
 Use 'pro config set apt_news=false' to hide this and future APT news.

What is meant by 'APT News' ?


1 Answer 1


This is another example of Canonical adding their "advertising stuff" to terminal commands.

I believe that by 'APT News', they are simply referring to their own infomercials in the apt output (so it's a meta-reference so to speak).

Running this command will disable that output: (sudo might be needed)

sudo pro config set apt_news=false

For manual configuration, this command writes to the file /etc/ubuntu-advantage/uaclient.conf. This is an example config file:

# Ubuntu Pro client config file.
# If you modify this file, run "pro refresh config" to ensure changes are
# picked up by Ubuntu Pro client.

contract_url: https://contracts.canonical.com
daemon_log_file: /var/log/ubuntu-advantage-daemon.log
data_dir: /var/lib/ubuntu-advantage
log_file: /var/log/ubuntu-advantage.log
log_level: debug
security_url: https://ubuntu.com/security
timer_log_file: /var/log/ubuntu-advantage-timer.log
  apt_http_proxy: null
  apt_https_proxy: null
  apt_news: false
  global_apt_http_proxy: null
  global_apt_https_proxy: null
  http_proxy: null
  https_proxy: null
  metering_timer: 14400
  ua_apt_http_proxy: null
  ua_apt_https_proxy: null
  update_messaging_timer: 21600
  update_status_timer: 43200

So if you edit this file, be sure to run this command afterwards:

sudo pro refresh config
  • 4
    i think their are correct, this is a bit confusing or unhelpful.
    – Sad3ng
    Nov 16, 2022 at 12:37
  • It works! I had to use "sudo" when not running this command as root user.
    – Muniraj
    Nov 24, 2022 at 9:04
  • 1
    What file does this command change? I'm looking for a way to manage this on a whole set of servers using a configuration management tool (Ansible).
    – gertvdijk
    Jan 11 at 13:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .