
Encountering the “No Installation Candidate” message while trying to install software on Ubuntu can be frustrating. This indicates that the APT package manager couldn’t identify the package you’ve requested. Understanding the root causes of this issue and the available solutions can save you time and effort. Let’s explore various methods to resolve the “No Installation Candidate” error.
What Does “No Installation Candidate” Mean?
The “No Installation Candidate” error appears when the APT package manager fails to locate the specified package in its repositories. This situation can arise due to multiple factors:
- Incorrect package name: A small typo can lead to APT searching for a nonexistent package.
- Package absence in the default repositories: Some applications are not included in the main or standard repositories.
- Disabled required repositories: Sometimes required repositories like ‘universe’ or ‘multiverse’ are not enabled, resulting in the unavailability of certain software.
- Architecture incompatibility: The package might be incompatible with your version of Ubuntu or system architecture.
For instance, if you’re trying to install deprecated packages like python-pip
for Python 2 in newer Ubuntu versions, they may not be available, leading to this error.

How to Fix the “No Installation Candidate”Error
Before delving into complex troubleshooting, it’s essential to ensure the package name is accurately typed. Even a minor mistake, like a missing dash or an incorrect version number, can lead to issues. Here’s how you can troubleshoot this error effectively:
1. Check the Package Name
When uncertain about the exact name, utilize the apt search
command to browse for similar packages. For example, if searching for the Flameshot screenshot tool:
apt search flameshot

Should your results be too extensive, you can refine your search:
apt search "^PACKAGE_NAME*"
This method will reveal all packages that start with the specified name, providing alternatives or confirming the package’s absence.
2. Update and Upgrade Your System
Begin by ensuring your APT database is up-to-date. Sometimes packages may not be visible due to an outdated local cache. To refresh your system, execute:
sudo apt update && sudo apt upgrade

This command syncs your local packages with the latest available versions from the repositories, potentially resolving the “No Installation Candidate” error by re-establishing access to packages.
3. Add a Third-Party Repository
If updating does not yield results, the required package may reside in a third-party repository. To add a PPA (Personal Package Archive), use the command:
sudo add-apt-repository REPOSITORY_PPA
After adding the repository, refresh APT once more to include the new packages:
sudo apt update && sudo apt upgrade
4. Check Your Software Sources (Repositories)
If the issue persists, verify that the necessary repositories are enabled. You can check this via the Software & Updates application:
- Open Software & Updates from your application menu.
- Navigate to the Ubuntu Software tab.
- Ensure options like ‘main’, ‘universe’, ‘restricted’, and ‘multiverse’ are checked.

Confirm the changes, then reload your package list with:
sudo apt update
5. Verify Ubuntu Version Support
Older or unsupported versions of Ubuntu may lack certain packages. Ensure your version is still supported by checking it with:
lsb_release -a

If your version is outdated, consider upgrading to a newer release for better package support and overall security.
6. Explore Alternative Installation Methods
If you’ve exhausted the above options, consider alternative package managers like Snap or Flatpak. They often offer software even if it isn’t available in the default repositories:
sudo snap install
For Flatpak, ensure it’s installed first, then use the straightforward command to fetch applications. As a last resort, directly download software from the developer’s site and follow their provided installation instructions, possibly involving the use of a.deb file:
sudo apt install./package_file.deb
For software that’s open-source and available in source code, consider downloading, extracting, and running:
./configure make sudo make install
However, tread carefully as dependency issues can arise from compiling from source.
Frequently Asked Questions
1. Where can I find a list of available PPAs for Ubuntu?
While there’s no single tool that lists all available PPAs, you can utilize Launchpad to search for repository or package names. After identifying a desired PPA, use the command sudo add-apt-repository
followed by the repository link to incorporate it into your system.
2. Why isn’t my custom repository being added to updates?
This issue could arise if the necessary GPG key for the repository isn’t installed. For security, Ubuntu uses apt-key
to validate repositories and their packages. Locate the official signing key for the respective repository to ensure it is added properly to your system.
3. Am I experiencing a system error with my LTS version if I get a “no installation candidate” error?
No, this could actually indicate that the package you’re attempting to install is designated for a later version of Ubuntu. Consider using the backports repository which maintains updated versions of software for older releases, allowing you to install the desired packages without having to upgrade your entire system.
Leave a Reply ▼