Comment 2 for bug 1945295

Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Thank you for taking the time to file a bug report.

I looked at the log files you attached to the bug, and the following error message caught my attention:

Configurando apache2 (2.4.41-4ubuntu3.5) ...
Enabling module mpm_event.
cp: não foi possível obter estado de '/usr/share/apache2/default-site/index.html': Arquivo ou diretório inexistente
dpkg: erro ao processar o pacote apache2 (--configure):
 o subprocesso instalado, do pacote apache2, o script post-installation retornou erro do status de saída 1

This means that apache2 was expecting to find /usr/share/apache2/default-site/index.html in order to properly copy it over somehwere, but could not find it. Now, it is really strange that this file is missing: it is part of the apache2-data package, which (according to your logs) is properly installed in your system. The only thing I can think of is that you may have inadvertently removed this file by hand, causing the installation of apache2 to fail. If you would like to reinstall the package, you can do the following:

# apt install --reinstall apache2-data

Otherwise, if you don't agree with my analysis, please provide more instructions/information so that we can try to reproduce the issue here.

Since it seems likely to me that this is a local configuration problem,
rather than a bug in Ubuntu, I am marking this bug as 'Incomplete'.

However, if you believe that this is really a bug in Ubuntu, then we would
be grateful if you would provide a more complete description of the problem
with steps to reproduce, explain why you believe this is a bug in Ubuntu
rather than a problem specific to your system, and then change the bug
status back to "New".

For local configuration issues, you can find assistance here:
http://www.ubuntu.com/support/community