package libpq-dev 9.6.6-0ubuntu0.17.04 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting a removal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql-9.6 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Always I get this error when I start the program.
ProblemType: Package
DistroRelease: Ubuntu 17.04
Package: libpq-dev 9.6.6-0ubuntu0.
ProcVersionSign
Uname: Linux 4.10.0-
ApportVersion: 2.20.4-0ubuntu4.7
AptOrdering:
libpq-dev:amd64: Remove
NULL: ConfigurePending
Architecture: amd64
Date: Thu Nov 16 10:51:33 2017
DuplicateSignature:
package:
Unpacking apport-kde (2.20.4-0ubuntu4.7) over (2.20.4-0ubuntu4.5) ...
Log started: 2017-11-16 10:51:33
dpkg: error processing package libpq-dev (--remove):
package is in a very bad inconsistent state; you should
ErrorMessage: package is in a very bad inconsistent state; you should reinstall it before attempting a removal
InstallationDate: Installed on 2017-10-22 (24 days ago)
InstallationMedia: Ubuntu-Studio 17.04 "Zesty Zapus" - Release amd64 (20170412)
RelatedPackageV
dpkg 1.18.10ubuntu2
apt 1.4.6~17.04.1
SourcePackage: postgresql-9.6
Title: package libpq-dev 9.6.6-0ubuntu0.
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Hi,
none of the attached logs suggests that this is an issue in libpq-dev.
Instead it is a generic issue that can happen on I/O corruption (I hope not) or aborted package processing.
There is a good summary on askubuntu [1] about it that I'd recommend to follow.
I'll mark this bug as incomplete assuming you will resolve it with that and that it is more an issue on the configuration or status of your local system than Ubuntu.
If you think it is please set it back to new and explain why you think so. Any more debug information along that will help to find the root cause.
[1]: https:/ /askubuntu. com/questions/ 148715/ how-to- fix-package- is-in-a- very-bad- inconsistent- state-error