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
ua_config:
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