当 ssh 进入我的机器时,我看到以下内容:
Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.6-sound-29 x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
* Security certifications for Ubuntu!
We now have FIPS, STIG, CC and a CIS Benchmark.
- http://bit.ly/Security_Certification
* Want to make a highly secure kiosk, smart display or touchscreen?
Here's a step-by-step tutorial for a rainy weekend, or a startup.
- https://bit.ly/secure-kiosk
* Canonical Livepatch is available for installation.
- Reduce system reboots and improve kernel security. Activate at:
https://ubuntu.com/livepatch …Run Code Online (Sandbox Code Playgroud) 升级系统时,sudo apt upgrade我收到以下消息:
(..)
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
(..)
Run Code Online (Sandbox Code Playgroud)
我知道这是一项付费服务,如果供个人使用,最多可以供 5 个主机/系统免费使用,但我不想使用它。我不想获得更多安全更新,此外,我不想每次运行升级时都看到上述消息。
最近更新后,我看到 Ubuntu Pro 的一些额外的灰色项目以及软件更新程序屏幕上的“启用 Ubuntu Pro”按钮。我现在不想安装 Ubuntu Pro,并且我还想禁止它在软件更新程序屏幕上显示 - 请参见下图。
做到这一点的步骤是什么?
注意:这个问题与软件更新 UI 有关,而不是命令行界面。
编辑:尝试过这个:
sudo mv /etc/apt/apt.conf.d/20apt-esm-hook.conf /etc/apt/apt.conf.d/20apt-esm-hook.conf.bak
Run Code Online (Sandbox Code Playgroud)
然后
sudo apt update
Run Code Online (Sandbox Code Playgroud)