06-08-2020, 05:09 AM
Thanks to @HR .. i just follow all the steps and commands and got success. after this i got openssl version successfully.
LOVE FOR ALL HATRED FOR NONE
root@*************:~# apt-get install apache2 apache2-mpm-prefork apache2-utils libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libnet-daemon-perl libplrpc-perl libpq5 mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 php5-common php5-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php5-common 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
Package php5-mysql 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
Package mysql-client-5.5 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:
mariadb-server-core-10.1 mariadb-server-10.1 mariadb-client-10.1
Package mysql-server-5.5 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:
mariadb-server-10.1 mysql-common
Package libapache2-mod-php5 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: Unable to locate package apache2-mpm-prefork
E: Package 'libapache2-mod-php5' has no installation candidate
E: Unable to locate package libplrpc-perl
E: Package 'mysql-client-5.5' has no installation candidate
E: Package 'mysql-server-5.5' has no installation candidate
E: Package 'php5-common' has no installation candidate
E: Package 'php5-mysql' has no installation candidate
(06-09-2020, 07:10 AM)Manal Wrote: Do you specifically want to install php5, not php7?
Because by default, your OS version comes with PHP7 in its APT installer. I faced this issue too.
If you want to install php7, remove all php5-common or any other PHP packages. Just leave it with the numerical and it should automatically go for PHP 7.
root@kvm-Post2Host-LosAngeles:~# sudo apt install apache2
sudo: unable to resolve host kvm-Post2Host-LosAngeles: Name or service not known
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
g++-6 gnupg-agent libapache2-mod-php7.0 libdbus-glib-1-2 libicu57
libpython3.5-minimal libpython3.5-stdlib libstdc++-6-dev php7.0 php7.0-cli
php7.0-common php7.0-json php7.0-opcache php7.0-readline python3.5 python3.5-minimal
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
apache2-bin apache2-data apache2-utils curl libbrotli1 libcurl4
Suggested packages:
apache2-suexec-pristine | apache2-suexec-custom
The following packages will be REMOVED:
libcurl3
The following NEW packages will be installed:
libbrotli1 libcurl4
The following packages will be upgraded:
apache2 apache2-bin apache2-data apache2-utils curl
5 upgraded, 2 newly installed, 1 to remove and 22 not upgraded.
2 not fully installed or removed.
Need to get 2825 kB of archives.
After this operation, 1773 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://httpredir.debian.org/debian buster/main amd64 curl amd64 7.64.0-4+deb10u1 [264 kB]
Get:2 http://httpredir.debian.org/debian buster/main amd64 libcurl4 amd64 7.64.0-4+deb10u1 [331 kB]
Get:3 http://httpredir.debian.org/debian buster/main amd64 libbrotli1 amd64 1.0.7-2 [270 kB]
Get:4 http://httpredir.debian.org/debian buster/main amd64 apache2 amd64 2.4.38-3+deb10u3 [251 kB]
Get:5 http://httpredir.debian.org/debian buster/main amd64 apache2-bin amd64 2.4.38-3+deb10u3 [1307 kB]
Get:6 http://httpredir.debian.org/debian buster/main amd64 apache2-data all 2.4.38-3+deb10u3 [165 kB]
Get:7 http://httpredir.debian.org/debian buster/main amd64 apache2-utils amd64 2.4.38-3+deb10u3 [236 kB]
Fetched 2825 kB in 1s (1982 kB/s)
Reading changelogs... Done
(Reading database ... 47029 files and directories currently installed.)
Preparing to unpack .../curl_7.64.0-4+deb10u1_amd64.deb ...
Unpacking curl (7.64.0-4+deb10u1) over (7.52.1-5+deb9u10) ...
(Reading database ... 47026 files and directories currently installed.)
Removing libcurl3:amd64 (7.52.1-5+deb9u10) ...
Selecting previously unselected package libcurl4:amd64.
(Reading database ... 47020 files and directories currently installed.)
Preparing to unpack .../0-libcurl4_7.64.0-4+deb10u1_amd64.deb ...
Unpacking libcurl4:amd64 (7.64.0-4+deb10u1) ...
Selecting previously unselected package libbrotli1:amd64.
Preparing to unpack .../1-libbrotli1_1.0.7-2_amd64.deb ...
Unpacking libbrotli1:amd64 (1.0.7-2) ...
Preparing to unpack .../2-apache2_2.4.38-3+deb10u3_amd64.deb ...
Unpacking apache2 (2.4.38-3+deb10u3) over (2.4.25-3+deb9u9) ...
Preparing to unpack .../3-apache2-bin_2.4.38-3+deb10u3_amd64.deb ...
Unpacking apache2-bin (2.4.38-3+deb10u3) over (2.4.25-3+deb9u9) ...
Preparing to unpack .../4-apache2-data_2.4.38-3+deb10u3_all.deb ...
Unpacking apache2-data (2.4.38-3+deb10u3) over (2.4.25-3+deb9u9) ...
Preparing to unpack .../5-apache2-utils_2.4.38-3+deb10u3_amd64.deb ...
Unpacking apache2-utils (2.4.38-3+deb10u3) over (2.4.25-3+deb9u9) ...
Setting up libbrotli1:amd64 (1.0.7-2) ...
Setting up netfilter-persistent (1.0.11) ...
insserv: warning: script 'xtreamcodes' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `xtreamcodes'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `xtreamcodes'
Job for netfilter-persistent.service failed because the control process exited with error code.
See "systemctl status netfilter-persistent.service" and "journalctl -xe" for details.
invoke-rc.d: initscript netfilter-persistent, action "restart" failed.
● netfilter-persistent.service - netfilter persistent configuration
Loaded: loaded (/lib/systemd/system/netfilter-persistent.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2020-06-17 00:29:52 EDT; 13ms ago
Process: 22871 ExecStart=/usr/sbin/netfilter-persistent start (code=exited, status=1/FAILURE)
Main PID: 22871 (code=exited, status=1/FAILURE)
Jun 17 00:29:52 kvm-Post2Host-LosAngeles netfilter-persistent[22871]: run-parts: /usr/share/netfilter-persistent/plugins.d/15-ip4tables exited with return code 4
Jun 17 00:29:52 kvm-Post2Host-LosAngeles netfilter-persistent[22871]: run-parts: executing /usr/share/netfilter-persistent/plugins.d/25-ip6tables start
Jun 17 00:29:52 kvm-Post2Host-LosAngeles netfilter-persistent[22871]: ip6tables-restore v1.8.2 (nf_tables):
Jun 17 00:29:52 kvm-Post2Host-LosAngeles netfilter-persistent[22871]: line 3: CHAIN_UPDATE failed (No such file or directory): chain INPUT
Jun 17 00:29:52 kvm-Post2Host-LosAngeles netfilter-persistent[22871]: line 4: CHAIN_UPDATE failed (No such file or directory): chain FORWARD
Jun 17 00:29:52 kvm-Post2Host-LosAngeles netfilter-persistent[22871]: line 5: CHAIN_UPDATE failed (No such file or directory): chain OUTPUT
Jun 17 00:29:52 kvm-Post2Host-LosAngeles netfilter-persistent[22871]: run-parts: /usr/share/netfilter-persistent/plugins.d/25-ip6tables exited with return code 4
[b]Jun 17 00:29:52 kvm-Post2Host-LosAngeles systemd[1]: netfilter-persistent.service: Main process exited, code=exited, status=1/FAILURE[/b]
[b]Jun 17 00:29:52 kvm-Post2Host-LosAngeles systemd[1]: netfilter-persistent.service: Failed with result 'exit-code'.[/b]
J[b]un 17 00:29:52 kvm-Post2Host-LosAngeles systemd[1]: Failed to start netfilter persistent configuration.[/b]
[b]dpkg: error processing package netfilter-persistent (--configure):[/b]
[b] installed netfilter-persistent package post-installation script subprocess returned error exit status 1[/b]
Setting up libcurl4:amd64 (7.64.0-4+deb10u1) ...
Setting up apache2-data (2.4.38-3+deb10u3) ...
Setting up curl (7.64.0-4+deb10u1) ...
Setting up apache2-utils (2.4.38-3+deb10u3) ...
Setting up apache2-bin (2.4.38-3+deb10u3) ...
[b]dpkg: dependency problems prevent configuration of iptables-persistent:[/b]
iptables-persistent depends on netfilter-persistent (= 1.0.11); however:
Package netfilter-persistent is not configured yet.
[b]dpkg: error processing package iptables-persistent (--configure):[/b]
dependency problems - leaving unconfigured
Setting up apache2 (2.4.38-3+deb10u3) ...
Installing new version of config file /etc/apache2/mods-available/deflate.conf ...
Installing new version of config file /etc/apache2/mods-available/mime.conf ...
Installing new version of config file /etc/logrotate.d/apache2 ...
insserv: warning: script 'xtreamcodes' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `xtreamcodes'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `xtreamcodes'
insserv: warning: script 'xtreamcodes' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `xtreamcodes'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `xtreamcodes'
Processing triggers for systemd (241-7~deb10u4) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10) ...
[b]Errors were encountered while processing:[/b]
[b] netfilter-persistent[/b]
[b] iptables-persistent[/b]
/usr/bin/gdbus: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0: undefined symbol: g_date_copy
[b]E: Sub-process /usr/bin/dpkg returned an error code (1)[/b]
root@kvm-Post2Host-LosAngeles:~#