How to Fix the “No Installation Candidate” Problem in Ubuntu

You’ve attempted to mount something, yet Ubuntu can’t lugging it onboard. APT claims something about “No Setup Contestant.” What lugs out this intermittent, what’s the source of the woe, and is it fixable? Listed below are some medians you can improvement it.
Table of Textiles
- What lugs out “Package possesses zero installation candidate” intermittent?
- Troubleshooting “No Setup Contestant” in Ubuntu
- Modernize and Upgrade Your Unit
- Consist of a Finally Celebration Repository
- Supply Sure Your Ubuntu Difference Is Stabilized
- Try a Unlike Setup Means
- Oftentimes Asked Misgivings
What lugs out “Package possesses zero installation candidate” intermittent?
If you attempt to mount a package that APT lugs out not come to be aware how to mount, it will unquestionably vivacious you it’s incapable to position it. This can happen if you mistype the name of a package or attempt to mount an task that is not in the default repository.
There’s alike another husk of absent packages: APT can’t position it in its usual place yet comes to be aware it exists since another package referrals it. In some instances, you refuge’t permitted the necessary repository (select cosmos or multiverse), so APT lugs out not have lessen of access to that software task. In opposite other sheaths, the package could singular be comfortably accessible using a 3rd-gathering PPA or could not embrace your gizmo’s architecture.

For instance, in more current Ubuntu differences, some packages repetitively made make make usage of of of in elder jobs or tutorials – such as python-pip (for Python 2), ruby, or php5, are deprecated or brought rid of from the default repositories. This, in turn, can wreak challenges when devising up heritage ecosystems or adhering to dated instructions that think these old packages are still comfortably accessible.
Troubleshooting “No Setup Contestant” in Ubuntu
Ubuntu package monikers are unbelievely fussy, and even a slight poor glide, select absent a dash or grossing make make usage of of of the rotten incarnation digit, can accumulate challenges. In yesteryear scuba into sophisticated handling, smartly recheck the package name you gleaned in. It could show up visible, yet a singular mistyped letter can administer an APT hunt for a nonexistent package.
If you’re dubious of the precise name, make make usage of of the apt search
command to hunt for equal package monikers. For instance, if you’re gazing for the Flameshot screenshot gizmo yet don’t come to be aware the meticulous package name, sprinted this:
apt search flameshot

If the output package list is also beefy, you can alike slim down the expire results using this:
apt search "^PACKAGE_NAME*"
This command lists all packages boosting using PACKAGE_NAME. If you replace PACKAGE_NAME using Firefox, you’ll investigate all packages overture using Firefox. You could position an all natural to what you last word. If nothing shows up, the package could not be in your repositories or could have a dissimilar name.
Modernize and Upgrade Your Unit
Prelude by surveying whether the last modernize/upgrade you implemented brought rid of the package. You don’t have to hunt it down in cryptic logs, and singular ought to modernize and upgrade your gizmo to avail the latest differences of your sported software task. To modernize the APT’s documents source, make make usage of of this:
sudo apt update && sudo apt upgrade

This woe ensues taking into reflection that APT lugs out not subconsciously dissect whether your municipal repository is presently in sync using the upstream remote. Whenever your machine retrieves behind using modernizes, any kind of ascertained remote associations will unquestionably reprieve and accumulate a No Setup Contestant poor glide.
Once your gizmo is up-to-day, you can without stalemate mount any kind of package that is comfortably accessible in your default repository.
Consist of a Finally Celebration Repository
If that didn’t job, you’ll probably position the fussy package in a presently unlisted repository. You singular have to position and add it to your assignment’s software task sources.
The Net is your buddy in searching for the absent repository. For instance, you can plagiarise your desired gizmo Exclusive Package Archive (PPA) associations from its sites to entail its repositories in your municipal Apt instance.
Once situated, you can add the repository to Ubuntu using the command:
sudo add-apt-repository REPOSITORY_PPA
Revive your municipal Apt instance to entail all the packages from the brand-newfangled repository. To execute this, sprinted the adhering to command:
sudo apt update && sudo apt upgrade
Evaluate your software task sources (repositories)
If overhauling and adding PPA didn’t address the woe, the next feedbacks is to dissect if the relevant repositories are permitted. Ubuntu retrieves its software task from opposite sources, select purposeful, cosmos, multiverse, and constricted. Some packages, specifically less intermittent ones, are singular comfortably accessible if you make it viable for these sources.
To dissect and make it viable for them, responsive Software & Modernizes from your task’s nutrition selection. Attend the Ubuntu Software tab and administer sure all companies (purposeful, cosmos, constricted, multiverse) are investigated.

Click Cozy, after that reload your package list using:
sudo apt update
You can alike make it viable for repositories grossing make make usage of of of the incurable. For instance:
sudo add-apt-repository universe
sudo add-apt-repository multiverse
sudo add-apt-repository restricted
sudo apt update
This makes certain you’ve got lessen of access to the complete conglomeration of comfortably accessible packages. These repositories contain thousands of secondary packages not established in the purposeful repository. The Universes repository requires metropolitan-retained responsive-source software task, while Multiverse has software task that could have licensing limitations.
Supply Sure Your Ubuntu Difference Is Stabilized
If you’re running an old or in need of advice incarnation of Ubuntu, some packages could be absent or have been brought rid of from the repositories. To dissect your Ubuntu incarnation, sprinted:
lsb_release -a

If your incarnation is zero longer sustained, contemplate overhauling to a more current emancipate. Unsupported differences don’t avail modernizes or brand-newfangled packages, so you’ll sprinted into more and more challenges over time.
In some instances, more current Ubuntu differences have dissimilar package monikers for the super same software task. For instance, the Python in elder differences could now be Python3 in more current ones. The software task’s intrinsically the super same, yet the packaging conventions have evolved.
Try a Unlike Setup Means
If all else fails, you can repetitively mount software task grossing make make usage of of of an all natural global package boss select Snap or Flatpak. Snap and Flatpak are global package formats that job throughout Linux provisions.
Setup via Snap is equal to APT, select this:
sudo snap install <package_name>
Singularly, in act to mount grossing make make usage of of of Flatpak, you have to initially sported Flatpak. After that, you can merely make make usage of of a one-liner command to mount any kind of gizmo it bargains.
Alternatively, you can download the software task nondiscriminatory from the creator’s web website and adhere to their installation instructions. Some founders decision Debian packages nondiscriminatory. Download the .deborah file from the official website and mount it using:
sudo apt install ./package_file.deb
For responsive-source software task, you could ought to, download the source code, extract it, after that sprinted:
./configure
make
sudo make install
Bear in mind that compiling from source can accumulate tragic challenges using dependences, so be meticulous.
Oftentimes Asked Misgivings
Is it plausible to position a list of comfortably accessible PPAs for Ubuntu?
Of training course! While there is zero appeared-in gizmo for list all comfortably accessible PPAs, Given permits users to upload niceties about their noncombatant repositories using Launchpad. You can hunt for the name of either the package or repository that you are gazing for. Run sudo add-apt-repository
along using the Launchpad internet affiliation to add a fussy repository to your Ubuntu gizmo, after that reinvigorate Apt by running sudo apt update
.
Execute note that taking into reflection that Launchpad has borrower-submitted repositories, you ought to confirm the morality of any kind of of its packages and repositories that you will unquestionably add to your machine.
Ubuntu did not add my tradition repository during an modernize. What am I performing rotten?
This is largely likely due to a absent fulcra from the repository you are attempting to add. By default, Ubuntu consumptions apt-fulcra to confirm every repository for investigated packages, containing the appeared-in Given repositories and any kind of 3rd-gathering PPAs from Launchpad. This lugs out not apply to any kind of non-Given and Launchpad repository, so you ought to initially position the official signing fulcra for the repository you are attempting to add.
I am grossing make make usage of of of Ubuntu LTS and retrieving a “zero installation candidate” poor glide. Is my gizmo breached?
No! A “zero installation candidate” poor glide can alike happen if you are attempting to mount a package that is singular comfortably accessible to a later incarnation of Ubuntu. One way to address this woe is by grossing make make usage of of of Ubuntu backport, a momentous repository whereby users can submit and retain an up-to-day incarnation of a package for elder differences of Ubuntu. It can be valuable if an upgrade is unrequested, yet the latest software task is necessary. You can mount a package using backports by grossing make make usage of of of the -t
selection in apt heeded by the name of your Ubuntu incarnation and “-backports.”