package snapd 2.32.5+18.04 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 | |
---|---|---|---|---|---|
snapd |
Expired
|
Undecided
|
Unassigned | ||
snapd (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Error occurred while installing the package from Terminal
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: snapd 2.32.5+18.04
ProcVersionSign
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
AptOrdering:
net-tools:amd64: Install
NULL: ConfigurePending
Architecture: amd64
Date: Wed May 30 12:17:06 2018
DpkgTerminalLog:
Preparing to unpack .../net-
Unpacking net-tools (1.60+git201611
[1mdpkg:[0m error processing package snapd (--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-05-29 (0 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /root/Error: command ['which', 'python'] failed with exit code 1:, Error: [Errno 2] No such file or directory: "/root/Error: command ['which', 'python'] failed with exit code 1:": "/root/Error: command ['which', 'python'] failed with exit code 1:", unpackaged
RelatedPackageV
dpkg 1.19.0.5ubuntu2
apt 1.6.1
SourcePackage: snapd
Title: package snapd 2.32.5+18.04 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)
This looks like the dpkg database got corrupted, could you please try:
sudo dpkg --purge snapd
and see if that helps?