E Package Apache2 Has No Installation Candidate Definition

Download Free Software Meyer Pecan Cracker Manual Arts. All the software sources in your /etc/apt/sources.list file that have the string wily (Ubuntu 15.10) in them are conflicting with your Ubuntu 14.04 software sources and preventing you from installing apache2. To fix this, preface each line that has the strings wily or xenial in it by a # character in order to turn it into a comment.

Edit the /etc/apt/sources.list file with nano text editor. Open the terminal and type: sudo nano /etc/apt/sources.list A standard sources.list file for Ubuntu 14.04 looks like this: deb trusty main restricted universe multiverse deb trusty-updates main restricted universe multiverse deb trusty-backports main restricted universe multiverse deb trusty-security main restricted universe multiverse deb trusty partner deb trusty main Every line in the above standard sources.list file has the string trusty in it because you are using Ubuntu 14.04. Adding repositories of other Ubuntu releases such as 15.10 or 16.04 to your Ubuntu 14.04 software sources is very bad package management. Nano editor keyboard shortcuts Use the keyboard combination Ctrl + O and after that press Enter to save the file to its current location. Use the keyboard combination Ctrl + X to exit nano.

First I did 'apt-get install apache' but failed (E: Package 'apache' has no installation candidate) Then I 'apt-get install apache2' which looked promising but later. Sudo apt-get install apache2 apache2-utils. Package libapache2-mod-fastcgi is not. Package 'libapache2-mod-fastcgi' has no installation candidate.

Package Apache 2 Has No Installation Candidate

Update the list of available software and install apache2. Sudo apt-get update sudo apt-get install apache2.

Package somePackage is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package somePackage has no installation candidate Extremely annoying and useless error that doesn’t tell you much on how to fix it.

Php5 Has No Installation Candidate

Fixing “Package packagename is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source. E: Package ‘ packagename‘ has no installation candidate” error However, this is rather eacy to fix. Just use the following command in any Debian based Linux Operation system such as Debian itself, Ubuntu, Kali Linux, Linux Mint etc. Sudo apt-get update && && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y && sudo apt-get install packagename (or) apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y && apt-get install packagename (where packagename refers to the package that failed to install in the first place) Once you’ve updated, upgraded, you should be able to install any packages without errors.

Download GPG Authentication Key Assuming you already have GPG (GnuPG) installed (most Linux distro these days have GPG pre-installed), you can download a copy of your Linux distributions official key. Kali Linux Use the following commands: (Source: Also thanks to user for pointing it out, Cheers). Pub 4096R /7D8D0BF6 2012-03-05 [expires: 2015-03-05 ] Key fingerprint = 44C6 513A 8E4F B3D3 0875 F758 ED44 4FF0 7D8D 0BF6 uid [ unknown ] Kali Linux Repository sub 4096R /FC0D0DCB 2012-03-05 [expires: 2015-03-05 ] You’re now set up to validate your Kali Linux download. Ubuntu Linux I have since tried this in an Ubuntu installation I had (I forgot to update it for a very long time). Error Samples: W: GPG error: jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6D975C4791E7EE5E W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5A9BF3BB4E5E17B5 W: GPG error: jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7FB8BEE0A1F196A8 W: Failed to fetch W: Some index files failed to download, they have been ignored, or old ones used instead. The fix for this is to re-download the keys using the hexidecimal numbers given in the error.