This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package openssh-server has no installation candidate.
#LINUX LIBAPACHE2 MOD PHP5 HAS NO INSTALLATION CANDIDATE INSTALL#
I have done the apt-get update & apt-get upgrade. This occurs when following the second sudo apt-get install apache2 mysql-server mysql-client php5 libapache2-mod-php5 php5-mysql php5-curl php-pear php5-dev php5-mcrypt php5-json.
E: Package libapache2-mod-php5 has no installation candidate. E: Package php5 has no installation candidate. N: Couldn't find any package by glob 'php7. This may mean that the package is missing, has been obsoleted, or. Here is an example: Here is an example: Step 9/177 : RUN apt-get install -y php5-common -> Running in 8eb9555275bc Reading package lists. N: Unable to locate package php7.2-mbstring Basically has no installation candidate for almost all modules I was using. N: Couldn't find any package by glob apt policy libapache2-mod-php7.2 This may mean that the package is missing, has been obsoleted, or is only available from another source. Package libapache2-mod-fastcgi is not available, but is referred to by another package. E: Package 'libapache2-mod-fastcgi' has no installation candidate. N: Couldn't find any package by glob apt policy php7.2 apt-get install libapache2-mod-fastcgi php5-fpm. I tried apt policy for a couple of them and this is what I got. Package php7.2-common is not available, but is referred to by another package.Į: Couldn't find any package by glob 'php7.2'Į: Package 'libapache2-mod-php7.2' has no installation candidateĮ: Package 'php7.2-common' has no installation candidateĮ: Unable to locate package php7.2-mbstringĮ: Couldn't find any package by glob 'php7.2-mbstring'Į: Unable to locate package php7.2-xmlrpcĮ: Couldn't find any package by glob 'php7.2-xmlrpc'Į: Couldn't find any package by glob 'php7.2-soap'Į: Package 'php-smbclient' has no installation candidateĮ: Couldn't find any package by glob 'php7.2-ldap'Į: Couldn't find any package by glob 'php7.2-gd'Į: Couldn't find any package by glob 'php7.2-xml'Į: Couldn't find any package by glob 'php7.2-intl'Į: Couldn't find any package by glob 'php7.2-json'Į: Couldn't find any package by glob 'php7.2-mysql'Į: Couldn't find any package by glob 'php7.2-cli'Į: Couldn't find any package by glob 'php7.2-zip'Į: Couldn't find any package by glob 'php7.2-curl' Package php-smbclient is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or Package libapache2-mod-php7.2 is not available, but is referred to by another package. sudo apt install php7.2 libapache2-mod-php7.2 php7.2-common php7.2-mbstring php7.2-xmlrpc php7.2-soap php-apcu php-smbclient php7.2-ldap php-redis php7.2-gd php7.2-xml php7.2-intl php7.2-json php-imagick php7.2-mysql php7.2-cli php7.2-ldap php7.2-zip php7.2-curl Sorry about that,this is what I'm getting when attempting to install the following packages, any inputs will be much appreciated.