Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting our team. We will be in touch shortly.Close

  1. Blog
  2. Article

Rajan Patel
on 8 February 2022

Planning phased Ubuntu 22.04 Enterprise Desktop upgrades with Landscape


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.

Manage a single computer

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:

New Ubuntu version notifications are managed through the Updates tab, within the Software & Updates application.

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.

Manage many computers, with Landscape

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.

Manage thousands of Ubuntu computers as easily as one

Compare Landscape editions

Step 1: divide your Ubuntu desktop estate into groups

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:

  1. Log into your Landscape dashboard and from the overview page, click Access groups in the secondary navigation.
  2. Type an appropriate Title, and select an appropriate Parent if you are grouping machines in a hierarchical way.
  3. Click the Save button.

Next, assign the several computers to a single group:

  1. Click Computers in the primary navigation menu, and select an assortment of machines that belong in a single grouping
  2. Click Info in the secondary navigation
  3. Scroll to the bottom of the page and select an appropriate Access Group from the dropdown.
  4. Click the Update access group button

Once your machines are grouped, you are ready to disable upgrade prompts for entire groups.

Step 2: disable upgrade prompts on Ubuntu desktop from Landscape

Eliminate the Ubuntu desktop users’ temptation to upgrade by disabling the upgrade prompt.

  • Log into your Landscape dashboard and from the overview page, click Scripts in the secondary navigation.
  • Click the Add script link, and fill in the page as follows:

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

  • Click the Save button

Step 3: enable LTS upgrade prompts on Ubuntu desktop from Landscape

When you are ready to enable 

  • Log into your Landscape dashboard and from the overview page, click Scripts in the secondary navigation.
  • Click the Add script link, and fill in the page as follows:

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

  • Click the Save button

Linux desktop management, made easy

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.

Disable and enable upgrade prompts on demand, through the Landscape dashboard.

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, for personal or evaluation purposes. Machines with an active Ubuntu Pro subscription can use Landscape SaaS or self-hosted Landscape at no additional cost.

Compare the differences between Landscape SaaS and self-hosted Landscape. When you are ready, follow the self-hosted Landscape quickstart guide, or sign up for Ubuntu Pro, and get full control over your Ubuntu estate.

If you want to learn more

Talk to us about Landscape and our professional services options.

Contact Us

Related posts


Aaron Prisk
19 March 2024

The Coronation of a New Mascot: Noble Numbat

Desktop Article

On the eve of our 20th anniversary we are thrilled to present the Noble Numbat, the mascot for Ubuntu 24.04 LTS. ...


Karen Horovitz
18 March 2024

Accelerate AI development with Ubuntu and NVIDIA AI Workbench

AI Article

As the preferred OS for data science, AI and ML, Ubuntu plays an integral role in NVIDIA AI Workbench capabilities.  ...


lizzieepton
13 February 2024

Simplify IoT device management: How to add Ubuntu Core devices to Landscape

Internet of Things Article

Landscape has been a member of the Canonical product list for almost as long as Canonical has existed. Landscape allows administrators to manage their desktop and server instances from a single centralised portal. With the latest release of Landscape Server (23.10), we’ve introduced the ability to manage snap packages from Landscape – and ...