E Package Apache2 Has No Installation Candidate

broken image

Got error E: Package 'apache2' has no installation candidate while installing apache2 with sudo apt-get install apache2 on Ubuntu 17.10. To register your Save to File purchase using the swift executable, call Swift with the '-reg-filewrite' switch. You will be prompted to enter your name, your company name, and then the activation key. Once Cepstral Tools is open click on the 'Activation Keys' tab and enter your registration information and activation key exactly as it appears in the email. Method #2: Alternatively, you can enter your activation key using the command-line Swift utility with the Windows command prompt (located at 'Start Menu' -> 'Run' -> type 'cmd' then hit Enter). All this error was encountered after I updated my 15.10 Ubuntu to 16.04. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'php5' has no installation candidate I have tried reinstalling but it does not help. Done Package php5 is not available, but is referred to by another package.

broken image

Done Building dependency tree Reading state information.

broken image

When i try to install php5 in Ubuntu 16.04 by using following code: sudo apt-get install php5 php5-mcrypt I get following error: Reading package lists.