package apache2 2.4.10-1ubuntu1.1 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Utilizei o seguinte código e me retornou com esse erro no pacote
sudo apt-get install apache2
ProblemType: Package
DistroRelease: Ubuntu 14.10
Package: apache2 2.4.10-1ubuntu1.1
ProcVersionSign
Uname: Linux 3.16.0-28-generic x86_64
Apache2ConfdDir
ApportVersion: 2.14.7-0ubuntu8.2
Architecture: amd64
Date: Wed Mar 25 15:19:09 2015
DuplicateSignature: package:
ErrorMessage: sub-processo script post-installation instalado retornou estado de saída de erro 1
InstallationDate: Installed on 2014-11-28 (117 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
SourcePackage: apache2
Title: package apache2 2.4.10-1ubuntu1.1 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1
UpgradeStatus: Upgraded to utopic on 2014-12-02 (113 days ago)
error.log:
tags: | removed: need-duplicate-check |
Hi,
there seems to be a stale file not belonging to the packaged content in /etc/init.d/ that pretends to provide the service apache2.
On upgrading apache it detects that conflict.
Removing this file whatever it is should get your upgrade working - marking the bug as invalid.
Sorry it took so long to look deeper at it, newer versions like Wily and upcoming Xenial won't use/need that init script insserv anyway as the will use systemd.
Please feel free to reopen if you can reproduce on a newer system - and thank you for reporting and by that making Ubuntu better.