Ubuntu Pro not supported on Ubuntu 26.04?

Hi,

Ubuntu Pro worked perfectly for me on Ubuntu 24.04.

After moving to Ubuntu 26.04, I now get a message saying that Ubuntu Pro is not available for this release.

I am using the same machine and the same valid Ubuntu Pro account, so I am wondering if Ubuntu 26.04 is not yet officially supported, or if this is a bug.

Has anyone else seen this issue.

Thanks.

Moved to Support and Help

What does pro status return?

1 Like

By Ubuntu Pro, I mean the extended security updates and long-term maintenance benefits that come with a personal Ubuntu Pro subscription.

As far as I know, each personal account includes up to 5 machines, and I was using it without any issue on Ubuntu 24.

So this is not about activation in general — it worked correctly before. My confusion is that on Ubuntu 26 it now reports that this release is not eligible / supported.

That is why I am trying to understand whether Ubuntu 26 has not yet been added to Ubuntu Pro support, or if something has changed in policy / compatibility.

I have never used pro (with only 2 machines never really saw the need for it).

Hopefully someone else can answer but I suspect it is just too early right now immediately after release.

Sorry I am not able to offer a more definitive answer at this time.

1 Like

I think it’s just a Segurity Center Snap issue; it can’t quite detect whether you’re on Resolute yet. It should be fixed soon. In the meantime, you should be able to activate Ubuntu Pro using the old “Software & Updates” tool or via the terminal. I’m not at my PC, so I can’t confirm.

1 Like

On my Resolute I have Ubuntu Pro:

 corrado@corrado-n4-resolute:~$ inxi -Sc
System:
  Host: corrado-n4-resolute Kernel: 7.0.0-14-generic arch: x86_64 bits: 64
  Desktop: GNOME v: 50.1 Distro: Ubuntu 26.04 (Resolute Raccoon)
corrado@corrado-n4-resolute:~$ pro status
SERVICE          ENTITLED  STATUS       DESCRIPTION
esm-apps         yes       enabled      Expanded Security Maintenance for Applications
esm-infra        yes       enabled      Expanded Security Maintenance for Infrastructure
landscape        yes       disabled     Management and administration tool for Ubuntu
livepatch        yes       enabled      Canonical Livepatch service

For a list of all Ubuntu Pro services, run 'pro status --all'
Enable services with: pro enable <service>

     Account: corrado...@gmail.com
Subscription: Ubuntu Pro - free personal subscription
corrado@corrado-n4-resolute:~$ 


1 Like

I’ll share a screenshot later this evening when I get home.

On my system, Ubuntu Pro is currently inactive because it says this release cannot use Ubuntu Pro / is not supported for this version.

Just did a fresh install of 26.04 in a VM and it says the same thing in Security Center.

I guess we need to wait


It is a BUG of security center, I installed UbuntuPro from terminal giving my token:

corrado@corrado-n3-jammy:~$ sudo pro attach ... my token ...

I just submitted a bug: Security center says i don't have UbuntuPro - snap - snapcraft.io

5 Likes

Good to know, thanks for confirming.

As an aside, the number of machines should not inform that decision. If you want security support for packages in the Universe repository you want Ubuntu Pro:

Ever since Ubuntu’s initial release the lack of security support for Universe had been my personal number one on the list of its cons.

Plus, there is kernel live-patching, so one doesn’t need to reboot right away. But that’s more of a bonus in case of desktops, rather than a vital component.

1 Like

But that only concerns the auto-connect to the system-observe plug:

sudo snap connect desktop-security-center:system-observe

This rights the ship manually.

4 Likes

Can’t find the bug, but the issues is base-files didn’t get updated properly, so /etc/os-release is missing LTS from the VERSION string. This will get fixed soon.

in the meantime, yes, connecting via the CLI is a workaround

2 Likes

This one is the linked in @corradoventu’s bug report:

and it gave me the idea.

Does that mean, that 26.04 systems will still be falsely flagged as ineligible for Ubuntu Pro, despite above workaround? I have tested on 24.04 with the desktop-security-center snap, so that might explain why it works for me. I cannot test with 26.04, though. @corradoventu, can you?

But it looks like the next stage of the workaround could be a simple:

osr=/etc/os-release

if ! grep -Fq 'VERSION="26.04 LTS' "$osr"; then
    sudo sed -ri.bak 's/(^(VERSION="26.04)/\1 LTS/' "$osr"
fi
unset osr

(just had a peek at the base-files package and only the VERSION needs changing)

The above is a very condensed way of saying – and doing–, make a backup copy of /etc/os-release and edit the line in the original file that starts with “VERSION=” and insert a space character and “LTS” so it looks like this:

VERSION="26.04 LTS (Resolute Raccoon)"

That’s what the Ubuntu Pro client looks for. But don’t forget to connect the Desktop Security Center to the proper plug, afterwards.

the easiest workaround, till base-files is released, is to apply pro via the CLI. the above could do it, or just manually editing /etc/os-release to add the value. You’ll end up with a prompt on package upgrade of base-files asking about which file you want to keep (you’ll want to take the package version at that point).

So rather than worry about that file, if you need pro on day 1, until base-files is updated, CLI is easy. Sorry, i don’t really use the GUI for such things to know if you can enter the token regardless (i came to Ubuntu first as a sys admin, only using desktop after 5+ years of doing sys admin of Ubuntu from a MacOS laptop. it was that or Windows at $OLD_JOB for laptops)

2 Likes

Thank you for the replies.

I wanted to share a screenshot of the issue for better clarity.

In the Security Center, Ubuntu Pro shows the message:
“Ubuntu Pro is not available for this Ubuntu release”
and
“An LTS release is required for Ubuntu Pro.”

So at the moment, it does not allow activation through the graphical interface.

Based on this, do you think I should simply wait for an update / fix in the Security Center Snap, or would you recommend trying another method such as terminal activation?

I would appreciate your advice on the best approach.

I’ve updated my previous comment with some additional explanation. Combined with the one before that, you should be able to use the Desktop Security Center to attach your machine to your Ubuntu Pro subscription.

@peterwhite123 I edited my /etc/os-release to show VERSION=“26.04 LTS (Resolute Raccoon)” but desktop-security-center insists
image

You’ve left out the most vital step, connecting the desktop-security-center snap to the obersve-system plug. Consider the Security Center as having a blindfold on until you do that.

I can only remind people so often :wink:

Thanks for the suggestion, can confirm this alone fixes the problem. I guess its just a snap permission issue for the security center app. I could activate pro from the terminal using the token with no issues.

2 Likes