Return to site

E Package Apache2 Has No Installation Candidate

broken image
broken image

In such a situation, you have to add a 3rd party repository to your /etc/apt/sources.list file and install the package, however, try such repositories at your own risk. If isn’t fixed, check point #2 below.Ģ) The package itself isn’t available on the official Ubuntu repository.

broken image

# apt-get update # apt-get upgrade # apt-get install So, the above error occurs for 2 reasons:Ī quick fix is to update the APT’s database as per the defined sources list. I have preformed the command sudo apt-get -f install, apt-get update and apt-get update & apt-cache search kali-linux successfully but it still does. This may mean that the package is missing, has been obsoleted, orĮ: Package has no installation candidate . This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libappindicator1' has no installation candidate This happens with all packages. Package aptitude is not available, but is referred to by another package. If the package name does not exist in APT’s database, it does not have any idea what you are trying to install and you see the following error message: # apt-get install It then download the package from that repository and installs it. When you try to install a package using apt-get, APT searches it’s own database for the package name, if the package is available in the database, then it looks for the repository from where to download the package.