Your submission was sent successfully! Close

You have successfully unsubscribed! Close

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

Planning phased Ubuntu 22.04 Enterprise Desktop upgrades with Landscape

Rajan Patel

on 8 February 2022

This article was last updated 1 year ago.

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

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

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

Ubuntu desktop

Learn how the Ubuntu desktop operating system powers millions of PCs and laptops around the world.

Newsletter signup

Get the latest Ubuntu news and updates in your inbox.

By submitting this form, I confirm that I have read and agree to Canonical's Privacy Policy.

Related posts

Canonical releases Landscape 24.04 LTS

Landscape 24.04 LTS is Landscape’s first LTS release, with a modernised backend, web portal, snap management, and repository management features.

A look into Ubuntu Core 24: Device management with Landscape

Welcome to this blog series which explores innovative uses of Ubuntu Core. Throughout this series, Canonical’s Engineers will show what you can build with...

Canonical releases Ubuntu 24.04 LTS Noble Numbat

Canonical’s 10th Long Term Supported release sets a new standard in performance engineering, enterprise security and developer experience.