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
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-
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://
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_
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/
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
ProcVersionSign
Uname: Linux 5.19.0-40-generic x86_64
Apache2ConfdDir
Apache2Modules:
Error: command ['/usr/
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
CasperMD5CheckR
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/
PythonDetails: N/A
RelatedPackageV
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/
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.