package apache2-utils 2.4.29-1ubuntu4.5 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
upgrading packages resulted in the error.
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: apache2-utils 2.4.29-1ubuntu4.5
Uname: Linux 4.19.4-
ApportVersion: 2.20.9-0ubuntu7.5
AptOrdering:
apache2-
NULL: ConfigurePending
Architecture: amd64
Date: Tue Nov 27 11:34:24 2018
DpkgTerminalLog:
Preparing to unpack .../apache2-
Unpacking apache2-data (2.4.29-1ubuntu4.5) over (2.4.29-1ubuntu4.4) ...
[1mdpkg:[0m error processing package apache2-utils (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
ErrorMessage: package is in a very bad inconsistent state; you should reinstall it before attempting configuration
InstallationDate: Installed on 2018-04-27 (214 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
Python3Details: /usr/bin/python3.6, Python 3.6.7, python3-minimal, 3.6.7-1~18.04
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.0.5ubuntu2.1
apt 1.6.6
SourcePackage: apache2
Title: package apache2-utils 2.4.29-1ubuntu4.5 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting configuration
UpgradeStatus: No upgrade log present (probably fresh install)
Hi MH,
It looks like your existing apache installation was corrupted prior to your attempt to upgrade. Unfortunately there's not much in the logs that would help diagnose the problem. Did you have Apache running previously? If so, you may need to manually remove and reinstall it.
If you have other logs that can help track down the problem, please attach them.