package apache2 2.4.52-1ubuntu4.4 failed to install/upgrade: o subprocesso instalado, do pacote apache2, o script post-installation retornou erro do status de saída 1

Bug #2017202 reported by Assis Cezar Estanislau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apache2 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

~$ sudo apt-get install apache2
Lendo listas de pacotes... Pronto
Construindo árvore de dependências... Pronto
Lendo informação de estado... Pronto
Pacotes sugeridos:
  apache2-doc apache2-suexec-pristine | apache2-suexec-custom
Os NOVOS pacotes a seguir serão instalados:
  apache2
0 pacotes atualizados, 1 pacotes novos instalados, 0 a serem removidos e 1 não atualizados.
É preciso baixar 97,8 kB de arquivos.
Depois desta operação, 546 kB adicionais de espaço em disco serão usados.
Obter:1 http://br.archive.ubuntu.com/ubuntu jammy-updates/main amd64 apache2 amd64 2.4.52-1ubuntu4.4 [97,8 kB]
Baixados 97,8 kB em 0s (659 kB/s)
A seleccionar pacote anteriormente não seleccionado apache2.
(Lendo banco de dados ... 237275 ficheiros e directórios actualmente instalados.)
A preparar para desempacotar .../apache2_2.4.52-1ubuntu4.4_amd64.deb ...
A descompactar apache2 (2.4.52-1ubuntu4.4) ...
Configurando apache2 (2.4.52-1ubuntu4.4) ...
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
A processar 'triggers' para man-db (2.10.2-1) ...
A processar 'triggers' para ufw (0.36.1-4build1) ...
Erros foram encontrados durante o processamento de:
 apache2
E: Sub-process /usr/bin/dpkg returned an error code (1)
~$

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: apache2 2.4.52-1ubuntu4.4
ProcVersionSignature: Ubuntu 5.19.0-40.41~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-40-generic x86_64
Apache2ConfdDirListing: False
Apache2Modules:
 Error: command ['/usr/sbin/apachectl', '-D DUMP_MODULES'] failed with exit code 127: /usr/sbin/apachectl: 208: /usr/sbin/apache2: not found
 Action '-D DUMP_MODULES' failed.
 The Apache error log may have more information.
ApportVersion: 2.20.11-0ubuntu82.4
AptOrdering:
 apache2:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Fri Apr 21 02:17:53 2023
ErrorMessage: o subprocesso instalado, do pacote apache2, o script post-installation retornou erro do status de saída 1
InstallationDate: Installed on 2022-12-12 (130 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.1
 apt 2.4.9
SourcePackage: apache2
Title: package apache2 2.4.52-1ubuntu4.4 failed to install/upgrade: o subprocesso instalado, do pacote apache2, o script post-installation retornou erro do status de saída 1
UpgradeStatus: Upgraded to jammy on 2022-12-26 (116 days ago)
error.log: Error: [Errno 2] Arquivo ou diretório inexistente: '/var/log/apache2/error.log'

Revision history for this message
Assis Cezar Estanislau (assiscezarubuntu) wrote :
Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

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

If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community

Or if you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem, 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.

Changed in apache2 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for apache2 (Ubuntu) because there has been no activity for 60 days.]

Changed in apache2 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.