Fixing Cannot add PPA: ''This PPA does not support jammy'' Error

Trying to add a PPA and getting the "Cannot add PPA: 'This PPA does not support" error in Ubuntu? Here's what to do about this error.
Warp Terminal

So, here's the scenario. You are trying to install a software in Ubuntu using a PPA.

You add the PPA repository with 'sudo add-apt-repository' and when it updates the package cache, it generates an error:

Cannot add PPA: ''This PPA does not support xyz''

Where XYZ is the codename of the Ubuntu version you are using.

πŸ“‹
Here's why it is happening and what you can do about it:

- The PPA is not available for the Ubuntu version you are using
- You should look for other sources for installing that application
- If desperate, you can download the .deb file from the PPA webpage

I'll discuss all the above in detail.

Check if PPA is available for your Ubuntu version or not

First thing first, get the details of your Ubuntu version and codename using this command in the terminal:

lsb_release -a

The output will have the details:

Getting Ubuntu version details
Here, I am using Ubuntu version 23.04 that case codename lunar

Now, go to Ubuntu's Launchpad website that hosts all the PPAs:

Here, look for the PPA that is troubling you. For that you have to use the PPA maintainer's name.

For example, if ppa:jstaf/onedriver is causing trouble, search for the maintainer jstaf.

Search for PPA on Launchpad
Enter the PPA's maintainer name and search for it

A maintainer may have more than one software repository. Click on the one you wanted to install.

In here, you should click on the "Any Series" dropdown button besides "Published in".

Click on Any series dropdown button to see the supported Ubuntu versions

Check if you see the codename of the Ubuntu version you are using. If it's not there, the PPA is not available for your Ubuntu version.

What should you do if the PPA does not support your Ubuntu version

You see, a developer (or maintainer) creates a repository and makes the software available for the Ubuntu version they were using.

With time, Ubuntu releases newer versions. Now, an active maintainer will release the software for the new Ubuntu version. But that's not always the case. If the maintainer is not active anymore, the repository won't be updated. People like you who were trying to follow a tutorial instruction will see this error.

Now, you have two options:

Option 1: Look for the software elsewhere

There are several possibilities here.

The same software might be available for newer Ubuntu versions from another PPA. Look for it on Launchpad website or the internet.

How does it happen? Many original software developers just release the source code so some volunteers create the Debian package and distribute it from the launchpad so that Ubuntu users like you can install the software easily. More than one volunteer can create their own personal package archive (PPA) for the same software. You should use the active ones.

For example, if I looked for onedriver package, I can see that it might be available in another PPA named Ubuntu deployment.

Another option is to see if the package is available in other formats like Snap, Flatpak, AppImage.

In some rare cases, the software may already be available in the Ubuntu repository.

For this, you have to be a smart user and search the internet. If you find another package format, well and good. Otherwise, the next step is for desperation.

Option 2: Download the deb file from the PPA

The PPA repositories provide you the Debian package. With the repository added, you also get updates (if any), directly with the system updates.

If the PPA is not updated for your Ubuntu version and you cannot find the software elsewhere, you can try downloading the deb package from the PPA Launchpad page.

Checking PPA package details

On the package details page, click on the carrot symbol and look for the deb files. Unless you are using a Raspberry Pi like board, you should go for amd64.

Download deb from PPA
Download deb package from PPA
🚧
If the software is too old, the downloaded deb package may not be installed successfully due to dependency issues. Also, you won't get updates on the installed packages (if it gets installed). Still, the method is worth giving a try.

Conclusion

Despite all the push behind Snap packaging, PPAs still remain a favourite among users for installing third-party applications in Ubuntu.

But PPAs have their fair share of trouble, and this cannot add PPA error is one of them. The same issue also causes 'repository does not have release file' error.

I suggest reading this beginner's guide that answers so many questions about PPA.

PPA in Ubuntu Linux [Definitive Guide]
An in-depth article that covers almost all the questions around using PPA in Ubuntu and other Linux distributions.

I hope things are more clear on the issue now. Please let me know if you still have questions.

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries πŸ•΅οΈβ€β™‚οΈ

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

itsfoss happy penguin

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.