[Bug 1574144] Re: package openstack-dashboard-ubuntu-theme 2:9.0.0-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Corey Bryant
corey.bryant at canonical.com
Mon Jun 6 15:09:24 UTC 2016
Looking into this some more, the maintainer scripts are following the
Debian guidance for enabling config for Apache 2.4. For example, in
openstack-dashboard.postinst we have:
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
# apache 2.4
. /usr/share/apache2/apache2-maintscript-helper
apache2_invoke enconf $CONF || exit $?
elif ...
which follows the guidance from:
https://wiki.debian.org/Apache/PackagingFor24
This is intended to exit if the package's apache config can't be enabled
when the package is installed, which is the case when apache2 is not
running at package install time.
So we are doing the right thing to exit if config can't be enabled.
However I wonder if we could help alleviate this bug by attempting to
start apache2 if it's not already started. I'll consult with some
fellow package maintainers and see what they think.
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1574144
Title:
package openstack-dashboard-ubuntu-theme 2:9.0.0-0ubuntu2 failed to
install/upgrade: subprocess installed post-installation script
returned error exit status 1
Status in horizon package in Ubuntu:
Triaged
Bug description:
ı hate this bug and ubuntu theme always causing problems
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: openstack-dashboard-ubuntu-theme 2:9.0.0-0ubuntu2
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Sun Apr 24 05:19:10 2016
DuplicateSignature:
Setting up openstack-dashboard-ubuntu-theme (2:9.0.0-0ubuntu2) ...
Collecting and compressing static assets...
apache2.service is not active, cannot reload.
dpkg: error processing package openstack-dashboard-ubuntu-theme (--configure):
subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-04-23 (0 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
PackageArchitecture: all
RelatedPackageVersions:
dpkg 1.18.4ubuntu1
apt 1.2.10ubuntu1
SourcePackage: horizon
Title: package openstack-dashboard-ubuntu-theme 2:9.0.0-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1574144/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list