It’s impossible to be sure of anything but death and taxes… and software upgrades.
This amendment to Christopher Bullock’s iconic quote reflects today’s reality, for everybody. Ubuntu 22.04 will be available on April 21, 2022, and System Administrators working in organisations running Ubuntu 20.04 desktops need controls to comply with their release management and change management policies. Staggering upgrades is a common practice to ensure the best IT support experience.
Fortunately, it is simple to prevent the new Ubuntu version upgrade notification through the graphical user interface and command line. This configuration can be applied to many machines easily, and stop users from updating to the next version of Ubuntu before their scheduled upgrade window.
Within the applications list in Ubuntu Desktop, there is a Software & Updates application. Opening that, and clicking on the Updates tab, reveals the following window:
Next to the Notify me of a new Ubuntu version option, changing the drop-down menu to Never will prevent users from seeing an upgrade prompt, when the next version of Ubuntu is available.
Changes made to update notifications can be verified through this window.
Landscape is Canonical’s monitoring and management tool for Ubuntu. Beyond security and vulnerability patching, Landscape is also an essential component of many organisations’ broader release management and change management strategies.
Enabling and disabling upgrade prompts across all your Ubuntu Desktops can be achieved through Landscape in 3 simple steps.
Making groups of your Ubuntu desktop machines is the first step for performing a phased upgrade. To accomplish the task of making a group in Landscape:
Next, assign the several computers to a single group:
Once your machines are grouped, you are ready to disable upgrade prompts for entire groups.
Eliminate the Ubuntu desktop users’ temptation to upgrade by disabling the upgrade prompt.
Title: Disable Ubuntu upgrade prompt
Code:
#!/bin/bash
sed -i 's/(^Prompt=).*/Prompt=never/' /etc/update-manager/release-upgrades
Run as user: root
Time limit (seconds): 300
Access Group: choose the appropriate one from the drop down menu
When you are ready to enable
Title: Enable Ubuntu LTS upgrade prompt
Code:
#!/bin/bash
sed -i 's/(^Prompt=).*/Prompt=lts/' /etc/update-manager/release-upgrades
Run as user: root
Time limit (seconds): 300
Access Group: Global access
These scripts can be run on any computer in a subgroup of the “Global access” group. They can be run on demand, or scheduled to run at a date and time in the future. Managing your Ubuntu estate with Landscape is fast, secure, and safe.
Landscape offers a single control plane for server and desktop. The reasons that make Landscape the best Linux server management dashboard are also relevant for the desktop use case.
Landscape can be downloaded and run on-premises for up to 10 machines for free, or through a SaaS model at just 1¢ per machine hour. New customers get a $100 free credit that is good for up to 60 days, and machines with an active Ubuntu Advantage subscription can use Landscape SaaS or Landscape On-Prem at no additional cost.
Compare the differences between Landscape SaaS and Landscape On-Prem. When you are ready, follow the Landscape On-Prem quickstart guide, or sign up for a free trial of Landscape SaaS, and get full control over your Ubuntu estate.
One of the most critical gaps in traditional Large Language Models (LLMs) is that they…
Canonical is continuously hiring new talent. Being a remote- first company, Canonical’s new joiners receive…
What is patching automation? With increasing numbers of vulnerabilities, there is a growing risk of…
Wouldn’t it be wonderful to wake up one day with a desire to explore AI…
Ubuntu and Ubuntu Pro supports Microsoft’s Azure Cobalt 100 Virtual Machines (VMs), powered by their…
Welcome to the Ubuntu Weekly Newsletter, Issue 870 for the week of December 8 –…