Couldn't find package "libapache2-mod-proxy-html" Ubuntu 16.04

Foyzul Karim picture Foyzul Karim · Oct 26, 2016 · Viewed 14.3k times · Source

I want to install "libapache2-mod-proxy-html" package but When I want to install it, it gives me error. Just to check what are the available packages, I pressed tabs in the first command below.

devadmin@Dev-LinuxVM:/$ aptitude install -y libapache2-mod-proxy-

libapache2-mod-proxy-msrpc libapache2-mod-proxy-uwsgi-dbg libapache2-mod-proxy-uwsgi

devadmin@Dev-LinuxVM:/$ aptitude install -y libapache2-mod-proxy-html

Couldn't find any package whose name or description matched "libapache2-mod-proxy-html" Couldn't find any package whose name or description matched "libapache2-mod-proxy-html" No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used

I am using Ubuntu 16.04.1 LTS (xenial)

Answer

Giorgio Ruffa picture Giorgio Ruffa · Oct 26, 2016

libapache2-mod-proxy-html was a transitional package for apache2-bin.

Since the translation is completed it should be already included in the apache2-bin Xenial package. In fact you can find the mod_proxy_html.so file in the apache2-bin file list (Xenial).

My guess is that the command

a2enmod proxy_html

should solve the issue.

As a final note: you should probably post the question on askubuntu.