E Package Apache2 Has No Installation Candidate Dashboard

25.02.2019

Got error E: Package 'apache2' has no installation candidate while installing apache2 with sudo apt-get install apache2 on Ubuntu 17.10. Here is the message displayed on terminal. Sudo apt-get install apache2 Reading package lists. Done Building dependency tree Reading state information. Done Package apache2 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 'apache2' has no installation candidate Message after apt-cache policy apache2 command.

  1. Openssh-server Has No Installation Candidate

Sudo apt-get install apache2 apache2. Package libapache2-mod-fastcgi is not available. Package 'libapache2-mod-fastcgi' has no installation candidate. E: Package has no installation candidate. Up vote 2 down vote favorite. Done Package apache2 is not available, but is referred to by another package. Sudo apt-get install apache2 apache2-utils. Package libapache2-mod-fastcgi is not. Package 'libapache2-mod-fastcgi' has no installation candidate. Done Package apache2 is not available. Package ‘apache2’ has no installation candidate. I386 E: Package 'apache2' has no installation candidate.

Usually in this case one would recommend just reinstalling, but since I had another raspbian distro installed that I could reference, I was able to compare the two /var/lib/apt/lists directories and see which file was half complete. In my case it was mirrordirector.raspbian.org_raspbian_dists_stretch_main_binary-armhf_Packages as it was only abound 2MB in size of the 60MB that is should be. I simply deleted that file and then ran apt-get update again. I would only recommend this as a last resort as you could end up corrupting your system. For me, it saved me about an hour of time reinstalling.

OwnCloud provides data access using web interface. It also provides options to sync and share across devices—all under your control. Using ownCloud we can easily implement restrictions on file (ACLs) per user. OwnCloud provides its desktop clients (Windows, MAC, Linux) as well as mobile apps (Android and iPhone) to keep our data sync on your device. This tutorial will help you to install ownCloud 10 on Ubuntu 18.04 LTS & 16.04 LTS systems. Step 1 – Install LAMP Server To start setup with ownCloud, we first need to set up a running LAMP server. If you have already running LAMP stack skip this step else use followings commands to set up the LAMP on Ubuntu system.

Openssh-server Has No Installation Candidate

Sudo apt update sudo apt install apache2.

For me, it saved me about an hour of time reinstalling.

If you aren't using a 2/3, or the package doesn't work/won't install, use armel, on which Raspbian is based. You'll see the various architectures listed on the second line of each search result hit next to the version number; all is synonymous with 'any' otherwise there will be a list such as 'amd64 arm64 armel armhf i386.' – Jun 26 '16 at 16:05. Today I ran into this problem because the power supply I was trying to use failed half way through a package update. This resulted in a corrupted package file in /var/lib/apt/lists that was half downloaded. I ended up getting the same 'Package has no installation candidate' error for any package I didn't already have installed.

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. Update the list of available software and install apache2. Sudo apt update sudo apt install apache2.

I’m moving on to the step of actually installing OwnCloud, but I’ve got the SSL working and phpmyadmin set up (haven’t tried accessing https from outside my home network – which gave me a hang-up on previous attempts! Anyway, you can see the tutorial here: •. Forgot to say: 1) On the step with the heading, “Installing MariaDB as MySQL replacement,” DO NOT follow the instructions to press Enter when you see the prompt, “Enter current password for root (enter for none):,” and the instructions are given, “. I’ve been having a problem installing owncloud on Mint 17.3. I followed the steps without a problem up until $ sudo chown -R apache.apache owncloud —> I get invalid user I skipped the step as it wasn’t working for me. I continued on and when I try to start my cloud server I get the message “Can’t write into config directory! This can usually be fixed by giving the webserver write access to the config directory.” Any help would be appreciated.

Fix for postfix, ntpdate After searching the web for a while, I found the correct software. There is a program called gdebi that installs the packages with the dependencies, so that will be installed when you run the following script/s alongside (hopefully) nap, ntpdate, and postfix.

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. Update the list of available software and install apache2. Sudo apt update sudo apt install apache2.

The Debian maintainers note that: If you do not need non-standard document root or userdir settings, it is recommended that you use the standard suexec helper program from the apache2-suexec-pristine package instead.

You'll see the various architectures listed on the second line of each search result hit next to the version number; all is synonymous with 'any' otherwise there will be a list such as 'amd64 arm64 armel armhf i386.' – Jun 26 '16 at 16:05. Today I ran into this problem because the power supply I was trying to use failed half way through a package update. This resulted in a corrupted package file in /var/lib/apt/lists that was half downloaded.

E Package Apache2 Has No Installation Candidate Dashboard

Hello, I apologise in advance for asking for advice on what most of you will no doubt regard as simple and obvious. My field is autism, not IT but I like to have some understanding of what people are doing for me hence I dabble in aspects of IT! I am developing an understanding of Ubuntu, webservers etc. With the objective of being able to set up and run Open Journal Systems journal hosting software myself, before handing the task to a hosting operation. I have an apache webserver running on Ubuntu in an Oracle VM VirtualBox virtual machine.

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. Update the list of available software and install apache2. Sudo apt update sudo apt install apache2.

I was trying to do sudo apt-get install munin-memcached and I get this message: Reading package lists. Done Building dependency tree Reading state information. Done Package munin-memcached 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 munin-memcached has no installation candidate I googled for the problem and someone said to do a apt-get upgrade but it still did not solve my problem. This happens when you try to install a package about which APT does not have any idea. When you add software sources, you need to do an apt-get update so that your system APT's database is updated with all the packages on the repositories listed in the software sources lists.

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. 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.

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.

The main problem is missed /etc/apt/sources.list. You can recreate it with: cat.

Then when you try to install any package, APT checks the package name in it's database, finds it and checks the name of the repo from where it got it. It then downloads the package from that repo. This means of all the repositories listed in your software sources, none of them have the package named munin-memcached. I checked again and it is not available in official Ubuntu repos. After a bit of googling I found that it is available in this PPA: Add this PPA and install the packages at your own risk. I do not know this person. Clave para activar windows vista tm compilacion 6000.

I don't know what I did but I'm not able to install apache2 in my Ubuntu 14.04. When I use sudo apt-get install apache2 I face this error. Reading package lists. Done Building dependency tree Reading state information. Done Package apache2 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 However the following packages replace it: libapache2-mpm-itk:i386 libapache2-mpm-itk E: Package 'apache2' has no installation candidate.

This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. To receive this Complete Guide absolutely free. Hi everyone i'm trying to install apache on Ubuntu 10.10 and getting this: root@lamis-D2151-A1:~# sudo apt-get install apache2 Reading package lists. Done Building dependency tree Reading state information. Done E: Unable to locate package apache2 root@lamis-D2151-A1:~# apt-cache search apache libssl0.9.8 - SSL shared libraries librpc-xml-perl - Perl module implementation of XML-RPC couchdb-bin - RESTful document oriented database, programs libdotconf1.0 - Configuration file parser library - runtime files python-couchdb - library for working with Apache CouchDB nano - small, friendly text editor inspired by Pico evolution-couchdb - Evolution support for CouchDB databases libcouchdb-glib-1.0-2 - GLib-based API for CouchDB root@lamis-D2151-A1:~# sudo apt-get install ethtool Reading package lists.

Try running 'sudo apt-get nap' and see if that works. Free download opera mini handler for windows 7 Run the following commands: sudo apt-get install gdebi cd ~/Downloads wget wget sudo gdebi ntpdate_4.2.6.p5+dfsg-7+deb8u1_armhf.deb sudo gdebi postfix_2.11.3-1_armhf.deb I read through some of the comments and I noticed @goldilocks said to use armel, so if you get errors, try the following: sudo apt-get install gdebi cd ~/Downloads wget wget sudo gdebi ntpdate_4.2.6.p5+dfsg-7+deb8u1_armel.deb sudo gdebi postfix_2.11.3-1_armel.deb. ' armhf' is Debian's name for the ARMv7 architecture, which is usable on the Pi 2 or 3 (although those packages may or may not work within Raspbian). You can search for that stuff.

Comments are closed.