Public bug reported: ~$ 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' ** Affects: apache2 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package jammy third-party-packages -- You received this bug notification because you are a member of Ubuntu Server/Client Support Team, which is subscribed to apache2 in Ubuntu. Matching subscriptions: Ubuntu Server/Client Support Team https://bugs.launchpad.net/bugs/2017202 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/2017202/+subscriptions -- Mailing list: https://launchpad.net/~enterprise-support Post to : enterprise-support@lists.launchpad.net Unsubscribe : https://launchpad.net/~enterprise-support More help : https://help.launchpad.net/ListHelp