1
I’m unable to install apache2 on Ubuntu. I tried this command:
sudo apt-get install apache2 libapache2-mod-passenger
But returns the following error at the end of the installation:
Configurando libapache2-mod-passenger (4.0.37-2) ...
dpkg: error processing package libapache2-mod-passenger (--configure):
sub-processo script post-installation instalado retornou estado de saída de erro 1
Erros foram encontrados durante o processamento de:
libapache2-mod-passenger
E: Sub-process /usr/bin/dpkg returned an error code (1)
What I need to do? :\
Analyzing the terminal’s response, its problem is not in the installation of apache2 itself, but in the installation of libapache2-mod-Passenger. I believe that this material can be of great help in this mission, follow the link: https://www.phusionpassenger.com/library/install/apache/install/oss/trusty/
– Weslley Tavares
Thanks for your attention Weslley. The error has now changed. When I call: sudo apt-get install libapache2-mod-Passenger Returns the following: Configuring libapache2-mod-Passenger (4.0.37-2) ... apache2_invoke: Enable module Passenger Action 'configtest' failed. The Apache error log may have more information. apache2_reload: Your Configuration is Broken. Not restarting Apache 2
– anon
I was able to solve everything with the following command sequence: sudo apt-get clean && sudo apt-get autoclean && sudo apt-get autoremove && sudo apt-get update && sudo dpkg --configure -a && sudo apt-get install -f
– anon
In fact, I think it was this, because I tested many things.
– anon